summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/koma-script/source-doc/english/scrdatetime.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/koma-script/source-doc/english/scrdatetime.tex')
-rw-r--r--macros/latex/contrib/koma-script/source-doc/english/scrdatetime.tex48
1 files changed, 24 insertions, 24 deletions
diff --git a/macros/latex/contrib/koma-script/source-doc/english/scrdatetime.tex b/macros/latex/contrib/koma-script/source-doc/english/scrdatetime.tex
index e5cd194493..864c97a2af 100644
--- a/macros/latex/contrib/koma-script/source-doc/english/scrdatetime.tex
+++ b/macros/latex/contrib/koma-script/source-doc/english/scrdatetime.tex
@@ -46,11 +46,11 @@
% ============================================================================
\KOMAProvidesFile{scrdatetime.tex}
- [$Date: 2019-10-10 10:04:30 +0200 (Thu, 10 Oct 2019) $
+ [$Date: 2019-11-15 08:07:56 +0100 (Fri, 15 Nov 2019) $
KOMA-Script guide (chapter: scrdate, scrtime)]
\translator{Markus Kohm\and Gernot Hassenpflug\and Karl Hagen}
-% Date of the translated German file: 2019-10-10
+% Date of the translated German file: 2019-11-15
\chapter{The Day of the Week with \Package{scrdate}}
\labelbase{scrdate}
@@ -81,10 +81,10 @@ Arabic number, you should prefix it with \Macro{the}\IndexCmd{the}.
of the \engord{\numexpr\CenturyPart{\year}+1\relax} century.
\end{lstcode}
The result would be:
- \begin{quote}
+ \begin{ShowOutput}
The year \the\year\ is year \the\DecadePart{\year}
of the \engordnumber{\numexpr\CenturyPart{\year}+1\relax} century.
- \end{quote}
+ \end{ShowOutput}
This example uses the \Package{engord}\IndexPackage{engord} package.
See \cite{package:engord} for more information.
\end{Example}
@@ -119,10 +119,10 @@ an Arabic number, you should prefix it with \Macro{the}\IndexCmd{the}.
as the number of the day of the week.
\end{lstcode}
The result will be:
- \begin{quote}
+ \begin{ShowOutput}
The 1st~May~2027 has \the\ISODayNumber{2027-5-1}
as the number of the day of the week.
- \end{quote}
+ \end{ShowOutput}
\end{Example}
It is particularly worth noting that you can even step a specified number of
@@ -137,12 +137,12 @@ days into the future or or the past from a given date.
\the\ISODayNumber{2027-12-24-24}.
\end{lstcode}
The result could be, for example:
- \begin{quote}
+ \begin{ShowOutput}
In 12~days, the number of the day of the week
will be \the\DayNumber{\year}{\month}{\day+12}, and
24~days before the 24th~December~2027 it will be
\the\ISODayNumber{2027-12-24-24}.
- \end{quote}
+ \end{ShowOutput}
\end{Example}
The days of the week are numbered as follows: Sunday\,=\,0, Monday\,=\,1,
@@ -172,10 +172,10 @@ the week of a given date.
24th~December~2027 the amount of \dots.
\end{lstcode}
The result will be:
- \begin{quote}
+ \begin{ShowOutput}
Please pay by \ISODayName{2027-12-24},
24th~December~2027 the amount of \dots.
- \end{quote}
+ \end{ShowOutput}
\end{Example}
Once again, it is particularly worth noting that you can perform calculations,
@@ -192,14 +192,14 @@ to a certain extent:
\DayNameByNumber{3+2*7+3}.
\end{lstcode}
The result could be, for example:
- \begin{quote}
+ \begin{ShowOutput}
In 12~days, the name of the day of the week
will be \DayName{\year}{\month}{\day+12}, and
24~days before the 24th~December~2027 it will be
\ISODayName{2027-12-24-24}, while two weeks
and three days after a Wednesday will be a
\DayNameByNumber{3+2*7+3}.
- \end{quote}
+ \end{ShowOutput}
\end{Example}%
%
\EndIndexGroup
@@ -230,9 +230,9 @@ in the explanations of \DescRef{scrdate.cmd.DayNumber} and
This document was created on a \todaysname.
\end{lstlisting}
This will result, for example, in:
- \begin{quote}
+ \begin{ShowOutput}
This document was created on a \todaysname.
- \end{quote}
+ \end{ShowOutput}
\end{Example}
For languages that have a case system for nouns, note that the package cannot
@@ -275,9 +275,9 @@ Just as you can directly modify the output of \Macro{today} with
\nameday{workday}
\end{lstlisting}
After this, the previous example will result in:
- \begin{quote}\nameday{workday}
+ \begin{ShowOutput}\nameday{workday}
This document was created on a \todaysname.
- \end{quote}
+ \end{ShowOutput}
\end{Example}
There's no corresponding command to change the result of
\DescRef{scrdate.cmd.ISOToday}\IndexCmd{ISOToday} or
@@ -368,26 +368,26 @@ leading zero to the minute field when its value is less than 10. Thus, with
Your train departs at \thistime.
\end{lstlisting}
results, for example, in:
- \begin{quote}
+ \begin{ShowOutput}
Your train departs at \thistime.
- \end{quote}
+ \end{ShowOutput}
or:
- \begin{quote}
+ \begin{ShowOutput}
Your train departs at 23:09.
- \end{quote}
+ \end{ShowOutput}
\bigskip
In contrast to the previous example a line like:
\begin{lstlisting}
This day is already \thistime*[\ hours and\ ] minutes old.
\end{lstlisting}
results in:
- \begin{quote}
+ \begin{ShowOutput}
This day is already \thistime*[\ hours and\ ] minutes old.
- \end{quote}
+ \end{ShowOutput}
or:
- \begin{quote}
+ \begin{ShowOutput}
This day is already 12 hours and 25 minutes old.
- \end{quote}
+ \end{ShowOutput}
\end{Example}
\EndIndexGroup