* Skriv a reas Sasi Kumar ([email protected]):
|> 1. How can I change the font inside a document? For
|> 2. I am creating a document in two languages, let us say, English and
|> Malayalam
Here is a short example but reading fontspec and polyglossia documentation will
give you essential information:
\documentclass{article}
\usepackage{fontspec}
\setmainfont[Ligatures={TeX}]{Hoefler Text}
\defaultfontfeatures{Scale=MatchLowercase}
\usepackage{polyglossia}
\setdefaultlanguage[variant=american]{english}
\setotherlanguage{malayalam}
\newfontfamily\malayalamfont{FreeSerif}
\begin{document}
Here some text in English
and then some in Malayalam (I hope) \textmalayalam{മീനകേതനചരിതം}
\end{document}
--Gildas
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex