ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Filler rules
@ 2020-10-14 13:48 Willi Egger
  2020-10-14 14:33 ` Wolfgang Schuster
  0 siblings, 1 reply; 5+ messages in thread
From: Willi Egger @ 2020-10-14 13:48 UTC (permalink / raw)
  To: NTG-Context ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-10-22 21:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-14 13:48 Filler rules Willi Egger
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

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).