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 
<shift+ctrl+u> and then type <2013>.


This should work when using luatex.



ZS





On Thu, 19 Feb 2009 21:48:50 -0300
Maurí­cio <[email protected]> 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ício
> 
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : [email protected] / 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
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 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
___________________________________________________________________________________

Reply via email to