<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<SPAN lang=DE>
Try the folowing code:<BR>
<BR>
\documentclass{article}<BR>
\usepackage{times} <BR>
<BR>
\begin{document}<BR>
%\newcommand{\d1}{abc}\d1 %errors <BR>
<BR>
\makeatletter<BR>
\let\nDef\@namedef<BR>
\let\nUse\@nameuse<BR>
\makeatother<BR>
<BR>
\nDef{d1}{\Large\bf abc}<BR>
\nUse{d1}<BR>
<BR>
\newcount\cA \cA = 101<BR>
<BR>
\nDef{d\the\cA}{\Large\it abc}<BR>
<BR>
\nUse{d\the\cA}<BR>
<BR>
\nUse{d101}<BR>
<BR>
\end{document}<BR>
<BR>
<BR>
Guido Herzog<BR>
</SPAN><BR> <BR>> From: hospes.primus@verizon.net<BR>> To: news3@nililand.de; xetex@tug.org<BR>> Date: Tue, 9 Feb 2010 05:39:18 -0500<BR>> Subject: Re: [XeTeX] Fine tune selecting alternate glyphs<BR>> <BR>> Thanks -- I should not type things like this late at night!<BR>> <BR>> David<BR>> <BR>> ----- Original Message ----- <BR>> From: "Ulrike Fischer" <news3@nililand.de><BR>> To: <xetex@tug.org><BR>> Sent: Tuesday, February 09, 2010 4:12 AM<BR>> Subject: Re: [XeTeX] Fine tune selecting alternate glyphs<BR>> <BR>> <BR>> > Am Tue, 09 Feb 2010 00:24:36 -0500 schrieb David J. Perry:<BR>> ><BR>> >> LaTeX \newcommand feature to make this even shorter, something like:<BR>> >> \newcommand{\d1}{\addfontfeature{Alternates=1}δ}<BR>> >> Now whenever you type \d1<BR>> ><BR>> > You can't use numbers in a command name like this!<BR>> ><BR>> > Try it out:<BR>> ><BR>> > \documentclass{article}<BR>> > \usepackage[T1]{fontenc}<BR>> ><BR>> > \begin{document}<BR>> > %\newcommand{\d1}{abc}\d1 %errors<BR>> ><BR>> > Def: \newcommand{\m1}{abc}<BR>> ><BR>> > Test: \m1<BR>> ><BR>> > \end{document}<BR>> ><BR>> > Use e.g. roman letters to denote numbers \di, \dii ....<BR>> ><BR>> ><BR>> > -- <BR>> > Ulrike Fischer<BR>> ><BR>> ><BR>> ><BR>> > --------------------------------------------------<BR>> > Subscriptions, Archive, and List information, etc.:<BR>> > http://tug.org/mailman/listinfo/xetex<BR>> > <BR>> <BR>> <BR>> <BR>> --------------------------------------------------<BR>> Subscriptions, Archive, and List information, etc.:<BR>> http://tug.org/mailman/listinfo/xetex<BR>                                            <br /><hr />Hotmail macht’s dir leicht: <a href='http://redirect.gimas.net/?n=M1001HM' target='_new'>Versende vorgeschriebene Neujahrsgrüße</a></body>
</html>