<br>Hi Herbert, <br><br><div><span class="gmail_quote">2007/3/11, Herbert Schulz &lt;<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.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;">
<br>On Mar 10, 2007, at 6:39 PM, 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>&gt;<br>&gt; This is something that allows me to print Arabic text like \ar
<br>&gt; {سلام عليكم} within Roman text.<br>&gt;<br>&gt; Before I had:<br>&gt;<br>&gt; \font\ar=&quot;Scheherazade-AAT&quot; at 12 pt<br>&gt;<br>&gt; and then I got the Arabic text typing {\ar سلام عليكم}<br>&gt; instead.
<br>&gt;<br><br>Howdy,<br><br>It seems silly to be defining the font over and over with each use.<br>Why not something like<br><br>\font\arabic=&quot;Scheherazade-AAT&quot; at 12 pt<br><br>and then<br><br>\newcommand{\ar}[1]{{\arabic\selectfont#1}}
</blockquote><div><br>Sorry, this doesn&#39;t work for me. But don&#39;t worry, I used the \newfontfamily command (see my other replies). Thanks anyway.<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;">
(note the nested braces). If you&#39;re not very careful (unless you&#39;re<br>very lucky) having a double meaning for \ar (both a command name and<br>a font) can lead to all sorts of problems.</blockquote><div><br>Ok, I get the point. Different names for differnet things. Thanks.
<br><br>Regards, Manuel<br></div></div><br>