In ConTeXt, one can define a font synonym, as shown in this simple typescript example at the ConTeXt Wiki. In following the example given, I cannot see any way to access the individual levels. I can use {\nimbus This is some text.} or texcommand=\nimus to set the font to Nimbus, but {\Sans This is some text.} and \textcommand=\Sans, does not let me access the font. This becomes a problem, as, if I need to change the font within the document, instead of changing Sans to the new font, I must instead rename all appearances of \nimbus throughout my source files.
- Why is
definefontsynonymused? - Why do options like
\Sansand\SansBoldfail to work in the same way that\nimubsdoes?
\sansand\sansboldorsansas style option instead of the capital versions. If your font is really called Nimubs\nimubsshould work, otherwise\nimbuswill do the trick. – Marco May 11 '12 at 12:06