summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/doc/english/scrdatetime.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/doc/english/scrdatetime.tex')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/doc/english/scrdatetime.tex126
1 files changed, 83 insertions, 43 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/english/scrdatetime.tex b/Master/texmf-dist/source/latex/koma-script/doc/english/scrdatetime.tex
index 82ec269a6aa..2fde1fe84a4 100644
--- a/Master/texmf-dist/source/latex/koma-script/doc/english/scrdatetime.tex
+++ b/Master/texmf-dist/source/latex/koma-script/doc/english/scrdatetime.tex
@@ -1,6 +1,6 @@
% ======================================================================
% scrdatetime.tex
-% Copyright (c) Markus Kohm, 2001-2013
+% Copyright (c) Markus Kohm, 2001-2014
%
% This file is part of the LaTeX2e KOMA-Script bundle.
%
@@ -18,7 +18,7 @@
% This work consists of all files listed in manifest.txt.
% ----------------------------------------------------------------------
% scrdatetime.tex
-% Copyright (c) Markus Kohm, 2001-2013
+% Copyright (c) Markus Kohm, 2001-2014
%
% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz,
% Version 1.3c, verteilt und/oder veraendert werden.
@@ -46,33 +46,34 @@
% ============================================================================
\KOMAProvidesFile{scrdatetime.tex}
- [$Date: 2013-12-13 12:13:03 +0100 (Fr, 13 Dez 2013) $
+ [$Date: 2014-01-23 16:22:54 +0100 (Thu, 23 Jan 2014) $
KOMA-Script guide (chapter: scrdate, scrtime)]
\translator{Markus Kohm\and Gernot Hassenpflug}
-% Date of translated German file: 2012/02/23
-
-\chapter{Weekday and Time Using \Package{scrdate} and
- \Package{scrtime}}
-\labelbase{datetime}
-
-There are two packages included in {\KOMAScript} to improve and extend
-the handling of date\Index{date} and time\Index{time} over and above
-what is provided by the standard commands \Macro{today} and
-\Macro{date}. Like all the other packages from the {\KOMAScript}
-bundle these two packages may be used not only with {\KOMAScript}
-classes but also with the standard and many other classes.
-
-Since
-\KOMAScript~3.05a\ChangedAt{v3.05a}{\Package{scrdate}\and\Package{scrtime}}
-this packages use the common version number of \KOMAScript. This change has
-been done, because the packages need the corresponding version of
-\Package{scrkbase} and \Package{scrbase}.
-
-
-\section{The Day of the Week Using
- \Package{scrdate}}
-\label{sec:datetime.scrdate}
+% Date of translated German file: 2014/01/23
+
+% \chapter{Weekday and Time Using \Package{scrdate} and
+% \Package{scrtime}}
+% \labelbase{datetime}
+
+% There are two packages included in {\KOMAScript} to improve and extend
+% the handling of date\Index{date} and time\Index{time} over and above
+% what is provided by the standard commands \Macro{today} and
+% \Macro{date}. Like all the other packages from the {\KOMAScript}
+% bundle these two packages may be used not only with {\KOMAScript}
+% classes but also with the standard and many other classes.
+
+% Since
+% \KOMAScript~3.05a\ChangedAt{v3.05a}{\Package{scrdate}\and\Package{scrtime}}
+% this packages use the common version number of \KOMAScript. This change has
+% been done, because the packages need the corresponding version of
+% \Package{scrkbase} and \Package{scrbase}.
+
+% \section{The Day of the Week Using
+% \Package{scrdate}}
+% \label{sec:datetime.scrdate}
+\chapter{The Day of the Week Using \Package{scrdate}}
+\labelbase{scrdate}
\BeginIndex{Package}{scrdate}
With version~3.05a the functionality of this package enhanced a lot. Beside of
@@ -88,10 +89,12 @@ day of the week of every date of the Gregorian calendar now.
The\ChangedAt{v3.05a}{\Package{scrdate}} command \Macro{CenturyPart} offers
the value of the century digits\,---\,hundreds and thousands\,---\,of a
\PName{year}. The command \Macro{DecadePart} in difference offers the other
-digits which are the units and tens. The number of digits of \PName{year}
-does not care. The value may be assigned to a counter or may be used for
-calculations, i.\,e., using \Macro{numexpr}\IndexCmd{numexpr}. For output of
-an Arabic number of the value prefix it with \Macro{the}\IndexCmd{the}.
+digits which are the units and tens. The number of digits of \PName{year} does
+not care. The value may be assigned to a counter or may be used for
+calculations, i.\,e., using \Macro{numexpr}\IndexCmd{numexpr}. For
+output\textnote{Attention!} of an Arabic number of the value prefix it with
+\Macro{the}
+\IndexCmd{the}.
\begin{Example}
You want to calculate and output the century of the current year.
@@ -129,8 +132,8 @@ expected format of the \PName{ISO-date} is:
\PName{year}\texttt{-}\PName{month}\texttt{-}\PName{day}. It does not matter
whether \PName{month} or \PName{day} have one or two digits. The result of
both commands may be assigned to a counter or used for calculations, i.\,e.,
-using \Macro{numexpr}\IndexCmd{numexpr}. For output of
-an Arabic number of the value prefix it with \Macro{the}\IndexCmd{the}.
+using \Macro{numexpr}\IndexCmd{numexpr}. For output\textnote{Attention!} of an
+Arabic number of the value prefix it with \Macro{the}\IndexCmd{the}.
\begin{Example}
You want to know the number of the day of the week of the 1st~May~2027.
@@ -319,13 +322,40 @@ There's no such command for changing the result of
\EndIndex{Cmd}{nameday}
-\minisec{Name of the day of the week in different languages}%
-Currently the package \Package{scrdate} knows the languages English (english,
-american, USenglish, UKenglish and british), German (german, ngerman,
-austrian\ChangedAt{v3.08b}{\Package{scrdate}}, and naustrian), French
-(french), Italian (italian), Spanish (spanish), Croatian (croatian), Finnish
-(finnish), Norwegian (norsk), Swedish (swedish), and Danish (danish). If you
-want to configure it for other languages, see \File{scrdate.dtx}.
+\begin{Declaration}
+ \Macro{newdaylanguage}\Parameter{language}\\
+ \hphantom{\XMacro{newdaylanguage}}%
+ \Parameter{Monday}\Parameter{Tuesday}\Parameter{Wednesday}%
+ \Parameter{Thursday}\\
+ \hphantom{\XMacro{newdaylanguage}}%
+ \Parameter{Friday}\Parameter{Saturday}\Parameter{Sunday}%
+\end{Declaration}
+\BeginIndex{Cmd}{newdaylanguage}
+Currently the package \Package{scrdate} knows the following languages:
+\begin{itemize}
+\item Croatian (\PValue{croatian}),
+\item Czech (\PValue{czech}\ChangedAt{v3.13}{\Package{scrdate}}),
+\item Danish (\PValue{danish}),
+\item Dutch (\PValue{dutch}),
+\item English (\PValue{american}\ChangedAt{v3.13}{\Package{scrdate}},
+ \PValue{australian}, \PValue{british}, \PValue{canadian}, \PValue{english},
+ \PValue{UKenglish}, and USenglish),
+\item Finnish (\PValue{finnish}),
+\item French (\PValue{acadian}, \PValue{canadien},
+ \PValue{francais}\ChangedAt{v3.13}{\Package{scrdate}}, and \PValue{french}),
+\item German (\PValue{austrian}\ChangedAt{v3.08b}{\Package{scrdate}},
+ \PValue{german}, \PValue{naustrian}, \PValue{ngerman},
+ \PValue{nswissgerman}, and
+ \PValue{swissgerman}\ChangedAt{v3.13}{\Package{scrdate}}),
+\item Italian (\PValue{italian}),
+\item Norwegian (\PValue{norsk}),
+\item Polish (\PValue{polish}\ChangedAt{v3.13}{\Package{scrdate}}),
+\item Spanish (\PValue{spanish}),
+\item Swedish (\PValue{swedish}).
+\end{itemize}
+If you want to configure it for other languages, you may use this command. The
+first argument is the name of the language and the other arguments are the
+names of the corresponding days.
In the current implementation it does not matter whether you load
\Package{scrdate} before or after
@@ -342,15 +372,25 @@ correct language will be used.
by \Package{scrdate}. If you are using another language selection you will
get (US-)English names.
\end{Explain}
+
+By the way: If you found a suitable definition for a language, that has not
+been defined before, please mail it to the \KOMAScript{} author. There is a
+good chance, that he will add support for the language to \Package{scrdate}.%
+\EndIndex{Cmd}{newdaylanguage}%
+%
\EndIndex{Package}{scrdate}
-\section{Getting the Time with Package}
-\label{sec:datetime.scrtime}
+% \section{Getting the Time with Package}
+% \label{sec:datetime.scrtime}
+\chapter{Getting the Time with Package \Package{scrtime}}
+\labelbase{scrtime}
\BeginIndex{Package}{scrtime}
-The second problem is the question of the current time. The solution
-may be found using package \Package{scrtime}.
+This package provides an answer to the question of the current time. Since
+version~3.05 this package uses the option interface already known from
+the \KOMAScript{} classes and several other \KOMAScript{} packages. See for
+example \autoref{sec:typearea.options} for more information.
\begin{Declaration}%
\Macro{thistime}\OParameter{delimiter}\\