Hi, This is probably a really basic question already asked many times, but I wasn't able to find an answer. How to type an unicode character using its number? Searching for messages, I found things like: "2019 \char"2019 \char{"2019} \utfchar{"2019} but I wasn't able to get any of them to work. (I don't know for sure they actually should do what I want.) 'texexec --version' says: TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD Thanks, Maurício
You may try \uchar{"20}{"19}. On Thu, Feb 19, 2009 at 09:48:50PM -0300, Maur憝cio wrote:
Hi,
This is probably a really basic question already asked many times, but I wasn't able to find an answer.
How to type an unicode character using its number? Searching for messages, I found things like:
"2019 \char"2019 \char{"2019} \utfchar{"2019}
but I wasn't able to get any of them to work. (I don't know for sure they actually should do what I want.)
'texexec --version' says:
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
Thanks, Maur韈io
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
--
Longmin Wang
Hi,
try this: \getglyph{name:TeXGyreHeros-Regular}{\char"2013} % your font should have the glyph!
If you are in linux and your editor is UTF8 capable, try pressing keys
Hi,
This is probably a really basic question already asked many times, but I wasn't able to find an answer.
How to type an unicode character using its number? Searching for messages, I found things like:
"2019 \char"2019 \char{"2019} \utfchar{"2019}
but I wasn't able to get any of them to work. (I don't know for sure they actually should do what I want.)
'texexec --version' says:
TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD
Thanks, Maurício
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Maurício wrote:
Hi,
This is probably a really basic question already asked many times, but I wasn't able to find an answer.
How to type an unicode character using its number? Searching for messages, I found things like:
\char"2019
that one is pretty safe in mkiv make sure to end witha space or \relax ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
Hans Hagen
-
Longmin Wang
-
Maurício
-
zs