[XeTeX] Unicode Watch character -> \VarClock

Peter Dyballa Peter_Dyballa at Web.DE
Sun Dec 13 13:07:54 CET 2009


Am 13.12.2009 um 11:58 schrieb Nicolas Girard:

> Now, is there any way of getting XeTeX
> to switch to, say Free Serif, each time it sees that U+231A character
> ?


I think that the concept XeTeX character classes would allow this...

Besides, you could declare a font which has WATCH. Then create a  
command, say \watch, which selects that font and just inserts that  
character.


\newfontfamily{\watchfont}{Free Serif}
\newcommand{\watch}{{\watchfont ⌚}}

Or name it \⌚...

--
Greetings

   Pete

The day Microsoft makes something that doesn't suck is the day they  
start selling vacuum cleaners.
				– Ernest Jan Plugge



More information about the XeTeX mailing list