Changes

Jump to navigation Jump to search
524 bytes added ,  07:30, 1 September 2017
m
no edit summary
Once a {{code|1=symbolset}} has been declared and set up, one can use the declared symbols (for instance here {{code|1=dbend}}) with the command {{code|1=\symbol{dbend}}}, or imbed it in other commands.
 
In order to find which slot represents a desired glyph, one may look at the afm file and then by trial and error find the correct address… (in our example the file is {{code|1=manfnt.afm}}). For instance we have found that {{code|1=n:char_7e}} represents the dangerous bend, while {{code|1=n:char_79}} represents a broken arrow.
<texcode>
\definesymbol [dbend] [\resolvedglyphdirect{bends}{n:char_7e}]
\definesymbol [lhdbend] [\resolvedglyphdirect{bends}{n:char_7f}]
\definesymbol[brokenarrow][\resolvedglyphdirect{bends}{n:char_79}]
\definesymbol[pentastar][\resolvedglyphdirect{bends}{n:char_1e}]
\stopsymbolset
\starttext
Here we use the symbols directly: \symbol{dbend}\quad \symbol{lhdbend}.
\blank[big]
\symbol{brokenarrow}\quad \symbol{pentastar}.
\blank[big]
\dbend This result is difficult to prove.
106

edits

Navigation menu