Am 21.09.2013 um 18:25 schrieb Marco Patzer <[email protected]>:

> On 2013–09–21 Xan wrote:
> 
>>> On 2013–09–21 Xan wrote:
>>> 
>>>> \diameter produces a diameter symbol. What is the equivalent in ConTeXt?
>>> 
>>>  ⌀ or \varnothing
>> 
>> 
>> Really varnothing is not the same as diameter (see the reference of LaTeX I 
>> posted before)
> 
>  \def\diameter{\char"2300}


Add a space or \relax after the number to prevent TeX from reading the next 
character
in the input which can result in the wrong output (see output for \one).

\defineexpandable\one  {\char"41}
\defineexpandable\two  {\char"41 }
\defineexpandable\three{\char"41\relax}
\defineexpandable\four {\utfchar{"41}}

\setupbodyfont[cambria]

\starttext
1: \one   3\par
2: \two   3\par
3: \three 3\par
4: \four  3
\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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