Did you check the fontspec user's manual? I believe it can do what you're looking for.<br><br><a href="http://www.ctan.org/get/macros/xetex/latex/fontspec/fontspec.pdf">http://www.ctan.org/get/macros/xetex/latex/fontspec/fontspec.pdf</a><br>
<br>Also check the ifxetex pacakage.<br><a href="http://www.ctan.org/tex-archive/help/Catalogue/entries/ifxetex.html">http://www.ctan.org/tex-archive/help/Catalogue/entries/ifxetex.html</a><br><br><br>Ekin<br><br><br><div class="gmail_quote">
On Mon, Dec 15, 2008 at 10:46 PM, R (Chandra) Chandrasekhar <span dir="ltr"><<a href="mailto:chandra@ee.uwa.edu.au">chandra@ee.uwa.edu.au</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Dear Folks,<br>
<br>
I have a custom letter class file in which the sender's address and<br>
contact details are typeset in a pre-defined font as part of a<br>
letterhead, independent of the font (name and size) used for the text<br>
body. For example, the command<br>
<br>
\DeclareFixedFont{\viiipl}{OT1}{ppl}{m}{n}{8} % 8 pt<br>
<br>
selects Palatino 8pt and the commands<br>
<br>
{\viiipl\setlength{\baselineskip}{10pt plus2pt minus1pt}<br>
\fromaddress\\}<br>
<br>
allow the sender's address to be typeset in Palatino 8pt independently<br>
of the font (name and size) used in the body of the letter.<br>
<br>
While this works in LaTeX with Type 1 fonts, I wonder if there is any<br>
mechanism that allows OTF fonts to be used in like fashion in a class<br>
file. If so, how does one go about:<br>
<br>
1. Specifying that the class file can be run only with XeLaTeX?<br>
<br>
2. Specifying the font (name and size) to use?<br>
<br>
Thanks in advance.<br>
<br>
Chandra<br>
_______________________________________________<br>
XeTeX mailing list<br>
<a href="mailto:postmaster@tug.org">postmaster@tug.org</a><br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div><br>