[XeTeX] Binding control sequence to input character

ShreeDevi Kumar shreeshrii at gmail.com
Sun Dec 21 12:17:36 CET 2014


I want to increase fontsize of just one letter in a word,

Is it possible in xelatex to bind a control sequence to an input character
as suggested for pdftex on

"To define behaviour for unicode characters, use the
\DeclareUnicodeCharacter command that is then defined. Here's an example
for binding the control sequence \dash to the input character "—"; i.e., a
literal em-dash, U+2014, in the source:


\dash can then be defined in the usual manner; I use:


This defines a dash that has a small space on either side and will only
allow a line break *after* it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20141221/4b19b656/attachment.html>

More information about the XeTeX mailing list