[NTG-context] write a subtitle under the title of a chapter using outlined font

Jeong Dal haksan at me.com
Thu Mar 19 14:26:46 CET 2020


Hi,

long time ago, I can use outlined fonts for the title of a chapter by the help of the experts in this list.
Now, I’d like to write a subtitle under the title, but \crlf is not working.
I tried in several ways, but I couldn’t make it.

How to write them in two lines?

Thanks.

Best regards,

Dalyoung

**************
\startuseMPgraphic{outlineT}
	  draw outlinetext.b (\MPvar{tt})
	  (withcolor .75white)
	  (withcolor .725blue withpen pencircle scaled .75pt);
\stopuseMPgraphic

\define[1]\outlineFill{\useMPgraphic{outlineT}{tt="#1"}}%

\setuphead[chapter,title]
 [textcommand=\outlineFill,
  color=.625Blue,
  numbercommand=\outlineFill,
  number=yes]

\setupbodyfont[rm, 12pt]

\starttext

\startchapter[title={First Title\crlf{\tfa Sub Title}}]
\input knuth
\stopchapter

\stoptext

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200319/3dde9b1e/attachment.htm>


More information about the ntg-context mailing list