From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Jethro Djan <jthryeboah@gmail.com>
Subject: [NTG-context] Re: Defining mathsymbols from unicode char
Date: Thu, 29 Aug 2024 21:42:48 +0200 [thread overview]
Message-ID: <50070a31-1e7a-cd18-5f8f-be3da8141e2d@gmail.com> (raw)
In-Reply-To: <CAHgnkf_-zWTe5NSUUDcFeTRx4cnX3RNNb-D8zaGarAPxxjcG2A@mail.gmail.com>
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
___________________________________________________________________________________
prev parent reply other threads:[~2024-08-29 19:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-29 19:27 [NTG-context] " Jethro Djan
2024-08-29 19:42 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50070a31-1e7a-cd18-5f8f-be3da8141e2d@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=jthryeboah@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).