<div>Thank you Fr. Michael.</div><div><br></div><div>I ran your suggestion and it worked beautifully.  Then I tried to adapt your code to a file that I already had and it fell apart. One permutation of my code had only the first number turning gray. I have changed some things and after an hour of fiddling, can&#39;t get it to compile at all. (I am using the xelatex command as I will be using this with a Lao document.)</div>
<div><br></div><div>Thank you,</div><div>Brian</div><div><br></div><div>\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<br>\setdefaultlanguage[variant=us]{english} % not sure about this one either<br>\usepackage[usenames,dvipsnames]{color} % I used color instead of xcolor because I wanted to define the shade of gray.<br>
<br>\defaultfontfeatures{Mapping=tex-text} % have no idea what this does<br>\setmainfont{Palatino} % I would like to be able to set the font size of the main font.<br>\newfontfamily\versenumbers{Myriad Pro} % I would like to be able to define the size of the font relative to the main font.<br>
<br>\definecolor{light-gray}{gray}{0.6} %I want to be able to define the shade of gray or the cmyk number<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. % This is the line that is failing.<br><br>End of test.<br><br>\end{document}<br></div><div>
<br></div><div><br></div> Brian Wilson wrote:<br>
&gt; Thank you to the XeTeX community for the help with my last issue.<br>
&gt;<br>
&gt; Over the last week I have learned how to change the paper size, make running<br>
&gt; headers, make a table of contents as well as make gray scale text. If any<br>
&gt; fellow newbies are reading this, the following site has been most helpful to<br>
&gt; me. <a href="http://en.wikibooks.org/wiki/LaTeX" target="_blank">http://en.wikibooks.org/wiki/LaTeX</a><br>
&gt;<br>
&gt; Currently I am working on a small document of Bible portions in the Lao<br>
&gt; language. There are four things that I want to do with the verse numbers.<br>
&gt; 1 Superscript<br>
&gt; 2 grayscale<br>
&gt; 3 specify font<br>
&gt; 4 add a tiny space after the verse number and before the verse.<br>
&gt;<br>
&gt; Can I do all of this with a newly created \vnum command? I have googled<br>
&gt; about \newcommand until I am blue in the face. Succeeded in making a command<br>
&gt; to do superscript and another command to do grayscale, but failed to make a<br>
&gt; command containing both functions and so didn&#39;t proceed to the last two.<br>
&gt;<br>
<br>
<br>
<br>
Hi Brian:<br>
<br>
Try this:<br>
<br>
%%%%%%%%%%%%%%%%%%%%%<br> \documentclass{minimal}<br>
<br>
\usepackage{xltxtra}<br>
\usepackage{polyglossia}<br>
\setdefaultlanguage[variant=us]{english}<br>
\usepackage{xcolor}<br>
<br>
\defaultfontfeatures{Mapping=tex-text}<br>
\setmainfont{Palatino}<br>
\newfontfamily\versenumbers{Myriad Pro}<br>
<br>
\newcommand\grayssnumbers[1]{\textsuperscript{\color{gray}#1}}<br>
<br>
\newcommand\vnum[1]{{\versenumbers\grayssnumbers{#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>
<br>
You can substitute fonts as desired.<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>
<a href="http://www.MaroniteMonks.org" target="_blank">www.MaroniteMonks.org</a><br>
<br>
<br>