Hi Alan, the difference between both is that smalltype switches to the monospace font while small uses the default style (in most cases a serif font). Wolfgang Alan Braslau schrieb am 11.09.18 um 16:13:
Wolfgang,
There is also [style=small]. Is it preferable to use style=smalltype?
Also, there is [style=bigger], which is a bit inconsistent (with [style=small] rather than "smaller"). I would have expected "style=big", especially as the value "big" is already used in other contexts.
Alan
On Mon, 10 Sep 2018 22:16:04 +0200 Wolfgang Schuster
wrote: To limit the smaller font to \starttyping it should be
\setuptyping [typing] [style=\ttxx]
or
\setuptyping [typing] [style=smalltype]
because \starttyping is a generated command like \startXML.
Wolfgang
Taco Hoekwater schrieb am 10.09.18 um 11:32:
Hi Hans, Replace your two setuptyping lines with:
\setuptyping[style=\ttxx] \definetyping[XML] \setuptyping[XML][option=XML,style=italic]
nothing else needs to change
Best wishes, Taco
On 10 Sep 2018, at 11:22, Hans van der Meer
wrote:
Taco Hoekwater Elvenkind BV ___________________________________________________________________________________ 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 ___________________________________________________________________________________
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 ___________________________________________________________________________________
participants (1)
-
Wolfgang Schuster