Defining mathsymbols from unicode char
Dear all, 1. I am trying to define the "pitchfork" unicode character( https://unicodeplus.com/U+22D4) to use in ConTeXt as stated on page 387 of new math manual authored by Hans and Mikael: \definemathsymbol[pitchfork][relation]["22D4] It works with some unicode characters and not others (like this character). What can I do to make it work? 2. I would like a \not\perp symbol but it doesn't draw the stroke on top of the symbol. I know you could manipulate this in a plain TeX but I am thinking the mechanism in ConTeXt would be different. How can I achieve this? Also how can I get the \notperp symbol in the accepted answer of https://tex.stackexchange.com/questions/27651/symbol-about-not-orthogonality... ? Thanks. Jethro
Jethro Djan schrieb am 29.08.2024 um 21:27:
Dear all,
1. I am trying to define the "pitchfork" unicode character(https://unicodeplus.com/U+22D4) to use in ConTeXt as stated on page 387 of new math manual authored by Hans and Mikael: \definemathsymbol[pitchfork][relation]["22D4]
It works with some unicode characters and not others (like this character). What can I do to make it work?
1. You forgot to provide a minimal example to reproduce the problem. 2. You need a math which contains the symbol because you can't expect to get each symbol with all of them. You can run the following sample to see which font contains \pitchfork. %%%% begin example \starttext \doloopoverlist {antykwa, antykwa-light, antykwa-cond, bonum, cambria, concrete, dejavu, ebgaramond, erewhon, iwona, iwona-light, koeieletters, kpfonts, kurier, kurier-light, libertinus, lucida, modern, pagella, schola, stixtwo, termes, xcharter} {\mono{\recursestring:} \begingroup \switchtobodyfont[\recursestring] \im{\pitchfork} \endgroup \par} \stoptext %%%% end example Wolfgang
participants (2)
-
Jethro Djan
-
Wolfgang Schuster