21 Sep
2013
21 Sep
'13
4:48 p.m.
Am 21.09.2013 um 18:25 schrieb Marco Patzer
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