houda araj wrote:

Hello,

When I put HUGE in front of \HUGE{این اولین نمایه این متن است که برای امتحان آورده شده است} . xelatex does not recognize it. What would someone do if he has to write in different size ?
line1 - HUGE
line2 - Tiny
Line3- normal


Hi Houda:

\HUGE isn't a command (except maybe IIRC in memoir class). And it's used as a declaration /inside/ the curly braces, not as a command with an argument.

So, try this:

\documentclass{article}

\usepackage{fontspec}
\usepackage{polyglossia}
\setdefaultlanguage[variant=american]{english}
\setotherlanguage{arabic}

\defaultfontfeatures{Mapping=tex-text}
\setmainfont[Numbers={OldStyle,Proportional}]{Garamond Premier Pro}
\newfontfamily\arabicfont[Script=Arabic,Scale=1.5]{Scheherazade}
\begin{document}
\begin{Arabic}

\Huge این اولین نمایه این متن است که برای امتحان آورده شده است
\bigskip

\tiny این اولین نمایه این متن است که برای امتحان آورده شده است
\bigskip

\normalsize این اولین نمایه این متن است که برای امتحان آورده شده است
\end{Arabic}


\end{document}



--
United in adoration of Jesus,


fr. michael gilmary, mma

Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725

www.MaroniteMonks.org





--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
 http://tug.org/mailman/listinfo/xetex

Reply via email to