[XeTeX] Multilingual verbatim

maxwell maxwell at umiacs.umd.edu
Mon Aug 27 23:23:51 CEST 2012


On 27.08.2012 16:18, Apostolos Syropoulos wrote:
>> Czech, English, Hindi and Urdu. Even if I find a font containing all
>> these alphabets I will have to switch the script several times 
>> within
>> the environment (at least I have to switch between Devanagari and
>> Arabic features and between RTL and LTR direction). I do not know 
>> how
>> to do it inside verbatim.
>
> you could use the alltt, but I have no idea whether it actually works
> with XeLaTeX.

We have been using alltt for precisely this reason (we can embed 
various scripts and fonts inside \alltt{}).  The XeLaTeX font changing 
commands work fine inside alltt.

    Mike Maxwell
    University of Maryland


More information about the XeTeX mailing list