diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/datetime2-german/datetime2-german-base-ascii.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/datetime2-german/datetime2-german-base-ascii.dtx | 217 |
1 files changed, 217 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/datetime2-german/datetime2-german-base-ascii.dtx b/Master/texmf-dist/source/latex/datetime2-german/datetime2-german-base-ascii.dtx new file mode 100644 index 00000000000..1a6842849a4 --- /dev/null +++ b/Master/texmf-dist/source/latex/datetime2-german/datetime2-german-base-ascii.dtx @@ -0,0 +1,217 @@ +%\iffalse +%<*package> +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%</package> +% +% Doc-Source file to use with LaTeX2e +% Copyright (C) 2015 Nicola Talbot, all rights reserved. +% Copyright (C) 2017-19 Sebastian Friedl, all rights reserved. +% \fi +% +% +% +% \subsection{ASCII-code: \texttt{datetime2-german-base-ascii.ldf}} +% The definitions in this file use \LaTeX\ commands for non-ASCII characters. +% It should be used if neither \hologo{XeLaTeX} nor \hologo{LuaLaTeX} are used. +% Even if the user has loaded \sty{inputenc} with "utf8", this file should still +% be used instead of \texttt{datetime2-german-base-utf8.ldf} as the non-ASCII +% characters are made active in that situation and would need protecting +% against expansion. +% \changes{1.0}{2015-03-27}{Initial release} +% +% \medskip +% Identify module. +% \begin{macrocode} +\ProvidesDateTimeModule{german-base-ascii}[2019/12/13 v3.0] +% \end{macrocode} +% +%\begin{macro}{\DTMgermanmonthname} +% German month names. +% \begin{macrocode} +\newcommand*{\DTMgermanmonthname}[1]{% + \ifcase#1 + \or + Januar% + \or + Februar% + \or + M\protect\"arz% + \or + April% + \or + Mai% + \or + Juni% + \or + Juli% + \or + August% + \or + September% + \or + Oktober% + \or + November% + \or + Dezember% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMdeATmonthname} +%\changes{2.0}{2017-10-03}{Implemented Austrian month names} +% Austrian German month names. +% \begin{macrocode} +\newcommand*{\DTMdeATmonthname}[1]{% + \ifcase#1 + \or + J\protect\"anner% + \or + Februar% + \or + M\protect\"arz% + \or + April% + \or + Mai% + \or + Juni% + \or + Juli% + \or + August% + \or + September% + \or + Oktober% + \or + November% + \or + Dezember% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMgermanshortmonthname} +% Abbreviated German month names. +%\changes{1.2}{2017-09-10}{Implemented short month names} +%\changes{2.0}{2017-10-03}{Fixed German short month names} +% \begin{macrocode} +\newcommand*{\DTMgermanshortmonthname}[1]{% + \ifcase#1 + \or + Jan.% + \or + Feb.% + \or + M\protect\"arz% + \or + Apr.% + \or + Mai% + \or + Juni% + \or + Juli% + \or + Aug.% + \or + Sept.% + \or + Okt.% + \or + Nov.% + \or + Dez.% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMdeATshortmonthname} +%\changes{2.0}{2017-10-03}{Implemented Austrian short month names} +% Abbreviated Austrian German month names. +% \begin{macrocode} +\newcommand*{\DTMdeATshortmonthname}[1]{% + \ifcase#1 + \or + J\protect\"an.% + \or + Feb.% + \or + M\protect\"arz% + \or + Apr.% + \or + Mai% + \or + Juni% + \or + Juli% + \or + Aug.% + \or + Sept.% + \or + Okt.% + \or + Nov.% + \or + Dez.% + \fi +} +% \end{macrocode} +%\end{macro} +% +%\begin{macro}{\DTMdeCHshortmonthname} +% Abbreviated Swiss German month names. +%\changes{2.0}{2017-10-03}{Implemented Swiss short month names} +% \begin{macrocode} +\newcommand*{\DTMdeCHshortmonthname}[1]{% + \ifcase#1 + \or + Jan.% + \or + Febr.% + \or + M\protect\"arz% + \or + April% + \or + Mai% + \or + Juni% + \or + Juli% + \or + Aug.% + \or + Sept.% + \or + Okt.% + \or + Nov.% + \or + Dez.% + \fi +} +% \end{macrocode} +%\end{macro} +% +\endinput |