<div dir="ltr">Thanks a lot. For all the replies. I wanted to do do this for Persian since it is a bit different to English and German. I ended up using the code from zahl2string package. <br><br><a href="http://ctan.org/pkg/zahl2string">http://ctan.org/pkg/zahl2string</a><br>
<br><div class="gmail_quote">On Mon, Sep 19, 2011 at 11:11 PM, Tom Sgouros <span dir="ltr"><<a href="mailto:tomfool@as220.org">tomfool@as220.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
There is code to do this (or something similar) in the memoir class.<div><br></div><div> -tom</div><div><br><br><div class="gmail_quote"><div><div></div><div class="h5">On Sun, Sep 18, 2011 at 9:43 PM, VAFA KHALIGHI <span dir="ltr"><<a href="mailto:vafaklg@gmail.com" target="_blank">vafaklg@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div class="h5"><div dir="ltr">Hello<br><br>I need to have a counter that counts like "first, second, third, fourrth, ...". (say up to ten thousandth). I can create a counter and put all of these in it just like:<br>
<br>\def\@mycounter#1{%<br>
\ifcase#1\or First\or Second\or Third\or ...\else\@ctrerr\fi}<br><br>\def\mycounter#1{\expandafter\@mycounter\csname c@#1\endcsname}<br><br>But it will be very annoying to put each single of these in \@mycounter. I was wondering if you know a better solution.<br>
<br>Thanks<br></div>
<br></div></div>_______________________________________________<br>
TeX FAQ: <a href="http://www.tex.ac.uk/faq" target="_blank">http://www.tex.ac.uk/faq</a><br>
Mailing list archives: <a href="http://tug.org/pipermail/texhax/" target="_blank">http://tug.org/pipermail/texhax/</a><br>
More links: <a href="http://tug.org/begin.html" target="_blank">http://tug.org/begin.html</a><br>
<br>
Automated subscription management: <a href="http://tug.org/mailman/listinfo/texhax" target="_blank">http://tug.org/mailman/listinfo/texhax</a><br>
Human mailing list managers: <a href="mailto:postmaster@tug.org" target="_blank">postmaster@tug.org</a><br></blockquote></div><br></div>
</blockquote></div><br></div>