Hi Will,<br><br><div><span class="gmail_quote">2007/3/11, Will Robertson &lt;<a href="mailto:wspr81@gmail.com">wspr81@gmail.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Manuel,<br><br>No trouble asking here if you get stuck, that&#39;s why we&#39;re here!</blockquote><div><br>Thanks, you&#39;re very kind :) <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 11/03/2007, at 11:09 , Manuel Souto Pico wrote:<br><br>&gt; \newcommand{\ar}[1]{\font\ar=&quot;Scheherazade-AAT&quot; at 12 pt {\ar#1}<br>&gt; \normalfont}<br><br>As Herb said, this won&#39;t work (more than once) because the \font\ar=
<br>redefines the command \ar you&#39;ve set up. Since you&#39;re using LaTeX,</blockquote><div><br>I thought I was using XeLaTeX... <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
it&#39;s also probably better to be using the fontspec interface rather<br>than the plain TeX one. Note that \normalfont isn&#39;t required above<br>(nor \selectfont).</blockquote><div><br>Yes, it does work without the \normalfont at the end. 
<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Following your example, this would be better:<br><br>\font\arabicfont=&quot;Scheherazade-AAT&quot; at 12pt
<br>\newcommand\arabic[1]{{\arabicfont#1}}<br><br>Better still would be:<br><br>\newfontfamily\arabicfont{Scheherazade-AAT}<br>\newcommand\arabic[1]{{\arabicfont#1}}</blockquote><div><br>They do work fine. However I had to change the name \arabic to \arabi (or anything else) because of an error: 
<br><br>!LaTeX Error: Command \arabic already defined.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">The reason this is better is that the font size isn&#39;t hard coded in
<br>the \arabic macro. (See the fontspec manual for explanation of<br>\newfontfamily, etc.) You don&#39;t want to have to use a different macro<br>if you want Arabic text in a section heading, for example!</blockquote><div>
<br>I see, that&#39;s useful. I had a look at the document <a href="ftp://tug.ctan.org/pub/tex-archive/macros/xetex/latex/fontspec/fontspec.pdf">ftp://tug.ctan.org/pub/tex-archive/macros/xetex/latex/fontspec/fontspec.pdf</a>
. I find it difficult to understand or to find the information I want, but I think defining the size in the command and not with the font would be something like this: <br><br>\newcommand\arabi[1]{{\fontsize{18}{18}\arabicfont#1}}
<br></div><br>It seems to work. <br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hope this helps,</blockquote><div><br>It does! <br><br>
Thank you, Will!<br><br>Take care, Manuel<br><br></div></div>