[NTG-context] Changing the font size in an environment changes the behavior of a macro
Aditya Mahajan
adityam at umich.edu
Mon May 4 19:18:45 CEST 2020
On Mon, 4 May 2020, Fabrice Couvreur wrote:
> Hi,
> Sorry to insist but I cannot fix this problem.
> Thanks for any help.
I don't know the answer, but here is a simpler example without pgfplot which fails (different calligraphic C's):
\define[1]\cscript{\start\switchtobodyfont[xitsbidi]\m{{\mathscript{#1}}}\stop}
\starttext
\startTEXpage[offset=2mm]
\cscript{C}
\start
\switchtobodyfont[9pt]
\cscript{C}
\stop
\stopTEXpage
\stoptext
And here is a version with a minor change that works (same calligraphic C's)!
\usebodyfont[xitsbidi]
\define[1]\cscript{\start\m{{\mathscript{#1}}}\stop}
\starttext
\startTEXpage[offset=2mm]
\cscript{C}
\start
\switchtobodyfont[9pt]
\cscript{C}
\stop
\stopTEXpage
\stoptext
Aditya
More information about the ntg-context
mailing list