summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/isodoc/isodoc-template.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/isodoc/isodoc-template.ldf')
-rw-r--r--Master/texmf-dist/tex/latex/isodoc/isodoc-template.ldf29
1 files changed, 20 insertions, 9 deletions
diff --git a/Master/texmf-dist/tex/latex/isodoc/isodoc-template.ldf b/Master/texmf-dist/tex/latex/isodoc/isodoc-template.ldf
index 55018c52077..8c6c2f771d8 100644
--- a/Master/texmf-dist/tex/latex/isodoc/isodoc-template.ldf
+++ b/Master/texmf-dist/tex/latex/isodoc/isodoc-template.ldf
@@ -1,5 +1,16 @@
\def\isodoc@xxYY{%
- \gdef\accountdatatext {...} % Banking data
+ \if@isodocordinalss % no need for these if you don't use \@st et cetera below
+ \gdef\@st{\textsuperscript{st}}
+ \gdef\@nd{\textsuperscript{nd}}
+ \gdef\@rd{\textsuperscript{rd}}
+ \gdef\@th{\textsuperscript{th}}
+ \else
+ \gdef\@st{st}
+ \gdef\@nd{nd}
+ \gdef\@rd{rd}
+ \gdef\@th{th}
+ \fi
+ \gdef\paymentdatatext {...} % Payment details
\gdef\accountnametext {...} % in the name of
\gdef\accountnotext {...} % Account no.
\gdef\amounttext {...} % Amount
@@ -14,7 +25,7 @@
\gdef\enclosurestext {...} % Enclosures:
\gdef\enclosuretext {...} % Enclosure:
\gdef\faxtext {...} % telefax
- \gdef\invoicetext {...} % \textbf{\textsc{\Large invoice}}
+ \gdef\invoicetext {...} % \textsc{\Large invoice}
\gdef\oftext {...} % of
\gdef\ourreftext {...} % Our reference
\gdef\pagetext {...} % Page
@@ -31,13 +42,13 @@
\gdef\yourlettertext {...} % Your letter of
\gdef\yourreftext {...} % Your reference
\gdef\@isodate {\ifcase\day\or
- 1st\or 2nd\or 3rd\or 4th\or 5th\or
- 6th\or 7th\or 8th\or 9th\or 10th\or
- 11th\or 12th\or 13th\or 14th\or 15th\or
- 16th\or 17th\or 18th\or 19th\or 20th\or
- 21st\or 22nd\or 23rd\or 24th\or 25th\or
- 26th\or 27th\or 28th\or 29th\or 30th\or
- 31st\fi\space\ifcase\month\or
+ 1\@st\or 2\@nd\or 3\@rd\or 4\@th\or 5\@th\or
+ 6\@th\or 7\@th\or 8\@th\or 9\@th\or 10\@th\or
+ 11\@th\or 12\@th\or 13\@th\or 14\@th\or 15\@th\or
+ 16\@th\or 17\@th\or 18\@th\or 19\@th\or 20\@th\or
+ 21\@st\or 22\@nd\or 23\@rd\or 24\@th\or 25\@th\or
+ 26\@th\or 27\@th\or 28\@th\or 29\@th\or 30\@th\or
+ 31\@st\fi\space\ifcase\month\or
January\or February\or March\or April\or May\or June\or
July\or August\or September\or October\or November\or December\fi
\space \number\year}