Jeong Dal schrieb am 16.02.19 um 12:07:
Dear all,
Recently, I used outlined font described in MetaFun for titles.
But the baselines of the number and the title of chapter are different.
What is wrong in the following code?
Thank you for reading.
Best regards,
Dalyoung
%%%%%%%%
\definefont[BigFontOne][NotoSansCJKkr-Bold sa 4]
\definecolor[BigColorOne][r=.86,g=.850,b=.54]
\startuseMPgraphic{outlineT}
draw outlinetext.b (\MPvar{tt})
(withcolor .75white)
(withcolor .725blue withpen pencircle scaled .75pt);%\MPvar{thick});
\stopuseMPgraphic
\define[1]\titleOutline{\useMPgraphic{outlineT}{tt="#1"}}
\setuphead[chapter,title]
[deeptextcommand=\titleOutline,
color=BigColorOne,
style=\BigFontOne,
numbercommand=\titleOutline,
Use textcommand (not deeptextcommand) to apply to outline to the title.
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________