[XeTeX] Multilingual verbatim

Apostolos Syropoulos asyropoulos at yahoo.com
Mon Aug 27 22:18:36 CEST 2012


> The font is one thing but the verbatim text will be a mixture of
> 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.

The verbatim environment shows... verbatim what it surrounds. Thus,
you should prepare the text in some editor, copy it... verbatim
and that's all. No command makes sense inside verbatim. Alternatively,
you could use the alltt, but I have no idea whether it actually works
with XeLaTeX.

A.S.


----------------------
Apostolos Syropoulos
Xanthi, Greece



More information about the XeTeX mailing list