<br>Hi Herbert, <br><br><div><span class="gmail_quote">2007/3/11, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>>:</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>> \newcommand{\ar}[1]{\font\ar="Scheherazade-AAT" at 12 pt {\ar#1}<br>> \normalfont}<br>><br>> This is something that allows me to print Arabic text like \ar
<br>> {سلام عليكم} within Roman text.<br>><br>> Before I had:<br>><br>> \font\ar="Scheherazade-AAT" at 12 pt<br>><br>> and then I got the Arabic text typing {\ar سلام عليكم}<br>> instead.
<br>><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="Scheherazade-AAT" at 12 pt<br><br>and then<br><br>\newcommand{\ar}[1]{{\arabic\selectfont#1}}
</blockquote><div><br>Sorry, this doesn't work for me. But don'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're not very careful (unless you'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>