[XeTeX] Accessing individual Unicode characters

Gareth Hughes garzohugo at gmail.com
Sat Oct 17 16:14:13 CEST 2009


2009/10/17 David Perry <hospes.primus at verizon.net>:
> Yes, just enter \char"XXXX in your document (that's a double quote followed
> directly by the hex digits).  I would, however, use OpenType features to
> access these whenever possible (I don't suppose that works for "symbols and
> stuff" but it certainly will for ligatures, various types of numerals, small
> caps, etc., and XeTeX is one of the few apps that can easily control OT
> features).
>
> David
>
> Simon Spiegel wrote:
>>
>> Hi everybody,
>>
>> I have the following question: Adobe's Garamond Premier Pro has many
>> special characters (not only ligatures, but also symbols and stuff) in the
>> Private Use Area. Since I know the exact Unicode number, is it possible to
>> access those directly with Xe(La)TeX.
>>
>> TIA
>>
>> Simon

If the glyph is named, you can use \namedglyph{name}, which is often
easier to remember than the code.

-- 
Gareth Hughes
garzohugo at gmail.com
public key ID: 0x9F32AF1E


More information about the XeTeX mailing list