> Am 22.05.2015 um 13:07 schrieb david.boerschl...@juno.com:
> 
> I have the following:
> 
> \setupbodyfontenvironment[default][em=italic,x=9.0pt,xx=8.0pt,a=12.0pt,b=14.0pt,c=16.0pt,d=18.0pt,e=24.0pt,small=8.0pt]
> 
> Per: http://wiki.contextgarden.net/Font_Switching
> 
> However Context has a syntax error.
> 
> ! Missing \endcsname inserted
> ! You can't use `\dimexpr' in restricted horizontal mode
> 
> If I change the above to:
> \setupbodyfontenvironment[default][em=italic,x=0.9,xx=0.8,a=1.2,b=1.4,c=1.6,d=2.4,e=3.0,f=4.0,small=0.8]
> 
> then the .tex compiles and runs and generates PDF output.
> 
> Also, \tfe is documented to work but it is being flagged as a undefined 
> control sequence error whereas \tfd works.   We are using context current 
> version: 2014.01.03 00:40


Only the a–d sizes are predefined, to get the e you have to add

    \definefontsize[e]

to your document.

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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to