Thank you. I have all numbers turning grey now. Regarding the setting of the font size globally, I have not succeeded. I have tried numbers 8pt to 20pt just to see the difference, but all without any changes.<br><br>Thank you,<br>
<br>Brian<br><br>Again my document. <br><br>\documentclass[a5paper,draft]{book}<br>\special{papersize=148mm, 210mm}<br><br>\usepackage{fontspec} % provides font selecting commands<br>\usepackage{xunicode} % provides unicode character macros<br>
\usepackage{xltxtra} % provides some fixes/extras<br><br>\usepackage{polyglossia} % not sure what this does. My goal is to make a document in Lao<br>\setdefaultlanguage[variant=us]{english}<br>\usepackage[usenames,dvipsnames]{color}<br>
<br>\defaultfontfeatures{Mapping=tex-text}<br>\setmainfont{Palatino}<br>\newfontfamily\versenumbers{Myriad Pro}<br><br>\definecolor{light-gray}{gray}{0.6}<br>\newcommand\graytext[1]{\textcolor{light-gray}{#1}}<br>\newcommand\graynumbers[1]{\textsuperscript{\graytext{#1}}}<br>
<br>\newcommand\vnum[1]{{\versenumbers\graynumbers{#1}}\,}<br><br>\begin{document}<br><br>This is a test of the \vnum{234} command.<br><br>End of test.<br><br>\end{document}<br><br> >The main problem I found was with grouping your use of the<br>
>\textsuperscript in the \graynumbers command. You have:<br><br> >> \newcommand\graynumbers[1]{\textsuperscript\graytext{#1}}<br> >><br> >Where it works with:<br><br> >\newcommand\graynumbers[1]{\textsuperscript{\graytext{#1}}}<br>
<br> >\textsuperscript didn't get its argument grouped, so it stopped.<br><br> >As for the font size of the main font, etc., /one/ way (maybe not the<br> >exact control you're looking for) is to load the font size globally in<br>
>the option for the documentclass:<br><br> >\documentclass[12pt,a5paper,draft]{book}<br><br> >Then, you have to either scale the other font sizes with fontspec option<br> >[Scale=MatchLowercase] or whatever --- see the fontspec documentation.<br>
<br> >I'm not familiar with the XeTeX (or LaTeX)way of loading a font where<br> >you can specify a size to load ... someone else can help you there, I'm<br> >sure (I'd be happy to know, too!)<br><br> >HTH.<br>
<br> >--<br> >United in adoration of Jesus,<br><br> >fr. michael gilmary, mma<br><br> >Most Holy Trinity Monastery<br> >67 Dugway Road<br> >Petersham, MA 01366-9725<br><br>w><a href="http://ww.MaroniteMonks.org">ww.MaroniteMonks.org</a><br>
<br> >------------------------------<br><br>