musiktheorietheorie/musixtex/tex/musixdat.tex

60 lines
2.2 KiB
TeX
Raw Normal View History

2022-03-27 12:09:14 +02:00
%
% This file is part of MusiXTeX
%
% MusiXTeX is free software; you can redistribute it and/or modify
% it under the terms of the GNU General Public License as published by
% the Free Software Foundation; either version 2, or (at your option)
% any later version.
%
% MusiXTeX is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
% GNU General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with MusiXTeX; see the file COPYING. If not, write to
% the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
% Boston, MA 02111-1307, USA.
%
\immediate\write16{MusiXDATes 0.36\space<1 March 1995>}%
\ifx\undefined\dategerman \else \endinput \fi
\edef\catcodeat{\the\catcode`\@}\catcode`\@=11
%% This is 'stolen' from GERMAN.TEX or GERMAN.STY, Vers. 2.4a, 12 Apr 1991
% Dates
% -----
\def\month@german{\ifcase\month \or
Januar\or Februar\or M\"arz\or April\or Mai\or Juni\or
Juli\or August\or September\or Oktober\or November\or Dezember\fi}
\def\dategerman{\def\today{\number\day.~\month@german
\space\number\year}}
\def\dateaustrian{\def\today{\number\day.~\ifnum 1=\month
J\"anner\else \month@german\fi \space\number\year}}
\def\month@english{\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}
\def\dateUSenglish{\def\today{\month@english
\space\number\day, \number\year}}
\def\dateenglish{\def\today{\number\day \ifcase\day \or
st\or nd\or rd\or th\or th\or th\or th\or th\or th\or th\or % 1..10
th\or th\or th\or th\or th\or th\or th\or th\or th\or th\or % 11..20
st\or nd\or rd\or th\or th\or th\or th\or th\or th\or th\or % 21..30
st\fi
~\month@english \space\number\year}}
\def\datefrench{\def\today{\number\day \ifnum1=\day \/$^{\rm er}$\fi
\space\ifcase\month \or
janvier\or f\'evrier\or mars\or avril\or mai\or juin\or
juillet\or ao\^ut\or septembre\or octobre\or novembre\or d\'ecembre\fi
\space\number\year}}
\def\aujourdhui{\datefrench\today}
\dateUSenglish% or whatever you prefer
\catcode`\@=\catcodeat
\endinput