The following is the fonts used for English and Chinese, basically for English.<br><br>\setmainfont{AR PL UKai CN}<br>\newfontinstance\rmfont{Times New Roman}<br>\newcommand{\en}[1]{{\rmfont #1}}<br>\newcommand{\chem}[1]{$\mathrm{#1}$}<br>
\setmainfont{Times New Roman}<br>\newfontinstance\cnfont{AR PL UKai CN}<br>\newcommand{\cn}[1]{{\cnfont #1}}<br><br>I am still learning xetex. if anything wrong, please correct me.<br><br>Thanks,<br><br>Tiandao<br><br><br>
<div class="gmail_quote">On Mon, Apr 12, 2010 at 4:10 PM, Fr. Michael Gilmary <span dir="ltr"><<a href="mailto:FrMichaelGilmary@maronitemonks.org">FrMichaelGilmary@maronitemonks.org</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;">
<div class="im">Tiandao Li wrote:<br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Another question, I used textcomp package, so I can use \textcelsius for<br>
temperature. However, the PDF file only show a square in the place of C.<br>
after I commented out packages of xunicode and xltxtra. textcomp package<br>
works fine. Why?<br>
<br>
</blockquote>
<br>
<br>
<br>
<br></div>
Hi Tiandao<br>
<br>
I suspect the font you're using doesn't have that particular glyph. Try using another font that has it.<br>
<br>
<br>
<br>
-- <br>
United in adoration of Jesus, <br>
<br>
<br>
fr. michael gilmary, mma<br>
<br>
Most Holy Trinity Monastery<br>
67 Dugway Road<br>
Petersham, MA 01366-9725<br>
<br>
<a href="http://www.MaroniteMonks.org" target="_blank">www.MaroniteMonks.org</a><br>
<br>
<br>
<br>
<br>
--------------------------------------------------<br>
Subscriptions, Archive, and List information, etc.:<br>
<a href="http://tug.org/mailman/listinfo/xetex" target="_blank">http://tug.org/mailman/listinfo/xetex</a><br>
</blockquote></div><br>