From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: Joel via ntg-context <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: Re: How to create multi-line headers and footers?
Date: Sun, 29 Jan 2023 22:17:50 +0100 [thread overview]
Message-ID: <216dc6ad-770a-e448-1a98-f31b1bb72621@fiee.net> (raw)
In-Reply-To: <1632837177.584660.1675012475510@mail.yahoo.com>
Am 29.01.23 um 18:14 schrieb Joel via ntg-context:
> I am creating a template for a 1-page newsletter.
>
> At the top of every page is a huge title, below which is a block with a
> brief introduction to the newsletter. The body is just 200-300 words
> each issue--I edit it such that all of the content fits on just
> one-side, one page. Finally, in the footer, is contact information and
> some other closing details.
>
> ======
> TITLE <-- big title
> ............ <-- introduction paragraph
> ............
> ======
> ----------
> ---------- <-- body text
> ----------
> ======
> ............ <-- message in footer
> ======
>
> I tried placing that all into a macro called "\introduction" then
> calling with this
>
> \setupheadertexts[\introduction]
Better use setups instead of a macros, like in
https://wiki.contextgarden.net/Headers_and_Footers
In setups, you must use explicit space commands, since whitespace
doesn’t matter.
> It seems when placing the macro inside \setupheadertexts, the text is
> reduced to a single line. Any code involving \frames{} doesn't seem to
> work normally. Its all compressed to a single line, then centered.
> How can I put a mult-line frame or multi-line text in the headers and
> footers?
MWE please.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2023-01-29 21:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1632837177.584660.1675012475510.ref@mail.yahoo.com>
2023-01-29 17:14 ` Joel via ntg-context
2023-01-29 21:17 ` Henning Hraban Ramm via ntg-context [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=216dc6ad-770a-e448-1a98-f31b1bb72621@fiee.net \
--to=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).