[NTG-context] baseline of outlined font

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Sat Feb 16 13:43:26 CET 2019


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



More information about the ntg-context mailing list