From: Willi Egger <context@boede.nl>
To: NTG-Context ConTeXt users <ntg-context@ntg.nl>
Subject: Filler rules
Date: Wed, 14 Oct 2020 15:48:36 +0200 [thread overview]
Message-ID: <EB4CC157-2797-4F3B-B720-5BC9BBFFE709@boede.nl> (raw)
Good afternoon!
I am dealing with a book, which has a short black rule under the title of the chapters.
I see, that the old rule mechanisms are no more available in LMTX and are replaced by fillers.
Now with the following setup, I would expect a 50mm line placed centered. Hoewever this seems not to work in this way.
What am I missing?
kind regards
Willi
\definefiller
[Titlerule]
[alternative=rule,
left=\hfil,
right=\hfil,
method=local,
width=50mm,
height=2pt,
leftmargin=1pt,
rightmargin=1pt,
align=middle]
\starttext
\midaligned{Some text}
\filler[Titlerule]
\stoptext
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2020-10-14 13:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-14 13:48 Willi Egger [this message]
2020-10-14 14:33 ` Wolfgang Schuster
2020-10-15 19:59 ` Willi Egger
2020-10-22 20:09 ` Wolfgang Schuster
2020-10-22 21:33 ` Willi Egger
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=EB4CC157-2797-4F3B-B720-5BC9BBFFE709@boede.nl \
--to=context@boede.nl \
--cc=ntg-context@ntg.nl \
/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).