ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] Defining mathsymbols from unicode char
@ 2024-08-29 19:27 Jethro Djan
  2024-08-29 19:42 ` [NTG-context] " Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Jethro Djan @ 2024-08-29 19:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 739 bytes --]

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-in-latex
?

Thanks.

Jethro

[-- Attachment #1.2: Type: text/html, Size: 1057 bytes --]

[-- Attachment #2: Type: text/plain, Size: 511 bytes --]

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

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [NTG-context] Re: Defining mathsymbols from unicode char
  2024-08-29 19:27 [NTG-context] Defining mathsymbols from unicode char Jethro Djan
@ 2024-08-29 19:42 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2024-08-29 19:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jethro Djan

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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-29 19:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-29 19:27 [NTG-context] Defining mathsymbols from unicode char Jethro Djan
2024-08-29 19:42 ` [NTG-context] " Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).