diff options
63 files changed, 1682 insertions, 1768 deletions
diff --git a/Master/texmf-dist/doc/latex/datetime/CHANGES b/Master/texmf-dist/doc/latex/datetime/CHANGES index 23292708813..4d6f411bb64 100644 --- a/Master/texmf-dist/doc/latex/datetime/CHANGES +++ b/Master/texmf-dist/doc/latex/datetime/CHANGES @@ -1,5 +1,22 @@ datetime.sty history +Version 2.60: + + * datetime.sty: + + - Fixed bug in \amorpmname + + * dt-welsh.def: + + - Removed "a viz" + + * dt-croatian.def: + + - Changed "studenog" to studenoga" to keep in line with babel + + Added some more week day name translations provided by various +people + Version 2.59: * Made \ordinaldate robust. @@ -10,6 +27,8 @@ Version 2.59: * New: \DTifDefLoaded, \DTloadDefIfNotLoadedButExists + * Added Croatian days of the week (supplied by Ivan Kokan). + Version 2.58: * Added Polish days of the week (supplied by Piotr Kempa). @@ -95,4 +114,4 @@ provided by this package. see accompanying README file for license and installation information. -http://theoval.cmp.uea.ac.uk/~nlct/ +http://www.dickimaw-books.com/ diff --git a/Master/texmf-dist/doc/latex/datetime/README b/Master/texmf-dist/doc/latex/datetime/README index c4d3134c89c..d9fd96a4bbf 100644 --- a/Master/texmf-dist/doc/latex/datetime/README +++ b/Master/texmf-dist/doc/latex/datetime/README @@ -1,9 +1,11 @@ -LaTeX Package : datetime v2.59 +LaTeX Package : datetime v2.60 -Last Modified : 2013-09-10 +Last Modified : 2015-03-20 Author : Nicola Talbot +Package FAQ : http://www.dickimaw-books.com/faqs/datetimefaq.html + Files : datetime.dtx - documented source file datetime.ins - installation script datetime.perl - LaTeX2HTML style file @@ -47,7 +49,7 @@ directory (e.g. texmf/doc/latex/datetime/). Read the file CHANGES for version changes. This material is subject to the LaTeX Project Public License. -See http://www.ctan.org/tex-archive/help/Catalogue/licenses.lppl.html for +See http://www.ctan.org/license/lppl1.3 for the details of that license. http://www.dickimaw-books.com/ diff --git a/Master/texmf-dist/doc/latex/datetime/datetime-manual.css b/Master/texmf-dist/doc/latex/datetime/datetime-manual.css index d295e3be6dc..6968b9226cb 100644 --- a/Master/texmf-dist/doc/latex/datetime/datetime-manual.css +++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.css @@ -1,77 +1,43 @@ /* start css.sty */ -.futr8t-x-x-109{} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-2074{font-size:181%; font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.futr8t-x-x-144{font-size:130%;} -.futr8t-{font-size:90%;} -.ectt-1440{font-size:127%; font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.futmii-x-x-109{} -.futsy-x-x-109{} -.futri8t-x-x-109{} -.ectt-1000{font-size:90%; font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.futr8t-x-x-90{font-size:81%;} -.ecss-0900{font-size:81%; font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.futb8t-x-x-109{} -.ectt-0900{font-size:81%; font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} +.cmmi-10{font-style: italic;} +.cmr-17{font-size:170%;} +.cmr-12{font-size:120%;} +.cmr-8{font-size:80%;} +.cmsy-8{font-size:80%;} +.cmtt-12{font-size:120%;font-family: monospace;} +.cmtt-12{font-family: monospace;} +.cmtt-12{font-family: monospace;} +.cmtt-12{font-family: monospace;} +.cmtt-12{font-family: monospace;} +.cmss-10{ font-family: sans-serif;} +.cmss-10{ font-family: sans-serif;} +.cmss-10{ font-family: sans-serif;} +.cmtt-10{font-family: monospace;} +.cmtt-10{font-family: monospace;} +.cmtt-10{font-family: monospace;} +.cmtt-10{font-family: monospace;} +.cmtt-10{font-family: monospace;} +.cmti-10{ font-style: italic;} +.cmtt-9{font-size:90%;font-family: monospace;} +.cmtt-9{font-family: monospace;} +.cmtt-9{font-family: monospace;} +.cmtt-9{font-family: monospace;} +.cmtt-9{font-family: monospace;} +.cmr-9{font-size:90%;} +.cmss-8{font-size:80%; font-family: sans-serif;} +.cmss-8{ font-family: sans-serif;} +.cmss-8{ font-family: sans-serif;} +.cmitt-10{font-family: monospace; font-style: italic;} +.cmbx-10{ font-weight: bold;} +.cmtt-8{font-size:80%;font-family: monospace;} +.cmtt-8{font-family: monospace;} +.cmtt-8{font-family: monospace;} +.cmtt-8{font-family: monospace;} +.cmtt-8{font-family: monospace;} +.cmssbx-10{ font-family: sans-serif; font-weight: bold;} +.cmssbx-10{ font-family: sans-serif; font-weight: bold;} +.cmssbx-10{ font-family: sans-serif; font-weight: bold;} p.noindent { text-indent: 0em } td p.noindent { text-indent: 0em; margin-top:0em; } p.nopar { text-indent: 0em; } @@ -180,8 +146,7 @@ div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } .quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; } .abstract p {margin-left:5%; margin-right:5%;} div.abstract {width:100%;} -span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; } -table.multicols { width:100%; margin-left:1em; margin-top:1em; margin-bottom:1em; } -div.important { background-color:red; } +div.important { border : solid red; } +div.verbatim { font-family: monospace; white-space: nowrap; text-align:left; clear:both; padding-top: 2ex; padding-bottom: 2ex;} /* end css.sty */ diff --git a/Master/texmf-dist/doc/latex/datetime/datetime-manual.html b/Master/texmf-dist/doc/latex/datetime/datetime-manual.html index e269968cea4..5c09dd7e449 100644 --- a/Master/texmf-dist/doc/latex/datetime/datetime-manual.html +++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.html @@ -4,90 +4,56 @@ <!--http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd--> <html xmlns="http://www.w3.org/1999/xhtml" > -<head><title>datetime.sty v2.59: Formatting Current Date and Time</title> +<head><title>datetime.sty v2.60: Formatting Current Date and Time</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> -<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)" /> +<meta name="generator" content="TeX4ht (http://www.tug.org/tex4ht/)" /> +<meta name="originator" content="TeX4ht (http://www.tug.org/tex4ht/)" /> <!-- xhtml,fn-in,css-in,uni-html4,utf8 --> <meta name="src" content="datetime-manual.tex" /> -<meta name="date" content="2013-09-10 11:43:00" /> +<meta name="date" content="2015-03-20 16:54:00" /> <style type="text/css"> <!-- /* start css.sty */ -.futr8t-x-x-109{} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecss-1095{ font-family: sans-serif;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-1095{ font-weight: bold;} -.ecsx-2074{font-size:181%; font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.ecsx-2074{ font-weight: bold;} -.futr8t-x-x-144{font-size:130%;} -.futr8t-{font-size:90%;} -.ectt-1440{font-size:127%; font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1440{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.ectt-1095{ font-family: monospace;} -.futmii-x-x-109{} -.futsy-x-x-109{} -.futri8t-x-x-109{} -.ectt-1000{font-size:90%; font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.ectt-1000{ font-family: monospace;} -.futr8t-x-x-90{font-size:81%;} -.ecss-0900{font-size:81%; font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.ecss-0900{ font-family: sans-serif;} -.futb8t-x-x-109{} -.ectt-0900{font-size:81%; font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} -.ectt-0900{ font-family: monospace;} +.cmmi-10{font-style: italic;} +.cmr-17{font-size:170%;} +.cmr-12{font-size:120%;} +.cmr-8{font-size:80%;} +.cmsy-8{font-size:80%;} +.cmtt-12{font-size:120%;font-family: monospace;} +.cmtt-12{font-family: monospace;} +.cmtt-12{font-family: monospace;} +.cmtt-12{font-family: monospace;} +.cmtt-12{font-family: monospace;} +.cmss-10{ font-family: sans-serif;} +.cmss-10{ font-family: sans-serif;} +.cmss-10{ font-family: sans-serif;} +.cmtt-10{font-family: monospace;} +.cmtt-10{font-family: monospace;} +.cmtt-10{font-family: monospace;} +.cmtt-10{font-family: monospace;} +.cmtt-10{font-family: monospace;} +.cmti-10{ font-style: italic;} +.cmtt-9{font-size:90%;font-family: monospace;} +.cmtt-9{font-family: monospace;} +.cmtt-9{font-family: monospace;} +.cmtt-9{font-family: monospace;} +.cmtt-9{font-family: monospace;} +.cmr-9{font-size:90%;} +.cmss-8{font-size:80%; font-family: sans-serif;} +.cmss-8{ font-family: sans-serif;} +.cmss-8{ font-family: sans-serif;} +.cmitt-10{font-family: monospace; font-style: italic;} +.cmbx-10{ font-weight: bold;} +.cmtt-8{font-size:80%;font-family: monospace;} +.cmtt-8{font-family: monospace;} +.cmtt-8{font-family: monospace;} +.cmtt-8{font-family: monospace;} +.cmtt-8{font-family: monospace;} +.cmssbx-10{ font-family: sans-serif; font-weight: bold;} +.cmssbx-10{ font-family: sans-serif; font-weight: bold;} +.cmssbx-10{ font-family: sans-serif; font-weight: bold;} p.noindent { text-indent: 0em } td p.noindent { text-indent: 0em; margin-top:0em; } p.nopar { text-indent: 0em; } @@ -196,9 +162,8 @@ div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; } .quotation {margin-bottom:0.25em; margin-top:0.25em; margin-left:1em; } .abstract p {margin-left:5%; margin-right:5%;} div.abstract {width:100%;} -span.footnote-mark sup.textsuperscript, span.footnote-mark a sup.textsuperscript{ font-size:80%; } -table.multicols { width:100%; margin-left:1em; margin-top:1em; margin-bottom:1em; } -div.important { background-color:red; } +div.important { border : solid red; } +div.verbatim { font-family: monospace; white-space: nowrap; text-align:left; clear:both; padding-top: 2ex; padding-bottom: 2ex;} /* end css.sty */ @@ -206,580 +171,550 @@ div.important { background-color:red; } </style> </head><body > - <div class="maketitle"> + <div class="maketitle"><a + id="top"></a> + + -<div class="minipage"><a - id="top"></a> -</div> -<h2 class="titleHead">datetime.sty v2.59: Formatting -Current Date and Time</h2> - <div class="author" ><span -class="futr8t-x-x-144">Nicola L. C. Talbot</span> -<br /> <span -class="futr8t-x-x-144">Dickimaw Books</span> +<h2 class="titleHead">datetime.sty v2.60: Formatting Current Date and +Time</h2> + <div class="author" ><span +class="cmr-12">Nicola L. C. Talbot</span> +<br /> <span +class="cmr-12">Dickimaw Books</span> <br /><a href="http://www.dickimaw-books.com/" class="url" ><span -class="ectt-1440">http://www.dickimaw-books.com/</span></a></div><br /> +class="cmtt-12">http://www.dickimaw-books.com/</span></a></div><br /> <div class="date" ><span -class="futr8t-x-x-144">2013-09-10</span></div> - </div> - <h3 class="likesectionHead"><a +class="cmr-12">2015-03-20</span></div> + </div> +<!--l. 25--><p class="indent" > <div class="important" title="Important Note"> This is the last version of this package. The replacement package is called <span +class="cmss-10">datetime2</span><a + id="dx1-2"></a> +and will be released shortly after the this final version. </div> +</p><!--l. 29--><p class="noindent" > +</p> + <h3 class="likesectionHead"><a id="x1-1000"></a>Contents</h3> - <div class="tableofcontents"> - <span class="sectionToc" >1 <a + <div class="tableofcontents"> + <span class="sectionToc" >1 <a href="#x1-20001" id="QQ2-1-2">Introduction</a></span> -<br /> <span class="sectionToc" >2 <a -href="#x1-30002" id="QQ2-1-3">Prede -<br />  <span class="subsectionToc" >2.1 <a +<br /> <span class="sectionToc" >2 <a +href="#x1-30002" id="QQ2-1-3">Predefined Date Formats</a></span> +<br />  <span class="subsectionToc" >2.1 <a href="#x1-40002.1" id="QQ2-1-4">ISO format</a></span> -<br />  <span class="subsectionToc" >2.2 <a +<br />  <span class="subsectionToc" >2.2 <a href="#x1-50002.2" id="QQ2-1-5"><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">Day</span><span -class="futsy-x-x-109">ih</span><span -class="futri8t-x-x-109">Month</span><span -class="futsy-x-x-109">ih</span><span -class="futri8t-x-x-109">Year</span><span -class="futsy-x-x-109">i </span>formats</a></span> -<br />  <span class="subsectionToc" >2.3 <a +class="cmti-10">Day Month Year </span>formats</a></span> +<br />  <span class="subsectionToc" >2.3 <a href="#x1-60002.3" id="QQ2-1-6"><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">Month</span><span -class="futsy-x-x-109">ih</span><span -class="futri8t-x-x-109">Day</span><span -class="futsy-x-x-109">ih</span><span -class="futri8t-x-x-109">Year</span><span -class="futsy-x-x-109">i </span>formats</a></span> -<br />  <span class="subsectionToc" >2.4 <a -href="#x1-70002.4" id="QQ2-1-7">Dates de -class="ecss-1095">babel</span></a></span> -<br /> <span class="sectionToc" >3 <a +class="cmti-10">Month Day Year </span>formats</a></span> +<br />  <span class="subsectionToc" >2.4 <a +href="#x1-70002.4" id="QQ2-1-7">Dates defined by <span +class="cmss-10">babel</span></a></span> +<br /> <span class="sectionToc" >3 <a href="#x1-80003" id="QQ2-1-8">Time Commands</a></span> -<br /> <span class="sectionToc" >4 <a +<br /> <span class="sectionToc" >4 <a href="#x1-90004" id="QQ2-1-9">Formating Dates</a></span> -<br /> <span class="sectionToc" >5 <a -href="#x1-100005" id="QQ2-1-10">De -<br /> <span class="sectionToc" >6 <a +<br /> <span class="sectionToc" >5 <a +href="#x1-100005" id="QQ2-1-10">Defining New Date Formats</a></span> +<br /> <span class="sectionToc" >6 <a href="#x1-110006" id="QQ2-1-11">Saving Dates</a></span> -<br /> <span class="sectionToc" >7 <a -href="#x1-120007" id="QQ2-1-12">Prede -<br /> <span class="sectionToc" >8 <a +<br /> <span class="sectionToc" >7 <a +href="#x1-120007" id="QQ2-1-12">Predefined Names</a></span> +<br /> <span class="sectionToc" >8 <a href="#x1-130008" id="QQ2-1-13">Package Options</a></span> -<br /> <span class="sectionToc" >9 <a +<br /> <span class="sectionToc" >9 <a href="#x1-140009" id="QQ2-1-14">Multilingual Support</a></span> -<br /> <span class="sectionToc" >10 <a +<br /> <span class="sectionToc" >10 <a href="#x1-1500010" id="QQ2-1-15">Registers</a></span> -<br /> <span class="sectionToc" >11 <a -href="#x1-1600011" id="QQ2-1-16">Con -<br /> <span class="sectionToc" >12 <a +<br /> <span class="sectionToc" >11 <a +href="#x1-1600011" id="QQ2-1-16">Configuration File</a></span> +<br /> <span class="sectionToc" >12 <a href="#x1-1700012" id="QQ2-1-17">LaTeX2HTML styles</a></span> -<br /> <span class="sectionToc" >13 <a +<br /> <span class="sectionToc" >13 <a href="#x1-1800013" id="QQ2-1-18">Troubleshooting</a></span> -<br /> <span class="sectionToc" ><a -href="#Q1-1-19">Index</a></span> + - </div> - <h3 class="sectionHead"><span class="titlemark">1 </span> <a +<br /> <span class="sectionToc" ><a +href="#Q1-1-19">Index</a></span> +<br /> <span class="sectionToc" ><a +href="#Q1-1-20">Index</a></span> + </div> +<!--l. 33--><p class="noindent" > +</p> +<!--l. 33--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">1 </span> <a id="x1-20001"></a>Introduction</h3> <a id="dx1-2001"></a> <a id="dx1-2002"></a> -<!--l. 28--><p class="noindent" >The <span -class="ecss-1095">datetime </span>package is a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span +<!--l. 36--><p class="noindent" >The <span +class="cmss-10">datetime </span>package is a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span>2<span -class="futmii-x-x-109">"</span> package that provides various di -for <span -class="ectt-1095">\today</span><a - id="dx1-2003"></a>, and provides commands for displaying the current time. If you only want -the time commands but not the date changing commands, you can pass the option +class="cmmi-10">ε</span> package that provides various different formats for <span -class="ecss-1095">nodate</span><a - id="dx1-2004"></a> to the package. <a +class="cmtt-10">\today</span><a + id="dx1-2003"></a>, and provides commands for displaying the current time. If you only want the +time commands but not the date changing commands, you can pass the option <span +class="cmss-10">nodate</span><a + id="dx1-2004"></a> +to the package. <a id="dx1-2005"></a> <a id="dx1-2006"></a> -</p><!--l. 38--><p class="indent" > Since version 2.4, the <span -class="ecss-1095">datetime </span>package has been separated into two packages: +</p><!--l. 46--><p class="indent" > Since version 2.4, the <span +class="cmss-10">datetime </span>package has been separated into two packages: <span -class="ecss-1095">datetime </span>and <span -class="ecss-1095">fmtcount</span><a - id="dx1-2007"></a>. When I originally created this package, I de -commands, <span -class="ectt-1095">\ordinal</span><a - id="dx1-2008"></a> etc which could be used in the de -class="ectt-1095">\today</span>. Since -then, I have extended the number of commands available that can be used to display -the value of a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> counter, however it seems more appropriate to de +class="cmss-10">datetime </span>and <span +class="cmss-10">fmtcount</span><a + id="dx1-2007"></a>. When I originally created this package, I defined the commands, +<span +class="cmtt-10">\ordinal</span><a + id="dx1-2008"></a> etc which could be used in the definition of <span +class="cmtt-10">\today</span>. Since then, I have +extended the number of commands available that can be used to display the value +of a <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span +class="E">E</span>X</span></span> counter, however it seems more appropriate to define all these counter-related commands in a separate package. The <span -class="ecss-1095">fmtcount</span><a +class="cmss-10">fmtcount</span><a id="dx1-2009"></a> package is now distributed separately from the <span -class="ecss-1095">datetime </span>package, and will also need to be +class="cmss-10">datetime </span>package, and will also need to be installed. <a id="dx1-2010"></a> -</p><!--l. 51--><p class="indent" > As from version 2.42, the <span -class="ecss-1095">datetime </span>package is now compatible with <span -class="ecss-1095">babel</span><a - id="dx1-2011"></a>, -however you must load the <span -class="ecss-1095">datetime </span>package <span -class="futri8t-x-x-109">after </span>the <span -class="ecss-1095">babel</span><a - id="dx1-2012"></a> package. For -example: +</p><!--l. 59--><p class="indent" > As from version 2.42, the <span +class="cmss-10">datetime </span>package is now compatible with <span +class="cmss-10">babel</span><a + id="dx1-2011"></a>, however +you must load the <span +class="cmss-10">datetime </span>package <span +class="cmti-10">after </span>the <span +class="cmss-10">babel</span><a + id="dx1-2012"></a> package. For example: + </p> - <div class="verbatim" id="verbatim-1"> + <div class="verbatim" id="verbatim-1"> \usepackage[francais]{babel}  <br />\usepackage{datetime} </div> -<!--l. 58--><p class="nopar" > -</p><!--l. 60--><p class="noindent" > +<!--l. 66--><p class="nopar" > +</p><!--l. 68--><p class="noindent" > </p> -<!--l. 60--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">2 </span> <a - id="x1-30002"></a>Prede -<!--l. 61--><p class="noindent" >There are various declarations that change the e -class="ectt-1095">\today</span><a +<!--l. 68--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">2 </span> <a + id="x1-30002"></a>Predefined Date Formats</h3> +<!--l. 69--><p class="noindent" >There are various declarations that change the effect of <span +class="cmtt-10">\today</span><a id="dx1-3001"></a>. The change can be localised by placing the declaration within a group. -</p><!--l. 65--><p class="indent" > As from version 2.43, the numerical date formats (such as <span -class="ectt-1095">\ddmmyyyydate</span><a +</p><!--l. 73--><p class="indent" > As from version 2.43, the numerical date formats (such as <span +class="cmtt-10">\ddmmyyyydate</span><a id="dx1-3002"></a>) use the command -</p><!--l. 67--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\dateseparator</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 75--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\dateseparator</span><span +class="cmtt-9"> </span></span><a id="dx1-3003"></a> <span -class="ectt-1095">\dateseparator </span></div><hr> -</p><!--l. 69--><p class="noindent" > -to separate the numbers. So, for example, if you want to hyphens instead of slashes, -you can do: +class="cmtt-10">\dateseparator </span></div><hr> +</p><!--l. 77--><p class="noindent" > +to separate the numbers. So, for example, if you want to hyphens instead of slashes, you +can do: + </p> - <div class="verbatim" id="verbatim-2"> + <div class="verbatim" id="verbatim-2"> \renewcommand{\dateseparator}{-} </div> -<!--l. 74--><p class="nopar" > -</p><!--l. 76--><p class="noindent" > +<!--l. 82--><p class="nopar" > +</p><!--l. 84--><p class="noindent" > </p> -<!--l. 76--><p class="noindent" ><a -href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.1 </span> <a +<!--l. 84--><p class="noindent" ><a +href="#top">Top</a><h3 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.1 </span> <a id="x1-40002.1"></a>ISO format</h4> -<!--l. 78--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\yyyymmdddate</span><span -class="ectt-1000"> </span></span><a +<!--l. 86--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\yyyymmdddate</span><span +class="cmtt-9"> </span></span><a id="dx1-4001"></a> <span -class="ectt-1095">\yyyymmdddate </span></div><hr> -</p><!--l. 80--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a +class="cmtt-10">\yyyymmdddate </span></div><hr> +</p><!--l. 88--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a id="dx1-4002"></a> to produce the current date displayed in -the form 2000/03/08. (You can rede -class="ectt-1095">\dateseparator</span><a +the form 2000/03/08. (You can redefine <span +class="cmtt-10">\dateseparator</span><a id="dx1-4003"></a> to <span -class="ectt-1095">- </span>to change to +class="cmtt-10">- </span>to change to 2000-03-08.) -</p><!--l. 85--><p class="noindent" > +</p><!--l. 93--><p class="noindent" > </p> -<!--l. 85--><p class="noindent" ><a -href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.2 </span> <a - id="x1-50002.2"></a><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">Day</span><span -class="futsy-x-x-109">ih</span><span -class="futri8t-x-x-109">Month</span><span -class="futsy-x-x-109">ih</span><span -class="futri8t-x-x-109">Year</span><span -class="futsy-x-x-109">i </span>formats</h4> -<!--l. 87--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\longdate</span><span -class="ectt-1000"> </span></span><a +<!--l. 93--><p class="noindent" ><a +href="#top">Top</a><h3 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.2 </span> <a + id="x1-50002.2"></a>⟨<span +class="cmti-10">Day</span>⟩ ⟨<span +class="cmti-10">Month</span>⟩ ⟨<span +class="cmti-10">Year</span>⟩ formats</h4> +<!--l. 95--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\longdate</span><span +class="cmtt-9"> </span></span><a id="dx1-5001"></a> <span -class="ectt-1095">\longdate </span></div><hr> -</p><!--l. 89--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-5002"></a> to produce the current date displayed in the -form Wednesday 8<sup class="textsuperscript"><span -class="futr8t-">th</span></sup> March, 2000 if the package option <span -class="ecss-1095">dayofweek</span><a +class="cmtt-10">\longdate </span></div><hr> +</p><!--l. 97--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-5002"></a> to produce the current date displayed in the form +Wednesday 8<sup class="textsuperscript"><span +class="cmr-9">th</span></sup> March, 2000 if the package option <span +class="cmss-10">dayofweek</span><a id="dx1-5003"></a> is used, or 8<sup class="textsuperscript"><span -class="futr8t-">th</span></sup> -March, 2000 if the package option <span -class="ecss-1095">nodayofweek</span><a +class="cmr-9">th</span></sup> March, 2000 +if the package option <span +class="cmss-10">nodayofweek</span><a id="dx1-5004"></a> is used. -</p><!--l. 96--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\shortdate</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 104--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\shortdate</span><span +class="cmtt-9"> </span></span><a id="dx1-5005"></a> <span -class="ectt-1095">\shortdate </span></div><hr> -</p><!--l. 98--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-5006"></a> to produce the current date displayed in the -form Wed 8<sup class="textsuperscript"><span -class="futr8t-">th</span></sup> Mar, 2000 if the package option <span -class="ecss-1095">dayofweek</span><a +class="cmtt-10">\shortdate </span></div><hr> +</p><!--l. 106--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-5006"></a> to produce the current date displayed in the form +Wed 8<sup class="textsuperscript"><span +class="cmr-9">th</span></sup> Mar, 2000 if the package option <span +class="cmss-10">dayofweek</span><a id="dx1-5007"></a> is used, or 8<sup class="textsuperscript"><span -class="futr8t-">th</span></sup> Mar, 2000 if -the package option <span -class="ecss-1095">nodayofweek</span><a +class="cmr-9">th</span></sup> Mar, 2000 if the +package option <span +class="cmss-10">nodayofweek</span><a id="dx1-5008"></a> is used. -</p><!--l. 105--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\ddmmyyyydate</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 113--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\ddmmyyyydate</span><span +class="cmtt-9"> </span></span><a id="dx1-5009"></a> <span -class="ectt-1095">\ddmmyyyydate </span></div><hr> -</p><!--l. 107--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-5010"></a> to produce the current date displayed in the -form 08/03/2000. -</p><!--l. 111--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\dmyyyydate</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\ddmmyyyydate </span></div><hr> +</p><!--l. 115--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-5010"></a> to produce the current date displayed in the form +08/03/2000. +</p><!--l. 119--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\dmyyyydate</span><span +class="cmtt-9"> </span></span><a id="dx1-5011"></a> <span -class="ectt-1095">\dmyyyydate </span></div><hr> -</p><!--l. 113--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-5012"></a> to produce the current date displayed in the -form 8/3/2000. -</p><!--l. 117--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\ddmmyydate</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\dmyyyydate </span></div><hr> +</p><!--l. 121--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-5012"></a> to produce the current date displayed in the form +8/3/2000. +</p><!--l. 125--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\ddmmyydate</span><span +class="cmtt-9"> </span></span><a id="dx1-5013"></a> <span -class="ectt-1095">\ddmmyydate </span></div><hr> +class="cmtt-10">\ddmmyydate </span></div><hr> +</p><!--l. 127--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-5014"></a> to produce the current date displayed in the form +08/03/00. +</p><!--l. 131--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\dmyydate</span><span +class="cmtt-9"> </span></span><a + id="dx1-5015"></a> <span +class="cmtt-10">\dmyydate </span></div><hr> + -</p><!--l. 119--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-5014"></a> to produce the current date displayed in the -form 08/03/00. -</p><!--l. 123--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\dmyydate</span><span -class="ectt-1000"> </span></span><a - id="dx1-5015"></a> <span -class="ectt-1095">\dmyydate </span></div><hr> -</p><!--l. 125--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-5016"></a> to produce the current date displayed in the -form 8/3/00. -</p><!--l. 129--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\textdate</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 133--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-5016"></a> to produce the current date displayed in the form +8/3/00. +</p><!--l. 137--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\textdate</span><span +class="cmtt-9"> </span></span><a id="dx1-5017"></a> <span -class="ectt-1095">\textdate </span></div><hr> -</p><!--l. 131--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-5018"></a> to produce the current date displayed in -the form: Wednesday the Eighth of March, Two Thousand if the package +class="cmtt-10">\textdate </span></div><hr> +</p><!--l. 139--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-5018"></a> to produce the current date displayed +in the form: Wednesday the Eighth of March, Two Thousand if the package option <span -class="ecss-1095">dayofweek</span><a +class="cmss-10">dayofweek</span><a id="dx1-5019"></a> is used, or Eighth of March, Two Thousand if the package option <span -class="ecss-1095">nodayofweek</span><a +class="cmss-10">nodayofweek</span><a id="dx1-5020"></a> is used. Note that <span -class="ectt-1095">\textdate </span>is de -English, it won't look right if it is used when another language has been +class="cmtt-10">\textdate </span>is defined for use with +English, it won’t look right if it is used when another language has been selected<span class="footnote-mark"><a href="#fn1x0" id="fn1x0-bk"><sup class="textsuperscript">1</sup></a></span><a id="x1-5021f1"></a>. -If you want to de +If you want to define a similar command for another language, you will first need to check that the <span -class="ecss-1095">fmtcount</span><a +class="cmss-10">fmtcount</span><a id="dx1-5023"></a> package supports that language. -</p><!--l. 144--><p class="noindent" > +</p><!--l. 152--><p class="noindent" > </p> -<!--l. 144--><p class="noindent" ><a -href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.3 </span> <a - id="x1-60002.3"></a><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">Month</span><span -class="futsy-x-x-109">ih</span><span -class="futri8t-x-x-109">Day</span><span -class="futsy-x-x-109">ih</span><span -class="futri8t-x-x-109">Year</span><span -class="futsy-x-x-109">i </span>formats</h4> -<!--l. 146--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\usdate</span><span -class="ectt-1000"> </span></span><a +<!--l. 152--><p class="noindent" ><a +href="#top">Top</a><h3 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.3 </span> <a + id="x1-60002.3"></a>⟨<span +class="cmti-10">Month</span>⟩ ⟨<span +class="cmti-10">Day</span>⟩ ⟨<span +class="cmti-10">Year</span>⟩ formats</h4> +<!--l. 154--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\usdate</span><span +class="cmtt-9"> </span></span><a id="dx1-6001"></a> <span -class="ectt-1095">\usdate </span></div><hr> -</p><!--l. 148--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today </span>to produce the current date displayed in the -form March 8, 2000. (As <span class="TEX">T<span +class="cmtt-10">\usdate </span></div><hr> +</p><!--l. 156--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today </span>to produce the current date displayed in the form +March 8, 2000. (As <span class="TEX">T<span class="E">E</span>X</span> and <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span class="E">E</span>X</span></span> do by default.) -</p><!--l. 153--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\mmddyyyydate</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 161--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\mmddyyyydate</span><span +class="cmtt-9"> </span></span><a id="dx1-6002"></a> <span -class="ectt-1095">\mmddyyyydate </span></div><hr> -</p><!--l. 155--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-6003"></a> to produce the current date displayed in the -form 03/08/2000. -</p><!--l. 159--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\mdyyyydate</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\mmddyyyydate </span></div><hr> +</p><!--l. 163--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-6003"></a> to produce the current date displayed in the form +03/08/2000. +</p><!--l. 167--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\mdyyyydate</span><span +class="cmtt-9"> </span></span><a id="dx1-6004"></a> <span -class="ectt-1095">\mdyyyydate </span></div><hr> -</p><!--l. 161--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span></span></span> to produce the current date displayed in the -form 3/8/2000. -</p><!--l. 165--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\mmddyydate</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\mdyyyydate </span></div><hr> +</p><!--l. 169--><p class="noindent" > +This declaration will redefine <span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\today</span></span></span> to produce the current date displayed in the form +3/8/2000. +</p><!--l. 173--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\mmddyydate</span><span +class="cmtt-9"> </span></span><a id="dx1-6005"></a> <span -class="ectt-1095">\mmddyydate </span></div><hr> -</p><!--l. 167--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-6006"></a> to produce the current date displayed in the -form 03/08/00. -</p><!--l. 171--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\mdyydate</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\mmddyydate </span></div><hr> +</p><!--l. 175--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-6006"></a> to produce the current date displayed in the form +03/08/00. +</p><!--l. 179--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\mdyydate</span><span +class="cmtt-9"> </span></span><a id="dx1-6007"></a> <span -class="ectt-1095">\mdyydate </span></div><hr> -</p><!--l. 173--><p class="noindent" > -This declaration will rede -class="ectt-1095">\today</span><a - id="dx1-6008"></a> to produce the current date displayed in the -form 3/8/00. - - -</p><!--l. 177--><p class="noindent" > -</p> -<!--l. 177--><p class="noindent" ><a -href="#top">Top</a></p><h4 class="subsectionHead"><span class="titlemark">2.4 </span> <a - id="x1-70002.4"></a>Dates de -class="ecss-1095">babel</span></h4> -<!--l. 179--><p class="noindent" >In addition to the above, the declarations <span -class="ectt-1095">\date</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">lang</span><span -class="futsy-x-x-109">i </span>are available for all languages -de -class="ecss-1095">babel</span><a - id="dx1-7001"></a> prior to <span -class="ecss-1095">datetime </span>or by passing the language name as -an option to <span -class="ecss-1095">datetime</span>. See <a -href="#x1-100005"> -href="#x1-100005">De -own customised date format. +class="cmtt-10">\mdyydate </span></div><hr> +</p><!--l. 181--><p class="noindent" > +This declaration will redefine <span +class="cmtt-10">\today</span><a + id="dx1-6008"></a> to produce the current date displayed in the form +3/8/00. </p><!--l. 185--><p class="noindent" > </p> <!--l. 185--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">3 </span> <a +href="#top">Top</a><h3 class="subsectionHead"></p><h4 class="subsectionHead"><span class="titlemark">2.4 </span> <a + id="x1-70002.4"></a>Dates defined by <span +class="cmss-10">babel</span></h4> +<!--l. 187--><p class="noindent" >In addition to the above, the declarations <span +class="cmtt-10">\date</span>⟨<span +class="cmti-10">lang</span>⟩ are available for all languages +defined either by calling <span +class="cmss-10">babel</span><a + id="dx1-7001"></a> prior to <span +class="cmss-10">datetime </span>or by passing the language name as an + + + +option to <span +class="cmss-10">datetime</span>. See <a +href="#x1-100005"><span +class="cmsy-10">§</span>5 </a><a +href="#x1-100005">Defining New Date Formats<!--tex4ht:ref: sec:newdate --></a> if you want to define your own +customised date format. +</p><!--l. 193--><p class="noindent" > +</p> +<!--l. 193--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">3 </span> <a id="x1-80003"></a>Time Commands</h3> -<!--l. 187--><p class="noindent" >The current time is displayed using the command -</p><!--l. 188--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\currenttime</span><span -class="ectt-1000"> </span></span><a +<!--l. 195--><p class="noindent" >The current time is displayed using the command +</p><!--l. 196--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\currenttime</span><span +class="cmtt-9"> </span></span><a id="dx1-8001"></a> <span -class="ectt-1095">\currenttime </span></div><hr> -</p><!--l. 190--><p class="noindent" > -</p><!--l. 192--><p class="indent" > A speci -</p><!--l. 193--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\formattime</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\currenttime </span></div><hr> +</p><!--l. 198--><p class="noindent" > +</p><!--l. 200--><p class="indent" > A specific time can be displayed using the command +</p><!--l. 201--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\formattime</span><span +class="cmtt-9"> </span></span><a id="dx1-8002"></a> <span -class="ectt-1095">\formattime{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">hour</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">minute</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">second</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 195--><p class="noindent" > -where <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">hour</span><span -class="futsy-x-x-109">i </span>is a number from 0 to 23, and <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">minute</span><span -class="futsy-x-x-109">i </span>and <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">second</span><span -class="futsy-x-x-109">i </span>are numbers -from 0 to 59. -</p><!--l. 199--><p class="indent" > The format can be changed using the declaration -</p><!--l. 200--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\settimeformat</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\formattime{</span>⟨<span +class="cmitt-10">hour</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">minute</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">second</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 203--><p class="noindent" > +where ⟨<span +class="cmti-10">hour</span>⟩ is a number from 0 to 23, and ⟨<span +class="cmti-10">minute</span>⟩ and ⟨<span +class="cmti-10">second</span>⟩ are numbers from 0 +to 59. +</p><!--l. 207--><p class="indent" > The format can be changed using the declaration +</p><!--l. 208--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\settimeformat</span><span +class="cmtt-9"> </span></span><a id="dx1-8003"></a> <span -class="ectt-1095">\settimeformat{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">style</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 202--><p class="noindent" > -where <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">style</span><span -class="futsy-x-x-109">i </span>is the name of the format. Prede +class="cmtt-10">\settimeformat{</span>⟨<span +class="cmitt-10">style</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 210--><p class="noindent" > +where ⟨<span +class="cmti-10">style</span>⟩ is the name of the format. Predefined formats are: </p><dl class="description"><dt class="description"> <span -class="ecsx-1095">xxivtime</span> </dt><dd +class="cmbx-10">xxivtime</span> </dt><dd class="description">Twenty-four hour time in the form 22:28 (Default) </dd><dt class="description"> <span -class="ecsx-1095">hhmmsstime</span> </dt><dd +class="cmbx-10">hhmmsstime</span> </dt><dd class="description">Twenty-four hour time in the form 22:28:00 </dd><dt class="description"> <span -class="ecsx-1095">ampmtime</span> </dt><dd +class="cmbx-10">ampmtime</span> </dt><dd class="description">Twelve hour time in the form 10:28pm </dd><dt class="description"> <span -class="ecsx-1095">oclock</span> </dt><dd -class="description">Displays the current time as a string, e.g. Twenty-Eight minutes past - Ten in the afternoon.</dd></dl> - - -<!--l. 213--><p class="indent" > New time formats can be de -</p><!--l. 214--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\newtimeformat</span><span -class="ectt-1000"> </span></span><a +class="cmbx-10">oclock</span> </dt><dd +class="description">Displays the current time as a string, e.g. Twenty-Eight minutes past Ten + in the afternoon.</dd></dl> +<!--l. 221--><p class="indent" > New time formats can be defined using the command: +</p><!--l. 222--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\newtimeformat</span><span +class="cmtt-9"> </span></span><a id="dx1-8004"></a> <span -class="ectt-1095">\newtimeformat{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">format</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 216--><p class="noindent" > -where <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i </span>is the name of the new format (used in <span -class="ectt-1095">\settimeformat</span><a - id="dx1-8005"></a>), and -<span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">format</span><span -class="futsy-x-x-109">i </span>is how to format the time. Within <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">format</span><span -class="futsy-x-x-109">i </span>you can use the counters <span -class="ecss-1095">HOUR</span><a - id="dx1-8006"></a> -(number of hours after midnight), <span -class="ecss-1095">MINUTE</span><a - id="dx1-8007"></a> (number of minutes past the hour), -<span -class="ecss-1095">SECOND</span><a - id="dx1-8008"></a> (number of seconds) <span -class="ecss-1095">HOURXII</span><a - id="dx1-8009"></a> (number of hours after midnight/midday), -<span -class="ecss-1095">TOHOUR</span><a - id="dx1-8010"></a> (the next hour) and <span -class="ecss-1095">TOMINUTE</span><a - id="dx1-8011"></a> (number of minutes to the next hour), -and the corresponding commands: <span -class="ectt-1095">\THEHOUR</span><a +class="cmtt-10">\newtimeformat{</span>⟨<span +class="cmitt-10">name</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">format</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 224--><p class="noindent" > +where ⟨<span +class="cmti-10">name</span>⟩ is the name of the new format (used in <span +class="cmtt-10">\settimeformat</span><a + id="dx1-8005"></a>), and ⟨<span +class="cmti-10">format</span>⟩ is +how to format the time. Within ⟨<span +class="cmti-10">format</span>⟩ you can use the counters <span +class="cmss-10">HOUR</span><a + id="dx1-8006"></a> (number of +hours after midnight), <span +class="cmss-10">MINUTE</span><a + id="dx1-8007"></a> (number of minutes past the hour), <span +class="cmss-10">SECOND</span><a + id="dx1-8008"></a> (number +of seconds) <span +class="cmss-10">HOURXII</span><a + id="dx1-8009"></a> (number of hours after midnight/midday), <span +class="cmss-10">TOHOUR</span><a + id="dx1-8010"></a> (the next +hour) and <span +class="cmss-10">TOMINUTE</span><a + id="dx1-8011"></a> (number of minutes to the next hour), and the corresponding +commands: <span +class="cmtt-10">\THEHOUR</span><a id="dx1-8012"></a>, <span -class="ectt-1095">\THEMINUTE</span><a +class="cmtt-10">\THEMINUTE</span><a id="dx1-8013"></a>, <span -class="ectt-1095">\THESECOND</span><a - id="dx1-8014"></a>, -<span -class="ectt-1095">\THEHOURXII</span><a +class="cmtt-10">\THESECOND</span><a + id="dx1-8014"></a>, <span +class="cmtt-10">\THEHOURXII</span><a id="dx1-8015"></a>, <span -class="ectt-1095">\THETOHOUR</span><a - id="dx1-8016"></a> and <span -class="ectt-1095">\THETOMINUTE</span><a +class="cmtt-10">\THETOHOUR</span><a + id="dx1-8016"></a> and +<span +class="cmtt-10">\THETOMINUTE</span><a id="dx1-8017"></a>. -</p><!--l. 228--><p class="indent" > For example, to de +</p><!--l. 236--><p class="indent" > For example, to define a new time format that uses a dot instead of a colon: + </p> - <div class="verbatim" id="verbatim-3"> + <div class="verbatim" id="verbatim-3"> \newtimeformat{dottime}{\twodigit{\THEHOUR}.\twodigit{\THEMINUTE}} </div> -<!--l. 232--><p class="nopar" > You then need to switch to this new format before you can use it: +<!--l. 240--><p class="nopar" > You then need to switch to this new format before you can use it: + </p> - <div class="verbatim" id="verbatim-4"> + <div class="verbatim" id="verbatim-4"> \settimeformat{dottime}  <br />\currenttime </div> -<!--l. 237--><p class="nopar" > -</p><!--l. 239--><p class="indent" > As from version 2.43, if you only want to change the separator, you can simply -rede -</p><!--l. 241--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\timeseparator</span><span -class="ectt-1000"> </span></span><a +<!--l. 245--><p class="nopar" > +</p><!--l. 247--><p class="indent" > As from version 2.43, if you only want to change the separator, you can simply +redefine +</p><!--l. 249--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\timeseparator</span><span +class="cmtt-9"> </span></span><a id="dx1-8018"></a> <span -class="ectt-1095">\timeseparator </span></div><hr> -</p><!--l. 243--><p class="noindent" > -instead of de +class="cmtt-10">\timeseparator </span></div><hr> +</p><!--l. 251--><p class="noindent" > +instead of defining a new time format. For example: + </p> - <div class="verbatim" id="verbatim-5"> + <div class="verbatim" id="verbatim-5"> \renewcommand{\timeseparator}{.} </div> -<!--l. 247--><p class="nopar" > The <span -class="ectt-1095">xxivtime </span>format will now work like the <span -class="ectt-1095">dottime </span>format de -</p><!--l. 251--><p class="noindent" > +<!--l. 255--><p class="nopar" > The <span +class="cmtt-10">xxivtime </span>format will now work like the <span +class="cmtt-10">dottime </span>format defined above. +</p><!--l. 259--><p class="noindent" > </p> -<!--l. 251--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">4 </span> <a +<!--l. 259--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">4 </span> <a id="x1-90004"></a>Formating Dates</h3> -<!--l. 252--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\pdfdate</span><span -class="ectt-1000"> </span></span><a +<!--l. 260--><p class="noindent" ><hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\pdfdate</span><span +class="cmtt-9"> </span></span><a id="dx1-9001"></a> <span -class="ectt-1095">\pdfdate </span></div><hr> -</p><!--l. 254--><p class="noindent" > +class="cmtt-10">\pdfdate </span></div><hr> +</p><!--l. 262--><p class="noindent" > This command<span class="footnote-mark"><a href="#fn2x0" id="fn2x0-bk"><sup class="textsuperscript">2</sup></a></span><a id="x1-9002f2"></a> -prints the date in the format required for PDF +prints the date in the format required for PDF files, e.g. if the date is 1 May 2004 and time is 22:02, <span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\pdfdate</span></span></span> will print 20040501220200. The reason this date format is -separate from all the others is because the other form doesn't get properly expanded -by PDF<span class="TEX">T<span -class="E">E</span>X</span>. (This command is de -<span -class="ectt-1095">nodate </span>is called.) Example: +class="cmtt-10">\pdfdate</span></span></span> will print 20040501220200. The reason this date format is +separate from all the others is because the other form doesn’t get properly expanded by +PDF<span class="TEX">T<span +class="E">E</span>X</span>. (This command is defined regardless of whether the package option <span +class="cmtt-10">nodate</span> +is called.) Example: + </p> - <div class="verbatim" id="verbatim-6"> + <div class="verbatim" id="verbatim-6"> \pdfinfo{  <br />   /Author (Me)  <br />   /Title (A Sample Document) @@ -787,296 +722,257 @@ class="ectt-1095">nodate </span>is called.) Example:  <br />   /ModDate (D:\pdfdate)  <br />} </div> -<!--l. 271--><p class="nopar" > <span -class="futb8t-x-x-109">Note </span>that PDF<span class="TEX">T<span +<!--l. 279--><p class="nopar" > <span +class="cmbx-10">Note </span>that PDF<span class="TEX">T<span class="E">E</span>X</span> introduced the new primitive <span -class="ectt-1095">\pdfcreationdate </span>in +class="cmtt-10">\pdfcreationdate </span>in version 1.30.0, so <span -class="ectt-1095">\pdfdate </span>isn't required with newer versions of PDF<span class="TEX">T<span +class="cmtt-10">\pdfdate </span>isn’t required with newer versions of PDF<span class="TEX">T<span class="E">E</span>X</span>. (<span -class="ectt-1095">\pdfcreationdate </span>is better than <span -class="ectt-1095">\pdfdate </span>as it also stores the time zone.) -</p><!--l. 277--><p class="indent" > There are two commands that print the name of the current month: -</p><!--l. 279--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\monthname</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\pdfcreationdate </span>is better than <span +class="cmtt-10">\pdfdate </span>as it also stores the time zone.) +</p><!--l. 285--><p class="indent" > There are two commands that print the name of the current month: +</p><!--l. 287--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\monthname</span><span +class="cmtt-9"> </span></span><a id="dx1-9003"></a> <span -class="ectt-1095">\monthname[</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">num</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">] </span></div><hr> -</p><!--l. 281--><p class="noindent" > +class="cmtt-10">\monthname[</span>⟨<span +class="cmitt-10">num</span>⟩<span +class="cmtt-10">] </span></div><hr> +</p><!--l. 289--><p class="noindent" > prints the current month name in full, e.g. August, and -</p><!--l. 284--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\shortmonthname</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 292--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\shortmonthname</span><span +class="cmtt-9"> </span></span><a id="dx1-9004"></a> <span -class="ectt-1095">\shortmonthname[</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">num</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">] </span></div><hr> -</p><!--l. 286--><p class="noindent" > +class="cmtt-10">\shortmonthname[</span>⟨<span +class="cmitt-10">num</span>⟩<span +class="cmtt-10">] </span></div><hr> +</p><!--l. 294--><p class="noindent" > prints the abbreviated month name, e.g. Aug. Both <span -class="ectt-1095">\monthname </span>and <span -class="ectt-1095">\shortmonthname</span> -take an optional argument (a number from 1 to 12) if the name of a speci +class="cmtt-10">\monthname </span>and <span +class="cmtt-10">\shortmonthname</span> +take an optional argument (a number from 1 to 12) if the name of a specific month is required. For example, <span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\monthname[6]</span></span></span> will produced the output: +class="cmtt-10">\monthname[6]</span></span></span> will produced the output: June. -</p><!--l. 292--><p class="indent" > The day of the week is computed using the algorithm documented at +</p><!--l. 300--><p class="indent" > The day of the week is computed using the algorithm documented at <a href="http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm" class="url" ><span -class="ectt-1095">http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm</span></a>. -This algorithm works for any date between 1<sup class="textsuperscript"><span -class="futr8t-">st</span></sup> Jan, 1901 and 31<sup class="textsuperscript"><span -class="futr8t-">st</span></sup> Dec, 2099. The -following macros display the day of week for a given date: -</p><!--l. 298--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\dayofweekname</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">http://userpages.wittenburg.edu/bshelburne/Comp150/DayOfWeek.htm</span></a>. This +algorithm works for any date between 1<sup class="textsuperscript"><span +class="cmr-9">st</span></sup> Jan, 1901 and 31<sup class="textsuperscript"><span +class="cmr-9">st</span></sup> Dec, 2099. The following +macros display the day of week for a given date: +</p><!--l. 306--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\dayofweekname</span><span +class="cmtt-9"> </span></span><a id="dx1-9005"></a> <span -class="ectt-1095">\dayofweekname{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">day</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">month</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">year</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 300--><p class="noindent" > -prints the day of week for the speci +class="cmtt-10">\dayofweekname{</span>⟨<span +class="cmitt-10">day</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">month</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">year</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 308--><p class="noindent" > +prints the day of week for the specified date. For example, + </p> - <div class="verbatim" id="verbatim-7"> + <div class="verbatim" id="verbatim-7"> \dayofweekname{31}{10}{2002} </div> -<!--l. 304--><p class="nopar" > will produce the output: Thursday. -</p><!--l. 307--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\shortdayofweekname</span><span -class="ectt-1000"> </span></span><a +<!--l. 312--><p class="nopar" > will produce the output: Thursday. +</p><!--l. 315--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\shortdayofweekname</span><span +class="cmtt-9"> </span></span><a id="dx1-9006"></a> <span -class="ectt-1095">\shortdayofweekname</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">day</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">month</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">year</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}</span> -</div><hr> -</p><!--l. 309--><p class="noindent" > -prints the abbreviated name for the day of week for the speci +class="cmtt-10">\shortdayofweekname</span>⟨<span +class="cmitt-10">day</span>⟩<span +class="cmtt-10">{</span>⟨<span +class="cmitt-10">month</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">year</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 317--><p class="noindent" > +prints the abbreviated name for the day of week for the specified date. For example + </p> - <div class="verbatim" id="verbatim-8"> + <div class="verbatim" id="verbatim-8"> \shortdayofweekname{31}{10}{2002} </div> -<!--l. 314--><p class="nopar" > will produce the output: Thu. -</p><!--l. 317--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\ifshowdow</span><span -class="ectt-1000"> </span></span><a +<!--l. 322--><p class="nopar" > will produce the output: Thu. +</p><!--l. 325--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\ifshowdow</span><span +class="cmtt-9"> </span></span><a id="dx1-9007"></a> <span -class="ectt-1095">\ifshowdow </span></div><hr> -</p><!--l. 319--><p class="noindent" > +class="cmtt-10">\ifshowdow </span></div><hr> +</p><!--l. 327--><p class="noindent" > This <span class="TEX">T<span class="E">E</span>X</span> conditional can be used to determine whether or not the option <span -class="ecss-1095">dayofweek</span><a +class="cmss-10">dayofweek</span><a id="dx1-9008"></a> has been passed to the package. For example: + </p> - <div class="verbatim" id="verbatim-9"> + <div class="verbatim" id="verbatim-9"> \ifshowdow\dayofweekname{31}{10}{2002} \fi </div> -<!--l. 325--><p class="nopar" > will only display the day of week if the <span -class="ecss-1095">dayofweek</span><a +<!--l. 333--><p class="nopar" > will only display the day of week if the <span +class="cmss-10">dayofweek</span><a id="dx1-9009"></a> option was passed to <span -class="ecss-1095">datetime</span>. -Alternatively, you can use David Carlisle's <span -class="ecss-1095">ifthen</span><a +class="cmss-10">datetime</span>. +Alternatively, you can use David Carlisle’s <span +class="cmss-10">ifthen</span><a id="dx1-9010"></a> package: + </p> - <div class="verbatim" id="verbatim-10"> + <div class="verbatim" id="verbatim-10"> \ifthenelse{\boolean{showdow}}{\dayofweekname{31}{10}{2002} }{} </div> -<!--l. 331--><p class="nopar" > -</p><!--l. 333--><p class="indent" > The command -</p><!--l. 334--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\ordinaldate</span><span -class="ectt-1000"> </span></span><a +<!--l. 339--><p class="nopar" > +</p><!--l. 341--><p class="indent" > The command +</p><!--l. 342--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\ordinaldate</span><span +class="cmtt-9"> </span></span><a id="dx1-9011"></a> <span -class="ectt-1095">\ordinaldate{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">number</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 336--><p class="noindent" > -displays <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">number</span><span -class="futsy-x-x-109">i </span>as a date-type ordinal. If the current language is English, this will +class="cmtt-10">\ordinaldate{</span>⟨<span +class="cmitt-10">number</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 344--><p class="noindent" > +displays ⟨<span +class="cmti-10">number</span>⟩ as a date-type ordinal. If the current language is English, this will simply pass the argument to <span -class="ectt-1095">\ordinalnum</span><a - id="dx1-9012"></a> (de -class="ecss-1095">fmtcount</span><a +class="cmtt-10">\ordinalnum</span><a + id="dx1-9012"></a> (defined in the <span +class="cmss-10">fmtcount</span><a id="dx1-9013"></a> package), if the -current language is Breton, Welsh or French, a superscript will only be added if -<span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">number</span><span -class="futsy-x-x-109">i </span>is 1, otherwise only <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">number</span><span -class="futsy-x-x-109">i </span>will be displayed. -</p><!--l. 344--><p class="indent" > The macro<span class="footnote-mark"><a +current language is Breton, Welsh or French, a superscript will only be added if ⟨<span +class="cmti-10">number</span>⟩ +is 1, otherwise only ⟨<span +class="cmti-10">number</span>⟩ will be displayed. +</p><!--l. 352--><p class="indent" > The macro<span class="footnote-mark"><a href="#fn3x0" id="fn3x0-bk"><sup class="textsuperscript">3</sup></a></span><a id="x1-9014f3"></a> -</p><!--l. 347--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\formatdate</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 355--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\formatdate</span><span +class="cmtt-9"> </span></span><a id="dx1-9016"></a> <span -class="ectt-1095">\formatdate{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">day</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">month</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">year</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 349--><p class="noindent" > -formats the speci +class="cmtt-10">\formatdate{</span>⟨<span +class="cmitt-10">day</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">month</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">year</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 357--><p class="noindent" > +formats the specified date according to the current format of <span -class="ectt-1095">\today</span><a +class="cmtt-10">\today</span><a id="dx1-9017"></a><span class="footnote-mark"><a href="#fn4x0" id="fn4x0-bk"><sup class="textsuperscript">4</sup></a></span><a id="x1-9018f4"></a>. (Arguments must all be integers.) For example, in combination with <span -class="ectt-1095">\longdate</span><a +class="cmtt-10">\longdate</span><a id="dx1-9022"></a>, the command + </p> - <div class="verbatim" id="verbatim-11"> + <div class="verbatim" id="verbatim-11"> \formatdate{27}{9}{2004} </div> -<!--l. 358--><p class="nopar" > will produce the output: Monday 27<sup class="textsuperscript"><span -class="futr8t-">th</span></sup> September, 2004. -</p><!--l. 362--><p class="indent" > You can ensure that a number is displayed with at least two digits using the +<!--l. 366--><p class="nopar" > will produce the output: Monday 27<sup class="textsuperscript"><span +class="cmr-9">th</span></sup> September, 2004. +</p><!--l. 370--><p class="indent" > You can ensure that a number is displayed with at least two digits using the command -</p><!--l. 364--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\twodigit</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 372--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\twodigit</span><span +class="cmtt-9"> </span></span><a id="dx1-9023"></a> <span -class="ectt-1095">\twodigit{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">num</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 366--><p class="noindent" > -</p><!--l. 368--><p class="noindent" > +class="cmtt-10">\twodigit{</span>⟨<span +class="cmitt-10">num</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 374--><p class="noindent" > +</p><!--l. 376--><p class="noindent" > </p> -<!--l. 368--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">5 </span> <a - id="x1-100005"></a>De -<!--l. 370--><p class="noindent" >New date formats can be de -</p><!--l. 371--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\newdateformat</span><span -class="ectt-1000"> </span></span><a +<!--l. 376--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">5 </span> <a + id="x1-100005"></a>Defining New Date Formats</h3> +<!--l. 378--><p class="noindent" >New date formats can be defined using the command: +</p><!--l. 379--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\newdateformat</span><span +class="cmtt-9"> </span></span><a id="dx1-10001"></a> <span -class="ectt-1095">\newdateformat{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">format</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 373--><p class="noindent" > -where <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i </span>is the name of the new format, and <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">format</span><span -class="futsy-x-x-109">i </span>is how to format the date. -Within the argument <span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">format</span><span -class="futsy-x-x-109">i </span>you can use the commands <span -class="ectt-1095">\THEDAY</span><a +class="cmtt-10">\newdateformat{</span>⟨<span +class="cmitt-10">name</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">format</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 381--><p class="noindent" > +where ⟨<span +class="cmti-10">name</span>⟩ is the name of the new format, and ⟨<span +class="cmti-10">format</span>⟩ is how to format the date. +Within the argument ⟨<span +class="cmti-10">format</span>⟩ you can use the commands <span +class="cmtt-10">\THEDAY</span><a id="dx1-10002"></a>, <span -class="ectt-1095">\THEMONTH</span><a - id="dx1-10003"></a> -and <span -class="ectt-1095">\THEYEAR</span><a - id="dx1-10004"></a> to represent the relevant day, month and year, or you can -use the counters <span -class="ecss-1095">DAY</span><a +class="cmtt-10">\THEMONTH</span><a + id="dx1-10003"></a> and +<span +class="cmtt-10">\THEYEAR</span><a + id="dx1-10004"></a> to represent the relevant day, month and year, or you can use the counters +<span +class="cmss-10">DAY</span><a id="dx1-10005"></a>, <span -class="ecss-1095">MONTH</span><a +class="cmss-10">MONTH</span><a id="dx1-10006"></a> and <span -class="ecss-1095">YEAR</span><a +class="cmss-10">YEAR</span><a id="dx1-10007"></a> if you want to use <span -class="ectt-1095">\ordinal</span><a - id="dx1-10008"></a> -etc. Once you have de -using the declaration <span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\</span></span></span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i </span>(i.e. the name you speci -backslash), and subsequent calls to <span -class="ectt-1095">\today</span><a - id="dx1-10009"></a> and <span -class="ectt-1095">\formatdate</span><a - id="dx1-10010"></a> will use your new -format. -</p><!--l. 385--><p class="indent" > For example, suppose you want to de -class="ectt-1095">mydate</span>, -that will typeset the date in the form: 8-3-2002, then you can do: +class="cmtt-10">\ordinal</span><a + id="dx1-10008"></a> etc. Once you have defined the +new date format, you can then switch to it using the declaration <span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\</span></span></span>⟨<span +class="cmti-10">name</span>⟩ (i.e. the name +you specified preceded by a backslash), and subsequent calls to <span +class="cmtt-10">\today</span><a + id="dx1-10009"></a> and +<span +class="cmtt-10">\formatdate</span><a + id="dx1-10010"></a> will use your new format. +</p><!--l. 393--><p class="indent" > For example, suppose you want to define a new date format called, say, <span +class="cmtt-10">mydate</span>, that +will typeset the date in the form: 8-3-2002, then you can do: + </p> - <div class="verbatim" id="verbatim-12"> + <div class="verbatim" id="verbatim-12"> \newdateformat{mydate}{\THEDAY-\THEMONTH-\THEYEAR} </div> -<!--l. 390--><p class="nopar" ><span -class="ectt-1095">\newdateformat</span><a - id="dx1-10011"></a> will then de -class="ectt-1095">\mydate </span>which can be used to -switch to your new format. In the following example, two new date formats are -de +<!--l. 398--><p class="nopar" > <span +class="cmtt-10">\newdateformat</span><a + id="dx1-10011"></a> will then define the declaration <span +class="cmtt-10">\mydate </span>which can be used to switch +to your new format. In the following example, two new date formats are defined, +and they are then selected to produce two different formats for the current date: + </p> - <div class="verbatim" id="verbatim-13"> + <div class="verbatim" id="verbatim-13"> \newdateformat{dashdate}{%  <br />\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}  <br />\newdateformat{usvardate}{% @@ -1084,765 +980,684 @@ date:  <br />Dash: \dashdate\today.  <br />US: \usvardate\today. </div> -<!--l. 405--><p class="nopar" > If the current date is, say, 8th March, 2002, the above code will produce the following: +<!--l. 413--><p class="nopar" > If the current date is, say, 8th March, 2002, the above code will produce the following: Dash: 08-03-2002. US: March 8<sup class="textsuperscript"><span -class="futr8t-">th</span></sup>, 2002. -</p><!--l. 410--><p class="indent" > Note that <span -class="ectt-1095">\THEDAY</span><a +class="cmr-9">th</span></sup>, 2002. +</p><!--l. 418--><p class="indent" > Note that <span +class="cmtt-10">\THEDAY</span><a id="dx1-10012"></a> etc and <span -class="ecss-1095">DAY</span><a +class="cmss-10">DAY</span><a id="dx1-10013"></a> etc have no real meaning outside <span -class="ectt-1095">\newdateformat</span><a +class="cmtt-10">\newdateformat</span><a id="dx1-10014"></a> (this is why they are in uppercase). Incidentally, the <span -class="ectt-1095">dashdate </span>format is not really +class="cmtt-10">dashdate </span>format is not really necessary, as you can achieve this format using: + </p> - <div class="verbatim" id="verbatim-14"> + <div class="verbatim" id="verbatim-14"> \renewcommand{\dateseparator}{-}  <br />\ddmmyyyydate </div> -<!--l. 418--><p class="nopar" > -</p><!--l. 420--><p class="indent" > Another note: in the above code, <span -class="ectt-1095">\ordinal</span><a - id="dx1-10015"></a> was used to illustrate the use of the -<span -class="ecss-1095">DAY</span><a - id="dx1-10016"></a> counter. It is better to use <span -class="ectt-1095">\ordinaldate</span><a +<!--l. 426--><p class="nopar" > +</p><!--l. 428--><p class="indent" > Another note: in the above code, <span +class="cmtt-10">\ordinal</span><a + id="dx1-10015"></a> was used to illustrate the use of the <span +class="cmss-10">DAY</span><a + id="dx1-10016"></a> +counter. It is better to use <span +class="cmtt-10">\ordinaldate</span><a id="dx1-10017"></a> instead: + </p> - <div class="verbatim" id="verbatim-15"> + <div class="verbatim" id="verbatim-15"> \newdateformat{usvardate}{%  <br />\monthname[\THEMONTH] \ordinaldate{\THEDAY}, \THEYEAR} </div> -<!--l. 426--><p class="nopar" > -</p><!--l. 428--><p class="noindent" > +<!--l. 434--><p class="nopar" > +</p><!--l. 436--><p class="noindent" > </p> -<!--l. 428--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">6 </span> <a +<!--l. 436--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">6 </span> <a id="x1-110006"></a>Saving Dates</h3> -<!--l. 430--><p class="noindent" >It is possible to save a date for later use using the command: +<!--l. 438--><p class="noindent" >It is possible to save a date for later use using the command: <span class="footnote-mark"><a href="#fn5x0" id="fn5x0-bk"><sup class="textsuperscript">5</sup></a></span><a id="x1-11001f5"></a> -</p><!--l. 432--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\newdate</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 440--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\newdate</span><span +class="cmtt-9"> </span></span><a id="dx1-11002"></a> <span -class="ectt-1095">\newdate{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">day</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">month</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">}{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">year</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 434--><p class="noindent" > -</p><!--l. 436--><p class="indent" > This date can later be displayed using the same format as that used by +class="cmtt-10">\newdate{</span>⟨<span +class="cmitt-10">name</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">day</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">month</span>⟩<span +class="cmtt-10">}{</span>⟨<span +class="cmitt-10">year</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 442--><p class="noindent" > +</p><!--l. 444--><p class="indent" > This date can later be displayed using the same format as that used by <span -class="ectt-1095">\formatdate</span><a +class="cmtt-10">\formatdate</span><a id="dx1-11003"></a> using the command: -</p><!--l. 438--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\displaydate</span><span -class="ectt-1000"> </span></span><a +</p><!--l. 446--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\displaydate</span><span +class="cmtt-9"> </span></span><a id="dx1-11004"></a> <span -class="ectt-1095">\displaydate{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 440--><p class="noindent" > -</p><!--l. 442--><p class="indent" > Individual elements of the date can be extracted using the commands: -</p><!--l. 444--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\getdateday</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\displaydate{</span>⟨<span +class="cmitt-10">name</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 448--><p class="noindent" > +</p><!--l. 450--><p class="indent" > Individual elements of the date can be extracted using the commands: +</p><!--l. 452--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\getdateday</span><span +class="cmtt-9"> </span></span><a id="dx1-11005"></a> <span -class="ectt-1095">\getdateday{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 446--><p class="noindent" > -</p><!--l. 447--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\getdatemonth</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\getdateday{</span>⟨<span +class="cmitt-10">name</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 454--><p class="noindent" > +</p><!--l. 455--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\getdatemonth</span><span +class="cmtt-9"> </span></span><a id="dx1-11006"></a> <span -class="ectt-1095">\getdatemonth{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 449--><p class="noindent" > -</p><!--l. 450--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\getdateyear</span><span -class="ectt-1000"> </span></span><a +class="cmtt-10">\getdatemonth{</span>⟨<span +class="cmitt-10">name</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 457--><p class="noindent" > +</p><!--l. 458--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\getdateyear</span><span +class="cmtt-9"> </span></span><a id="dx1-11007"></a> <span -class="ectt-1095">\getdateyear{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">name</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 452--><p class="noindent" > -</p><!--l. 454--><p class="noindent" > +class="cmtt-10">\getdateyear{</span>⟨<span +class="cmitt-10">name</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 460--><p class="noindent" > +</p><!--l. 462--><p class="noindent" > </p> -<!--l. 454--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">7 </span> <a - id="x1-120007"></a>Prede -<!--l. 456--><p class="noindent" >The following commands are de -class="ecss-1095">datetime </span>package: +<!--l. 462--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">7 </span> <a + id="x1-120007"></a>Predefined Names</h3> +<!--l. 464--><p class="noindent" >The following commands are defined by the <span +class="cmss-10">datetime </span>package: </p> + - <div class="tabular"> <table id="TBL-2" class="tabular" + <div class="tabular"> <table id="TBL-2" class="tabular" cellspacing="0" cellpadding="0" ><colgroup id="TBL-2-1g"><col id="TBL-2-1" /><col id="TBL-2-2" /></colgroup><tr style="vertical-align:baseline;" id="TBL-2-1-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-1-1" class="td11"><span -class="futb8t-x-x-109">Command Name</span></td><td style="white-space:nowrap; text-align:left;" id="TBL-2-1-2" +class="cmbx-10">Command Name</span></td><td style="white-space:nowrap; text-align:left;" id="TBL-2-1-2" class="td11"><span -class="futb8t-x-x-109">Default Value </span></td></tr><tr +class="cmbx-10">Default Value </span></td></tr><tr style="vertical-align:baseline;" id="TBL-2-2-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-2-1" class="td11"><span -class="ectt-1095">\dateseparator</span><a +class="cmtt-10">\dateseparator</span><a id="dx1-12001"></a> </td> <td style="white-space:nowrap; text-align:left;" id="TBL-2-2-2" class="td11"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">/</span></span></span></td> +class="cmtt-10">/</span></span></span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-3-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-3-1" class="td11"><span -class="ectt-1095">\timeseparator</span><a - id="dx1-12002"></a></td><td style="white-space:nowrap; text-align:left;" id="TBL-2-3-2" +class="cmtt-10">\timeseparator</span><a + id="dx1-12002"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-3-2" class="td11"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">:</span></span></span> </td> +class="cmtt-10">:</span></span></span> </td> </tr><tr style="vertical-align:baseline;" id="TBL-2-4-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-4-1" class="td11"><span -class="ectt-1095">\amname</span><a - id="dx1-12003"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-4-2" +class="cmtt-10">\amname</span><a + id="dx1-12003"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-4-2" class="td11"><span -class="ectt-1095">am </span></td> +class="cmtt-10">am </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-5-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-5-1" class="td11"><span -class="ectt-1095">\pmname</span><a - id="dx1-12004"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-5-2" +class="cmtt-10">\pmname</span><a + id="dx1-12004"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-5-2" class="td11"><span -class="ectt-1095">pm </span></td> +class="cmtt-10">pm </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-6-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-6-1" class="td11"><span -class="ectt-1095">\amorpmname</span><a - id="dx1-12005"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-6-2" +class="cmtt-10">\amorpmname</span><a + id="dx1-12005"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-6-2" class="td11"><span -class="ectt-1095">\amname</span><a +class="cmtt-10">\amname</span><a id="dx1-12006"></a> if morning, otherwise <span -class="ectt-1095">\pmname</span><a +class="cmtt-10">\pmname</span><a id="dx1-12007"></a> </td> </tr><tr style="vertical-align:baseline;" id="TBL-2-7-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-7-1" class="td11"><span -class="ectt-1095">\amstring</span><a - id="dx1-12008"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-7-2" +class="cmtt-10">\amstring</span><a + id="dx1-12008"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-7-2" class="td11"><span -class="ectt-1095">in the morning </span></td> +class="cmtt-10">in the morning </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-8-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-8-1" class="td11"><span -class="ectt-1095">\pmstring</span><a - id="dx1-12009"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-8-2" +class="cmtt-10">\pmstring</span><a + id="dx1-12009"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-8-2" class="td11"><span -class="ectt-1095">in the afternoon </span></td> +class="cmtt-10">in the afternoon </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-9-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-9-1" class="td11"><span -class="ectt-1095">\amorpmstring</span><a - id="dx1-12010"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-9-2" +class="cmtt-10">\amorpmstring</span><a + id="dx1-12010"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-9-2" class="td11"><span -class="ectt-1095">\amstring</span><a +class="cmtt-10">\amstring</span><a id="dx1-12011"></a> if morning, otherwise <span -class="ectt-1095">\pmstring</span><a +class="cmtt-10">\pmstring</span><a id="dx1-12012"></a></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-10-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-10-1" class="td11"><span -class="ectt-1095">\halfpast</span><a - id="dx1-12013"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-10-2" +class="cmtt-10">\halfpast</span><a + id="dx1-12013"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-10-2" class="td11"><span -class="ectt-1095">Half past </span></td> +class="cmtt-10">Half past </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-11-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-11-1" class="td11"><span -class="ectt-1095">\quarterpast</span><a - id="dx1-12014"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-11-2" +class="cmtt-10">\quarterpast</span><a + id="dx1-12014"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-11-2" class="td11"><span -class="ectt-1095">Quarter past </span></td> +class="cmtt-10">Quarter past </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-12-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-12-1" class="td11"><span -class="ectt-1095">\quarterto</span><a - id="dx1-12015"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-12-2" +class="cmtt-10">\quarterto</span><a + id="dx1-12015"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-12-2" class="td11"><span -class="ectt-1095">Quarter to </span></td> +class="cmtt-10">Quarter to </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-13-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-13-1" class="td11"><span -class="ectt-1095">\noon</span><a - id="dx1-12016"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-13-2" +class="cmtt-10">\noon</span><a + id="dx1-12016"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-13-2" class="td11"><span -class="ectt-1095">Noon </span></td> +class="cmtt-10">Noon </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-14-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-14-1" class="td11"><span -class="ectt-1095">\midnight</span><a - id="dx1-12017"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-14-2" +class="cmtt-10">\midnight</span><a + id="dx1-12017"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-14-2" class="td11"><span -class="ectt-1095">Midnight </span></td> +class="cmtt-10">Midnight </span></td> </tr><tr style="vertical-align:baseline;" id="TBL-2-15-"><td style="white-space:nowrap; text-align:left;" id="TBL-2-15-1" class="td11"><span -class="ectt-1095">\oclockstring</span><a - id="dx1-12018"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-15-2" +class="cmtt-10">\oclockstring</span><a + id="dx1-12018"></a> </td><td style="white-space:nowrap; text-align:left;" id="TBL-2-15-2" class="td11"><span -class="ectt-1095">O’Clock </span></td> </tr></table> +class="cmtt-10">O’Clock </span></td> </tr></table> </div> -<!--l. 478--><p class="noindent" > +<!--l. 486--><p class="noindent" > </p> -<!--l. 478--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">8 </span> <a +<!--l. 486--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">8 </span> <a id="x1-130008"></a>Package Options</h3> -<!--l. 480--><p class="noindent" >The following options may be passed to this package: +<!--l. 488--><p class="noindent" >The following options may be passed to this package: </p><dl class="description"><dt class="description"> <span -class="ecsx-1095">long</span><a +class="cmssbx-10">long</span><a id="dx1-13001"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce long date +class="cmtt-10">\today </span>produce long date </dd><dt class="description"> <span -class="ecsx-1095">short</span><a +class="cmssbx-10">short</span><a id="dx1-13002"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce short date +class="cmtt-10">\today </span>produce short date </dd><dt class="description"> <span -class="ecsx-1095">yyyymmdd</span><a +class="cmssbx-10">yyyymmdd</span><a id="dx1-13003"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce YYYY/MM/DD date +class="cmtt-10">\today </span>produce YYYY/MM/DD date </dd><dt class="description"> <span -class="ecsx-1095">ddmmyyyy</span><a +class="cmssbx-10">ddmmyyyy</span><a id="dx1-13004"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce DD/MM/YYYY date +class="cmtt-10">\today </span>produce DD/MM/YYYY date </dd><dt class="description"> <span -class="ecsx-1095">dmyyyy</span><a +class="cmssbx-10">dmyyyy</span><a id="dx1-13005"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce D/M/YYYY date +class="cmtt-10">\today </span>produce D/M/YYYY date </dd><dt class="description"> <span -class="ecsx-1095">ddmmyy</span><a +class="cmssbx-10">ddmmyy</span><a id="dx1-13006"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce DD/MM/YY date +class="cmtt-10">\today </span>produce DD/MM/YY date </dd><dt class="description"> <span -class="ecsx-1095">dmyy</span><a +class="cmssbx-10">dmyy</span><a id="dx1-13007"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce D/M/YY date +class="cmtt-10">\today </span>produce D/M/YY date </dd><dt class="description"> <span -class="ecsx-1095">text</span><a +class="cmssbx-10">text</span><a id="dx1-13008"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce text date in UK style +class="cmtt-10">\today </span>produce text date in UK style </dd><dt class="description"> <span -class="ecsx-1095">us</span><a +class="cmssbx-10">us</span><a id="dx1-13009"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce US style date - - +class="cmtt-10">\today </span>produce US style date </dd><dt class="description"> <span -class="ecsx-1095">mmddyyyy</span><a +class="cmssbx-10">mmddyyyy</span><a id="dx1-13010"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce MM/DD/YYYY date +class="cmtt-10">\today </span>produce MM/DD/YYYY date + + + </dd><dt class="description"> <span -class="ecsx-1095">mdyyyy</span><a +class="cmssbx-10">mdyyyy</span><a id="dx1-13011"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce M/D/YYYY date +class="cmtt-10">\today </span>produce M/D/YYYY date </dd><dt class="description"> <span -class="ecsx-1095">mmddyy</span><a +class="cmssbx-10">mmddyy</span><a id="dx1-13012"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce MM/DD/YY date +class="cmtt-10">\today </span>produce MM/DD/YY date </dd><dt class="description"> <span -class="ecsx-1095">mdyy</span><a +class="cmssbx-10">mdyy</span><a id="dx1-13013"></a> </dt><dd class="description">make <span -class="ectt-1095">\today </span>produce M/D/YY date +class="cmtt-10">\today </span>produce M/D/YY date </dd><dt class="description"> <span -class="ecsx-1095">raise</span><a +class="cmssbx-10">raise</span><a id="dx1-13014"></a> </dt><dd class="description">make ordinal st,nd,rd,th appear as superscript </dd><dt class="description"> <span -class="ecsx-1095">level</span><a +class="cmssbx-10">level</span><a id="dx1-13015"></a> </dt><dd class="description">make ordinal st,nd,rd,th appear level with rest of text </dd><dt class="description"> <span -class="ecsx-1095">dayofweek</span><a +class="cmssbx-10">dayofweek</span><a id="dx1-13016"></a> </dt><dd class="description">make the day of week appear for <span -class="ectt-1095">\longdate</span><a +class="cmtt-10">\longdate</span><a id="dx1-13017"></a>, <span -class="ectt-1095">\shortdate</span><a +class="cmtt-10">\shortdate</span><a id="dx1-13018"></a> or <span -class="ectt-1095">\textdate</span><a +class="cmtt-10">\textdate</span><a id="dx1-13019"></a> </dd><dt class="description"> <span -class="ecsx-1095">nodayofweek</span><a +class="cmssbx-10">nodayofweek</span><a id="dx1-13020"></a> </dt><dd -class="description">don't display the day of week. +class="description">don’t display the day of week. </dd><dt class="description"> <span -class="ecsx-1095">hhmmss</span><a +class="cmssbx-10">hhmmss</span><a id="dx1-13021"></a> </dt><dd class="description">make <span -class="ectt-1095">\currenttime </span>produce <span -class="ectt-1095">hhmmsstime </span>format +class="cmtt-10">\currenttime </span>produce <span +class="cmtt-10">hhmmsstime </span>format </dd><dt class="description"> <span -class="ecsx-1095">24hr</span><a +class="cmssbx-10">24hr</span><a id="dx1-13022"></a> </dt><dd class="description">make <span -class="ectt-1095">\currenttime </span>produce <span -class="ectt-1095">xxivtime </span>format +class="cmtt-10">\currenttime </span>produce <span +class="cmtt-10">xxivtime </span>format </dd><dt class="description"> <span -class="ecsx-1095">12hr</span><a +class="cmssbx-10">12hr</span><a id="dx1-13023"></a> </dt><dd class="description">make <span -class="ectt-1095">\currenttime </span>produce <span -class="ectt-1095">ampmtime </span>format +class="cmtt-10">\currenttime </span>produce <span +class="cmtt-10">ampmtime </span>format </dd><dt class="description"> <span -class="ecsx-1095">oclock</span><a +class="cmssbx-10">oclock</span><a id="dx1-13024"></a> </dt><dd class="description">make <span -class="ectt-1095">\currenttime </span>produce <span -class="ectt-1095">oclock </span>format +class="cmtt-10">\currenttime </span>produce <span +class="cmtt-10">oclock </span>format </dd><dt class="description"> <span -class="ecsx-1095">nodate</span><a +class="cmssbx-10">nodate</span><a id="dx1-13025"></a> </dt><dd -class="description">Don't rede -class="ectt-1095">\today </span>or de +class="description">Don’t redefine <span +class="cmtt-10">\today </span>or define the month or day of week commands (useful if you only want the time commands) </dd><dt class="description"> <span -class="ecsx-1095">iso</span><a +class="cmssbx-10">iso</span><a id="dx1-13026"></a> </dt><dd -class="description">as <span -class="ecss-1095">ddmmyyyy</span><a - id="dx1-13027"></a> and <span -class="ecss-1095">hhmmss</span><a - id="dx1-13028"></a> but also sets date separator to <span -class="ectt-1095">- </span>and time - separator to <span -class="ectt-1095">:</span></dd></dl> -<!--l. 518--><p class="indent" > The default options are: <span -class="ecss-1095">long</span><a +class="description">as <span +class="cmss-10">ddmmyyyy</span><a + id="dx1-13027"></a> and <span +class="cmss-10">hhmmss</span><a + id="dx1-13028"></a> but also sets date separator to <span +class="cmtt-10">- </span>and time separator + to <span +class="cmtt-10">:</span></dd></dl> +<!--l. 526--><p class="indent" > The default options are: <span +class="cmss-10">long</span><a id="dx1-13029"></a>, <span -class="ecss-1095">raise</span><a +class="cmss-10">raise</span><a id="dx1-13030"></a>, <span -class="ecss-1095">dayofweek</span><a +class="cmss-10">dayofweek</span><a id="dx1-13031"></a> and <span -class="ecss-1095">24hr</span><a +class="cmss-10">24hr</span><a id="dx1-13032"></a>. - - -</p><!--l. 521--><p class="noindent" > +</p><!--l. 529--><p class="noindent" > </p> -<!--l. 521--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">9 </span> <a +<!--l. 529--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">9 </span> <a id="x1-140009"></a>Multilingual Support</h3> -<!--l. 523--><p class="noindent" >If you use the <span -class="ecss-1095">ngerman</span><a + + + +<!--l. 531--><p class="noindent" >If you use the <span +class="cmss-10">ngerman</span><a id="dx1-14001"></a> package, you must use <span -class="ecss-1095">datetime</span>'s <span -class="ecss-1095">ngerman</span><a - id="dx1-14002"></a> package -option if you want the date displayed in the same form as <span -class="ecss-1095">ngerman</span><a - id="dx1-14003"></a>. You -must also load <span -class="ecss-1095">ngerman</span><a - id="dx1-14004"></a> <span -class="futri8t-x-x-109">before </span>you load <span -class="ecss-1095">datetime</span>. Similarly for the <span -class="ecss-1095">german</span><a - id="dx1-14005"></a> -package. -</p><!--l. 529--><p class="indent" > If you want to use the <span -class="ecss-1095">babel</span><a +class="cmss-10">datetime</span>’s <span +class="cmss-10">ngerman</span><a + id="dx1-14002"></a> package option if you +want the date displayed in the same form as <span +class="cmss-10">ngerman</span><a + id="dx1-14003"></a>. You must also load <span +class="cmss-10">ngerman</span><a + id="dx1-14004"></a> +<span +class="cmti-10">before </span>you load <span +class="cmss-10">datetime</span>. Similarly for the <span +class="cmss-10">german</span><a + id="dx1-14005"></a> package. +</p><!--l. 537--><p class="indent" > If you want to use the <span +class="cmss-10">babel</span><a id="dx1-14006"></a> package, you must load it <span -class="futri8t-x-x-109">before </span>you load the <span -class="ecss-1095">datetime</span> +class="cmti-10">before </span>you load the <span +class="cmss-10">datetime</span> package. This is because the <span -class="ecss-1095">babel</span><a +class="cmss-10">babel</span><a id="dx1-14007"></a> <span -class="ectt-1095">\date</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">lang</span><span -class="futsy-x-x-109">i </span>commands rede -class="ectt-1095">\today</span><a - id="dx1-14008"></a>, -whereas the <span -class="ecss-1095">datetime</span><a - id="dx1-14009"></a> package rede -class="ectt-1095">\today </span>to use <span -class="ectt-1095">\formatdate</span><a - id="dx1-14010"></a>, and the -date formatting commands (such as <span -class="ectt-1095">\longdate</span><a - id="dx1-14011"></a>) rede -class="ectt-1095">\formatdate</span> -rather than <span -class="ectt-1095">\today</span>. This ensures consistent formatting of the dates whether -you use <span -class="ectt-1095">\today </span>or <span -class="ectt-1095">\formatdate</span>. Therefore, the <span -class="ecss-1095">datetime </span>package has to -rede -class="ectt-1095">\date</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">lang</span><span -class="futsy-x-x-109">i </span>commands accordingly. Thus the multilingual date -support is mostly limited to that provided by <span -class="ecss-1095">babel</span><a - id="dx1-14012"></a>. Additional support, such -as the day of week names and abbreviations, are only supplied for those -languages that I know, or that other people have been able to supply for +class="cmtt-10">\date</span>⟨<span +class="cmti-10">lang</span>⟩ commands redefine <span +class="cmtt-10">\today</span><a + id="dx1-14008"></a>, whereas the +<span +class="cmss-10">datetime</span><a + id="dx1-14009"></a> package redefines <span +class="cmtt-10">\today </span>to use <span +class="cmtt-10">\formatdate</span><a + id="dx1-14010"></a>, and the date formatting +commands (such as <span +class="cmtt-10">\longdate</span><a + id="dx1-14011"></a>) redefine <span +class="cmtt-10">\formatdate </span>rather than <span +class="cmtt-10">\today</span>. This ensures +consistent formatting of the dates whether you use <span +class="cmtt-10">\today </span>or <span +class="cmtt-10">\formatdate</span>. Therefore, +the <span +class="cmss-10">datetime </span>package has to redefine all the <span +class="cmtt-10">\date</span>⟨<span +class="cmti-10">lang</span>⟩ commands accordingly. Thus the +multilingual date support is mostly limited to that provided by <span +class="cmss-10">babel</span><a + id="dx1-14012"></a>. Additional +support, such as the day of week names and abbreviations, are only supplied for +those languages that I know, or that other people have been able to supply for me. -</p><!--l. 545--><p class="indent" > As from v2.56, the package options supplied to <span -class="ecss-1095">datetime </span>override <span -class="ecss-1095">babel</span><a - id="dx1-14013"></a>'s date +</p><!--l. 553--><p class="indent" > As from v2.56, the package options supplied to <span +class="cmss-10">datetime </span>override <span +class="cmss-10">babel</span><a + id="dx1-14013"></a>’s date format. For example: + </p> - <div class="verbatim" id="verbatim-16"> + <div class="verbatim" id="verbatim-16"> \usepackage[french,spanish]{babel}  <br />\usepackage[ddmmyyyy]{datetime} </div> -<!--l. 550--><p class="nopar" > will use ddmmyyyy date format regardless of language. Note that if you use a +<!--l. 558--><p class="nopar" > will use ddmmyyyy date format regardless of language. Note that if you use a declaration instead of a package option, for example: + </p> - <div class="verbatim" id="verbatim-17"> + <div class="verbatim" id="verbatim-17"> \usepackage[french,spanish]{babel}  <br />\usepackage{datetime}  <br />\ddmmyyyydate </div> -<!--l. 558--><p class="nopar" > the date format will be switched back to <span -class="ectt-1095">\datefrench </span>or <span -class="ectt-1095">\datespanish </span>whenever -the language is set. You can use -</p><!--l. 561--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span -class="ectt-1000">\setdefaultdate</span><span -class="ectt-1000"> </span></span><a +<!--l. 566--><p class="nopar" > the date format will be switched back to <span +class="cmtt-10">\datefrench </span>or <span +class="cmtt-10">\datespanish </span>whenever the +language is set. You can use +</p><!--l. 569--><p class="indent" > <hr><div title="Definition"><span class="marginpar"><span +class="cmtt-9">\setdefaultdate</span><span +class="cmtt-9"> </span></span><a id="dx1-14014"></a> <span -class="ectt-1095">\setdefaultdate{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">declaration</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span></div><hr> -</p><!--l. 563--><p class="noindent" > +class="cmtt-10">\setdefaultdate{</span>⟨<span +class="cmitt-10">declaration</span>⟩<span +class="cmtt-10">} </span></div><hr> +</p><!--l. 571--><p class="noindent" > to always use <span -class="ectt-1095">{</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">declaration</span><span -class="futsy-x-x-109">i</span><span -class="ectt-1095">} </span>whenever the language is set. For example: +class="cmtt-10">{</span>⟨<span +class="cmti-10">declaration</span>⟩<span +class="cmtt-10">} </span>whenever the language is set. For example: + </p> - <div class="verbatim" id="verbatim-18"> + <div class="verbatim" id="verbatim-18"> \setdefaultdate{\ddmmyyyydate} </div> -<!--l. 568--><p class="nopar" > -</p><!--l. 570--><p class="indent" > The commands <span -class="ectt-1095">\monthname</span><a +<!--l. 576--><p class="nopar" > +</p><!--l. 578--><p class="indent" > The commands <span +class="cmtt-10">\monthname</span><a id="dx1-14015"></a> and <span -class="ectt-1095">\shortmonthname</span><a - id="dx1-14016"></a>, will produce the month -name in the current language. If you want the month name in a speci -you can use the command <span -class="ectt-1095">\monthname</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">lang</span><span -class="futsy-x-x-109">i</span>. For example, <span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\monthnamefrench[6]</span></span></span> +class="cmtt-10">\shortmonthname</span><a + id="dx1-14016"></a>, will produce the month name in +the current language. If you want the month name in a specific language, you +can use the command <span +class="cmtt-10">\monthname</span>⟨<span +class="cmti-10">lang</span>⟩. For example, <span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\monthnamefrench[6]</span></span></span> will produce the output: juin. Note that <span -class="ectt-1095">\textdate</span><a - id="dx1-14017"></a> is formatted for English dates, -and won't look right if used with another language setting. If you want a -textual date, the <span -class="ecss-1095">fmtcount</span><a +class="cmtt-10">\textdate</span><a + id="dx1-14017"></a> is formatted for English +dates, and won’t look right if used with another language setting. If you want +a textual date, the <span +class="cmss-10">fmtcount</span><a id="dx1-14018"></a> package (which is loaded by <span -class="ecss-1095">datetime</span>) de -commands which display a number or ordinal as a word, but it only has very -limited multilingual support. See the <span -class="ecss-1095">fmtcount</span><a +class="cmss-10">datetime</span>) defines +some commands which display a number or ordinal as a word, but it only has +very limited multilingual support. See the <span +class="cmss-10">fmtcount</span><a id="dx1-14019"></a> documentation for further details. -</p><!--l. 583--><p class="indent" > There is currently only <span -class="futri8t-x-x-109">limited </span>multilingual support for <span -class="ectt-1095">\dayofweekname</span><a - id="dx1-14020"></a> -and <span -class="ectt-1095">\shortdayofweekname</span><a - id="dx1-14021"></a> (just English, French, Portuguese, Spanish and -German<span class="footnote-mark"><a -href="#fn6x0" id="fn6x0-bk"><sup class="textsuperscript">6</sup></a></span><a - id="x1-14022f6"></a>). -You can add support for other languages by de -<span -class="ectt-1095">\dayofweeknameid</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">lang</span><span -class="futsy-x-x-109">i </span>and <span -class="ectt-1095">\shortdayofweeknameid</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">lang</span><span -class="futsy-x-x-109">i</span>. Note that these -commands only take <span -class="futri8t-x-x-109">one </span>argument which should be a number from 1 to 7 -indicating the day of the week. -</p><!--l. 593--><p class="indent" > You can use the following as templates. Replace <span -class="ectt-1095">english </span>with the name -of your language (as given by <span -class="ectt-1095">\languagename</span><a - id="dx1-14023"></a>) and replace <span -class="ectt-1095">Sunday </span>etc as -appropriate: - - +</p><!--l. 591--><p class="noindent" > </p> - <div class="verbatim" id="verbatim-19"> -\providecommand*{\dayofweeknameidenglish}[1]{% - <br />\ifcase#1\relax - <br />\or Sunday% - <br />\or Monday% - <br />\or Tuesday% - <br />\or Wednesday% - <br />\or Thursday% - <br />\or Friday% - <br />\or Saturday% - <br />\fi} - <br />\providecommand*{\shortdayofweeknameidenglish}[1]{% - <br />\ifcase#1\relax - <br />\or Sun% - <br />\or Mon% - <br />\or Tue% - <br />\or Wed% - <br />\or Thu% - <br />\or Fri% - <br />\or Sat% - <br />\fi} -</div> -<!--l. 619--><p class="nopar" > If you want them added to future versions of <span -class="ecss-1095">datetime</span><a - id="dx1-14024"></a>, please post them on my feature -request form at: <a -href="http://www.dickimaw-books.com/feature-request.html" class="url" ><span -class="ectt-1095">http://www.dickimaw-books.com/feature-request.html</span></a>. -Please use <span class="LATEX">L<span class="A">A</span><span class="TEX">T<span -class="E">E</span>X</span></span> commands to produce accents to ensure encoding independence. -(For example, use <span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\’e</span></span></span> instead of é.) -</p><!--l. 626--><p class="noindent" > -</p> -<!--l. 626--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">10 </span> <a +<!--l. 591--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">10 </span> <a id="x1-1500010"></a>Registers</h3> -<!--l. 628--><p class="noindent" ><span class="TEX">T<span +<!--l. 593--><p class="noindent" ><span class="TEX">T<span class="E">E</span>X</span> provides <span -class="ectt-1095">\day</span><a +class="cmtt-10">\day</span><a id="dx1-15001"></a>, <span -class="ectt-1095">\month</span><a +class="cmtt-10">\month</span><a id="dx1-15002"></a> and <span -class="ectt-1095">\year</span><a +class="cmtt-10">\year</span><a id="dx1-15003"></a> registers. In addition, <span -class="ecss-1095">datetime </span>provides the +class="cmss-10">datetime </span>provides the registers: <span -class="ectt-1095">\currenthour</span><a +class="cmtt-10">\currenthour</span><a id="dx1-15004"></a>, <span -class="ectt-1095">\currentminute</span><a +class="cmtt-10">\currentminute</span><a id="dx1-15005"></a> and <span -class="ectt-1095">\currentsecond</span><a +class="cmtt-10">\currentsecond</span><a id="dx1-15006"></a>. Note that old distributions of <span class="TEX">T<span class="E">E</span>X</span> will always have <span -class="ectt-1095">\currentsecond </span>set to zero. -</p><!--l. 634--><p class="noindent" > +class="cmtt-10">\currentsecond </span>set to zero. +</p><!--l. 599--><p class="noindent" > </p> - - -<!--l. 634--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">11 </span> <a - id="x1-1600011"></a>Con -<!--l. 636--><p class="noindent" >As from Version 2.4, the <span -class="ecss-1095">datetime </span>package will read in settings from the con - -class="ectt-1095">datetime.cfg</span>, if it exists, which will override the default package options. +<!--l. 599--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">11 </span> <a + id="x1-1600011"></a>Configuration File</h3> +<!--l. 601--><p class="noindent" >As from Version 2.4, the <span +class="cmss-10">datetime </span>package will read in settings from the configuration +file <span +class="cmtt-10">datetime.cfg</span>, if it exists, which will override the default package options. For example, suppose you prefer a short date without the day of week by -default, you will need to create a -class="ectt-1095">datetime.cfg </span>that contains the +default, you will need to create a file called <span +class="cmtt-10">datetime.cfg </span>that contains the line: + </p> - <div class="verbatim" id="verbatim-20"> + <div class="verbatim" id="verbatim-19"> \shortdate\showdowfalse </div> -<!--l. 644--><p class="nopar" > The -class="ectt-1095">datetime.cfg </span>should then go somewhere on the <span class="TEX">T<span -class="E">E</span>X</span> path. Now all you -need to do is: +<!--l. 609--><p class="nopar" > The file <span +class="cmtt-10">datetime.cfg </span>should then go somewhere on the <span class="TEX">T<span +class="E">E</span>X</span> path. Now all you need +to do is: + </p> - <div class="verbatim" id="verbatim-21"> + <div class="verbatim" id="verbatim-20"> \usepackage{datetime} </div> -<!--l. 649--><p class="nopar" > without having to specify the <span -class="ecss-1095">short</span><a +<!--l. 614--><p class="nopar" > without having to specify the <span +class="cmss-10">short</span><a id="dx1-16001"></a> and <span -class="ecss-1095">nodayofweek</span><a +class="cmss-10">nodayofweek</span><a id="dx1-16002"></a> options. -</p><!--l. 653--><p class="indent" > You can also use this -could create a con +</p><!--l. 618--><p class="indent" > You can also use this file to define and set your own date styles. For example, you +could create a configuration file that has the following lines: + </p> - <div class="verbatim" id="verbatim-22"> + <div class="verbatim" id="verbatim-21"> \newdateformat{dashdate}{\twodigit{\THEDAY}-\twodigit{\THEMONTH}-\THEYEAR}  <br />\dashdate </div> -<!--l. 659--><p class="nopar" > Whenever you use the <span -class="ecss-1095">datetime </span>package, it will now use this format by default. -</p><!--l. 663--><p class="noindent" > +<!--l. 624--><p class="nopar" > Whenever you use the <span +class="cmss-10">datetime </span>package, it will now use this format by default. +</p><!--l. 628--><p class="noindent" > </p> -<!--l. 663--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">12 </span> <a +<!--l. 628--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">12 </span> <a id="x1-1700012"></a>LaTeX2HTML styles</h3> <a id="dx1-17001"></a> <a id="dx1-17002"></a> -<!--l. 667--><p class="noindent" >Version 2.43 and above of the <span -class="ecss-1095">datetime </span>bundle supplies the LaTeX2HTML style +<!--l. 632--><p class="noindent" >Version 2.43 and above of the <span +class="cmss-10">datetime </span>bundle supplies the LaTeX2HTML style file <span -class="ectt-1095">datetime.perl</span>. This +class="cmtt-10">datetime.perl</span>. This file should be placed in a directory searched by LaTeX2HTML. The following limitations apply to the LaTeX2HTML styles: </p> <ul class="itemize1"> - <li class="itemize">The con -class="ectt-1095">datetime.cfg </span>is currently ignored. You can however + <li class="itemize">The configuration file <span +class="cmtt-10">datetime.cfg </span>is currently ignored. You can however do: - - <div class="verbatim" id="verbatim-23"> + + + <div class="verbatim" id="verbatim-22"> \usepackage{datetime}  <br />\html{\input{datetime.cfg}} </div> - <!--l. 680--><p class="nopar" > This, I agree, is an unpleasant cludge. + <!--l. 645--><p class="nopar" > This, I agree, is an unpleasant cludge. </p></li> <li class="itemize">The commands <span -class="ectt-1095">\monthname</span><span -class="futsy-x-x-109">h</span><span -class="futri8t-x-x-109">language</span><span -class="futsy-x-x-109">i </span>are not implemented. +class="cmtt-10">\monthname</span>⟨<span +class="cmti-10">language</span>⟩ are not implemented. </li> <li class="itemize">Some of the languages are not implemented. </li> <li class="itemize">The package option <span -class="ecss-1095">nodate</span><a +class="cmss-10">nodate</span><a id="dx1-17003"></a> is not implemented. </li></ul> -<!--l. 692--><p class="noindent" > +<!--l. 657--><p class="noindent" > </p> -<!--l. 692--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="sectionHead"><span class="titlemark">13 </span> <a +<!--l. 657--><p class="noindent" ><a +href="#top">Top</a><h2 class="sectionHead"></p><h3 class="sectionHead"><span class="titlemark">13 </span> <a id="x1-1800013"></a>Troubleshooting</h3> -<!--l. 694--><p class="noindent" >There is a <span -class="ecss-1095">datetime</span><a +<!--l. 659--><p class="noindent" >There is a <span +class="cmss-10">datetime</span><a id="dx1-18001"></a> FAQ available at: <a href="http://www.dickimaw-books.com/faqs/datetimefaq.html" class="url" ><span -class="ectt-1095">http://www.dickimaw-books.com/faqs/datetimefaq.html</span></a>. -</p><!--l. 699--><p class="indent" > <a +class="cmtt-10">http://www.dickimaw-books.com/faqs/datetimefaq.html</span></a>. +</p><!--l. 664--><p class="indent" > <a id="likesection.1"></a><a id="Q1-1-19"></a> -</p><!--l. 2--><p class="noindent" > + + + + <a + id="likesection.2"></a><a + id="Q1-1-20"></a> </p> -<!--l. 2--><p class="noindent" ><a -href="#top">Top</a></p><h3 class="likesectionHead"><a + <h3 class="likesectionHead"><a id="x1-1900013"></a>Index</h3> <!--l. 4--><p class="noindent" > <span -class="futb8t-x-x-109">A</span> +class="cmbx-10">A</span> </p> - <div class="theindex"><span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\amname</span></span></span>  <a + <div class="theindex"><span class="index-item"><span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\amname</span></span></span>  <a href="datetime-manual.html#dx1-12003" ><span class="underline">1</span></a>, <a href="datetime-manual.html#dx1-12006" ><span class="underline">2</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\amorpmname</span></span></span>  <a +class="cmtt-10">\amorpmname</span></span></span>  <a href="datetime-manual.html#dx1-12005" ><span class="underline">3</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\amorpmstring</span></span></span>  <a +class="cmtt-10">\amorpmstring</span></span></span>  <a href="datetime-manual.html#dx1-12010" ><span class="underline">4</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\amstring</span></span></span>  <a +class="cmtt-10">\amstring</span></span></span>  <a href="datetime-manual.html#dx1-12008" ><span class="underline">5</span></a>, <a href="datetime-manual.html#dx1-12011" ><span class="underline">6</span></a> <br /></span> <p class="theindex"> <span -class="futb8t-x-x-109">B</span> +class="cmbx-10">B</span> <span class="index-item"><span -class="ecss-1095">babel </span>package  <a +class="cmss-10">babel </span>package  <a href="datetime-manual.html#dx1-2011" >7</a>, <a href="datetime-manual.html#dx1-2012" >8</a>, <a href="datetime-manual.html#dx1-7001" >9</a>, <a @@ -1850,514 +1665,509 @@ href="datetime-manual.html#dx1-14006" >10</a>, <a href="datetime-manual.html#dx1-14007" >11</a>, <a href="datetime-manual.html#dx1-14012" >12</a>, <a href="datetime-manual.html#dx1-14013" >13</a> <br /></span> - - </p><p class="theindex"> <span -class="futb8t-x-x-109">C</span> +class="cmbx-10">C</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\currenthour</span></span></span>  <a +class="cmtt-10">\currenthour</span></span></span>  <a href="datetime-manual.html#dx1-15004" ><span class="underline">14</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\currentminute</span></span></span>  <a +class="cmtt-10">\currentminute</span></span></span>  <a href="datetime-manual.html#dx1-15005" ><span class="underline">15</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\currentsecond</span></span></span>  <a +class="cmtt-10">\currentsecond</span></span></span>  <a href="datetime-manual.html#dx1-15006" ><span class="underline">16</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\currenttime</span></span></span>  <a +class="cmtt-10">\currenttime</span></span></span>  <a href="datetime-manual.html#dx1-8001" ><span -class="futri8t-x-x-109">17</span></a> <br /></span> +class="cmti-10">17</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">D</span> +class="cmbx-10">D</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\dateseparator</span></span></span>  <a +class="cmtt-10">\dateseparator</span></span></span>  <a href="datetime-manual.html#dx1-3003" ><span -class="futri8t-x-x-109">18</span></a>, <a +class="cmti-10">18</span></a>, <a href="datetime-manual.html#dx1-4003" ><span class="underline">19</span></a>, <a href="datetime-manual.html#dx1-12001" ><span class="underline">20</span></a> <br /></span> <span class="index-item"><span -class="ecss-1095">datetime </span>package  <a +class="cmss-10">datetime </span>package  <a href="datetime-manual.html#dx1-14009" >21</a>, <a -href="datetime-manual.html#dx1-14024" >22</a>, <a -href="datetime-manual.html#dx1-18001" >23</a> <br /></span> -<span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\day</span></span></span>  <a -href="datetime-manual.html#dx1-15001" ><span class="underline">24</span></a> <br /></span> +href="datetime-manual.html#dx1-18001" >22</a> <br /></span> +<span class="index-item"><span +class="cmss-10">datetime2 </span>package  <a +href="datetime-manual.html#dx1-2" >23</a> <br /></span> <span class="index-item"><span -class="ecss-1095">DAY </span>counter  <a -href="datetime-manual.html#dx1-10005" >25</a>, <a -href="datetime-manual.html#dx1-10013" >26</a>, <a -href="datetime-manual.html#dx1-10016" >27</a> <br /></span> +class="cmtt-10">DAY </span>(counter)  <a +href="datetime-manual.html#dx1-10005" >24</a>, <a +href="datetime-manual.html#dx1-10013" >25</a>, <a +href="datetime-manual.html#dx1-10016" >26</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\dayofweekname</span></span></span>  <a +class="cmtt-10">\day</span></span></span>  <a +href="datetime-manual.html#dx1-15001" ><span class="underline">27</span></a> <br /></span> +<span class="index-item"><span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\dayofweekname</span></span></span>  <a href="datetime-manual.html#dx1-9005" ><span -class="futri8t-x-x-109">28</span></a>, <a -href="datetime-manual.html#dx1-14020" ><span class="underline">29</span></a> <br /></span> +class="cmti-10">28</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\ddmmyydate</span></span></span>  <a +class="cmtt-10">\ddmmyydate</span></span></span>  <a href="datetime-manual.html#dx1-5013" ><span -class="futri8t-x-x-109">30</span></a> <br /></span> +class="cmti-10">29</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\ddmmyyyydate</span></span></span>  <a -href="datetime-manual.html#dx1-3002" ><span class="underline">31</span></a>, <a +class="cmtt-10">\ddmmyyyydate</span></span></span>  <a +href="datetime-manual.html#dx1-3002" ><span class="underline">30</span></a>, <a href="datetime-manual.html#dx1-5009" ><span -class="futri8t-x-x-109">32</span></a> <br /></span> +class="cmti-10">31</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\displaydate</span></span></span>  <a +class="cmtt-10">\displaydate</span></span></span>  <a href="datetime-manual.html#dx1-11004" ><span -class="futri8t-x-x-109">33</span></a> <br /></span> +class="cmti-10">32</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\dmyydate</span></span></span>  <a +class="cmtt-10">\dmyydate</span></span></span>  <a href="datetime-manual.html#dx1-5015" ><span -class="futri8t-x-x-109">34</span></a> <br /></span> +class="cmti-10">33</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\dmyyyydate</span></span></span>  <a +class="cmtt-10">\dmyyyydate</span></span></span>  <a href="datetime-manual.html#dx1-5011" ><span -class="futri8t-x-x-109">35</span></a> <br /></span> +class="cmti-10">34</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">F</span> +class="cmbx-10">F</span> <span class="index-item"><span -class="ecss-1095">fmtcount </span>package  <a -href="datetime-manual.html#dx1-2007" >36</a>, <a -href="datetime-manual.html#dx1-2009" >37</a>, <a -href="datetime-manual.html#dx1-5023" >38</a>, <a -href="datetime-manual.html#dx1-9013" >39</a>, <a -href="datetime-manual.html#dx1-14018" >40</a>, <a -href="datetime-manual.html#dx1-14019" >41</a>, <a -href="datetime-manual.html#dx1-5022" >42</a> <br /></span> -<span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\formatdate</span></span></span>  <a +class="cmss-10">fmtcount </span>package  <a +href="datetime-manual.html#dx1-2007" >35</a>, <a +href="datetime-manual.html#dx1-2009" >36</a>, <a +href="datetime-manual.html#dx1-5023" >37</a>, <a +href="datetime-manual.html#dx1-9013" >38</a>, <a +href="datetime-manual.html#dx1-14018" >39</a>, <a +href="datetime-manual.html#dx1-14019" >40</a>, <a +href="datetime-manual.html#dx1-5022" >41</a> <br /></span> +<span class="index-item"><span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\formatdate</span></span></span>  <a href="datetime-manual.html#dx1-9016" ><span -class="futri8t-x-x-109">43</span></a>, <a -href="datetime-manual.html#dx1-10010" ><span class="underline">44</span></a>, <a -href="datetime-manual.html#dx1-11003" ><span class="underline">45</span></a>, <a -href="datetime-manual.html#dx1-14010" ><span class="underline">46</span></a>, <a -href="datetime-manual.html#dx1-9020" ><span class="underline">47</span></a> <br /></span> +class="cmti-10">42</span></a>, <a +href="datetime-manual.html#dx1-10010" ><span class="underline">43</span></a>, <a +href="datetime-manual.html#dx1-11003" ><span class="underline">44</span></a>, <a +href="datetime-manual.html#dx1-14010" ><span class="underline">45</span></a>, <a +href="datetime-manual.html#dx1-9020" ><span class="underline">46</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\formattime</span></span></span>  <a +class="cmtt-10">\formattime</span></span></span>  <a href="datetime-manual.html#dx1-8002" ><span -class="futri8t-x-x-109">48</span></a> <br /></span> +class="cmti-10">47</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">G</span> +class="cmbx-10">G</span> + + + <span class="index-item"><span -class="ecss-1095">german </span>package  <a -href="datetime-manual.html#dx1-14005" >49</a> <br /></span> +class="cmss-10">german </span>package  <a +href="datetime-manual.html#dx1-14005" >48</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\getdateday</span></span></span>  <a +class="cmtt-10">\getdateday</span></span></span>  <a href="datetime-manual.html#dx1-11005" ><span -class="futri8t-x-x-109">50</span></a> <br /></span> +class="cmti-10">49</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\getdatemonth</span></span></span>  <a +class="cmtt-10">\getdatemonth</span></span></span>  <a href="datetime-manual.html#dx1-11006" ><span -class="futri8t-x-x-109">51</span></a> <br /></span> +class="cmti-10">50</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\getdateyear</span></span></span>  <a +class="cmtt-10">\getdateyear</span></span></span>  <a href="datetime-manual.html#dx1-11007" ><span -class="futri8t-x-x-109">52</span></a> <br /></span> +class="cmti-10">51</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">H</span> +class="cmbx-10">H</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\halfpast</span></span></span>  <a -href="datetime-manual.html#dx1-12013" ><span class="underline">53</span></a> <br /></span> +class="cmtt-10">\halfpast</span></span></span>  <a +href="datetime-manual.html#dx1-12013" ><span class="underline">52</span></a> <br /></span> <span class="index-item"><span -class="ecss-1095">HOUR </span>counter  <a -href="datetime-manual.html#dx1-8006" >54</a> <br /></span> +class="cmtt-10">HOUR </span>(counter)  <a +href="datetime-manual.html#dx1-8006" >53</a> <br /></span> <span class="index-item"><span -class="ecss-1095">HOURXII </span>counter  <a -href="datetime-manual.html#dx1-8009" >55</a> <br /></span> +class="cmtt-10">HOURXII </span>(counter)  <a +href="datetime-manual.html#dx1-8009" >54</a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">I</span> +class="cmbx-10">I</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\ifshowdow</span></span></span>  <a +class="cmtt-10">\ifshowdow</span></span></span>  <a href="datetime-manual.html#dx1-9007" ><span -class="futri8t-x-x-109">56</span></a> <br /></span> - - +class="cmti-10">55</span></a> <br /></span> <span class="index-item"><span -class="ecss-1095">ifthen </span>package  <a -href="datetime-manual.html#dx1-9010" >57</a> <br /></span> +class="cmss-10">ifthen </span>package  <a +href="datetime-manual.html#dx1-9010" >56</a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">L</span> +class="cmbx-10">L</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\languagename</span></span></span>  <a -href="datetime-manual.html#dx1-14023" ><span class="underline">58</span></a> <br /></span> -<span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\longdate</span></span></span>  <a +class="cmtt-10">\longdate</span></span></span>  <a href="datetime-manual.html#dx1-5001" ><span -class="futri8t-x-x-109">59</span></a>, <a -href="datetime-manual.html#dx1-9022" ><span class="underline">60</span></a>, <a -href="datetime-manual.html#dx1-13017" ><span class="underline">61</span></a>, <a -href="datetime-manual.html#dx1-14011" ><span class="underline">62</span></a>, <a -href="datetime-manual.html#dx1-9021" ><span class="underline">63</span></a> <br /></span> +class="cmti-10">57</span></a>, <a +href="datetime-manual.html#dx1-9022" ><span class="underline">58</span></a>, <a +href="datetime-manual.html#dx1-13017" ><span class="underline">59</span></a>, <a +href="datetime-manual.html#dx1-14011" ><span class="underline">60</span></a>, <a +href="datetime-manual.html#dx1-9021" ><span class="underline">61</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">M</span> +class="cmbx-10">M</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\mdyydate</span></span></span>  <a +class="cmtt-10">\mdyydate</span></span></span>  <a href="datetime-manual.html#dx1-6007" ><span -class="futri8t-x-x-109">64</span></a> <br /></span> +class="cmti-10">62</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\mdyyyydate</span></span></span>  <a +class="cmtt-10">\mdyyyydate</span></span></span>  <a href="datetime-manual.html#dx1-6004" ><span -class="futri8t-x-x-109">65</span></a> <br /></span> +class="cmti-10">63</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\midnight</span></span></span>  <a -href="datetime-manual.html#dx1-12017" ><span class="underline">66</span></a> <br /></span> +class="cmtt-10">\midnight</span></span></span>  <a +href="datetime-manual.html#dx1-12017" ><span class="underline">64</span></a> <br /></span> <span class="index-item"><span -class="ecss-1095">MINUTE </span>counter  <a -href="datetime-manual.html#dx1-8007" >67</a> <br /></span> +class="cmtt-10">MINUTE </span>(counter)  <a +href="datetime-manual.html#dx1-8007" >65</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\mmddyydate</span></span></span>  <a +class="cmtt-10">\mmddyydate</span></span></span>  <a href="datetime-manual.html#dx1-6005" ><span -class="futri8t-x-x-109">68</span></a> <br /></span> +class="cmti-10">66</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\mmddyyyydate</span></span></span>  <a +class="cmtt-10">\mmddyyyydate</span></span></span>  <a href="datetime-manual.html#dx1-6002" ><span -class="futri8t-x-x-109">69</span></a> <br /></span> -<span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\month</span></span></span>  <a -href="datetime-manual.html#dx1-15002" ><span class="underline">70</span></a> <br /></span> +class="cmti-10">67</span></a> <br /></span> <span class="index-item"><span -class="ecss-1095">MONTH </span>counter  <a -href="datetime-manual.html#dx1-10006" >71</a> <br /></span> +class="cmtt-10">MONTH </span>(counter)  <a +href="datetime-manual.html#dx1-10006" >68</a> <br /></span> +<span class="index-item"><span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\month</span></span></span>  <a +href="datetime-manual.html#dx1-15002" ><span class="underline">69</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\monthname</span></span></span>  <a +class="cmtt-10">\monthname</span></span></span>  <a href="datetime-manual.html#dx1-9003" ><span -class="futri8t-x-x-109">72</span></a>, <a -href="datetime-manual.html#dx1-14015" ><span class="underline">73</span></a> <br /></span> +class="cmti-10">70</span></a>, <a +href="datetime-manual.html#dx1-14015" ><span class="underline">71</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">N</span> +class="cmbx-10">N</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\newdate</span></span></span>  <a +class="cmtt-10">\newdate</span></span></span>  <a href="datetime-manual.html#dx1-11002" ><span -class="futri8t-x-x-109">74</span></a> <br /></span> +class="cmti-10">72</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\newdateformat</span></span></span>  <a +class="cmtt-10">\newdateformat</span></span></span>  <a href="datetime-manual.html#dx1-10001" ><span -class="futri8t-x-x-109">75</span></a>, <a -href="datetime-manual.html#dx1-10011" ><span class="underline">76</span></a>, <a -href="datetime-manual.html#dx1-10014" ><span class="underline">77</span></a> <br /></span> +class="cmti-10">73</span></a>, <a +href="datetime-manual.html#dx1-10011" ><span class="underline">74</span></a>, <a +href="datetime-manual.html#dx1-10014" ><span class="underline">75</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\newtimeformat</span></span></span>  <a +class="cmtt-10">\newtimeformat</span></span></span>  <a href="datetime-manual.html#dx1-8004" ><span -class="futri8t-x-x-109">78</span></a> <br /></span> +class="cmti-10">76</span></a> <br /></span> <span class="index-item"><span -class="ecss-1095">ngerman </span>package  <a -href="datetime-manual.html#dx1-14001" >79</a>, <a -href="datetime-manual.html#dx1-14003" >80</a>, <a -href="datetime-manual.html#dx1-14004" >81</a> <br /></span> +class="cmss-10">ngerman </span>package  <a +href="datetime-manual.html#dx1-14001" >77</a>, <a +href="datetime-manual.html#dx1-14003" >78</a>, <a +href="datetime-manual.html#dx1-14004" >79</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\noon</span></span></span>  <a -href="datetime-manual.html#dx1-12016" ><span class="underline">82</span></a> <br /></span> +class="cmtt-10">\noon</span></span></span>  <a +href="datetime-manual.html#dx1-12016" ><span class="underline">80</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">O</span> +class="cmbx-10">O</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\oclockstring</span></span></span>  <a -href="datetime-manual.html#dx1-12018" ><span class="underline">83</span></a> <br /></span> +class="cmtt-10">\oclockstring</span></span></span>  <a +href="datetime-manual.html#dx1-12018" ><span class="underline">81</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\ordinal</span></span></span>  <a -href="datetime-manual.html#dx1-2008" ><span class="underline">84</span></a>, <a -href="datetime-manual.html#dx1-10008" ><span class="underline">85</span></a>, <a -href="datetime-manual.html#dx1-10015" ><span class="underline">86</span></a> <br /></span> +class="cmtt-10">\ordinal</span></span></span>  <a +href="datetime-manual.html#dx1-2008" ><span class="underline">82</span></a>, <a +href="datetime-manual.html#dx1-10008" ><span class="underline">83</span></a>, <a +href="datetime-manual.html#dx1-10015" ><span class="underline">84</span></a> <br /></span> + + + <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\ordinaldate</span></span></span>  <a +class="cmtt-10">\ordinaldate</span></span></span>  <a href="datetime-manual.html#dx1-9011" ><span -class="futri8t-x-x-109">87</span></a>, <a -href="datetime-manual.html#dx1-10017" ><span class="underline">88</span></a> <br /></span> +class="cmti-10">85</span></a>, <a +href="datetime-manual.html#dx1-10017" ><span class="underline">86</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\ordinalnum</span></span></span>  <a -href="datetime-manual.html#dx1-9012" ><span class="underline">89</span></a> <br /></span> +class="cmtt-10">\ordinalnum</span></span></span>  <a +href="datetime-manual.html#dx1-9012" ><span class="underline">87</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">P</span> +class="cmbx-10">P</span> <span class="index-item">package options:<br /></span> <span class="index-subitem">    <span -class="ecss-1095">12hr</span>  <a -href="datetime-manual.html#dx1-13023" ><span class="underline">90</span></a> <br /></span> +class="cmss-10">12hr</span>  <a +href="datetime-manual.html#dx1-13023" ><span class="underline">88</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">24hr</span>  <a -href="datetime-manual.html#dx1-13022" ><span class="underline">91</span></a>, <a -href="datetime-manual.html#dx1-13032" ><span class="underline">92</span></a> <br /></span> +class="cmss-10">24hr</span>  <a +href="datetime-manual.html#dx1-13022" ><span class="underline">89</span></a>, <a +href="datetime-manual.html#dx1-13032" ><span class="underline">90</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">dayofweek</span>  <a -href="datetime-manual.html#dx1-5003" ><span class="underline">93</span></a>, <a -href="datetime-manual.html#dx1-5007" ><span class="underline">94</span></a>, <a -href="datetime-manual.html#dx1-5019" ><span class="underline">95</span></a>, <a -href="datetime-manual.html#dx1-9008" ><span class="underline">96</span></a>, <a -href="datetime-manual.html#dx1-9009" ><span class="underline">97</span></a>, <a -href="datetime-manual.html#dx1-13016" ><span class="underline">98</span></a>, <a -href="datetime-manual.html#dx1-13031" ><span class="underline">99</span></a> <br /></span> +class="cmss-10">dayofweek</span>  <a +href="datetime-manual.html#dx1-5003" ><span class="underline">91</span></a>, <a +href="datetime-manual.html#dx1-5007" ><span class="underline">92</span></a>, <a +href="datetime-manual.html#dx1-5019" ><span class="underline">93</span></a>, <a +href="datetime-manual.html#dx1-9008" ><span class="underline">94</span></a>, <a +href="datetime-manual.html#dx1-9009" ><span class="underline">95</span></a>, <a +href="datetime-manual.html#dx1-13016" ><span class="underline">96</span></a>, <a +href="datetime-manual.html#dx1-13031" ><span class="underline">97</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">ddmmyy</span>  <a -href="datetime-manual.html#dx1-13006" ><span class="underline">100</span></a> <br /></span> +class="cmss-10">ddmmyy</span>  <a +href="datetime-manual.html#dx1-13006" ><span class="underline">98</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">ddmmyyyy</span>  <a -href="datetime-manual.html#dx1-13004" ><span class="underline">101</span></a>, <a -href="datetime-manual.html#dx1-13027" ><span class="underline">102</span></a> <br /></span> +class="cmss-10">ddmmyyyy</span>  <a +href="datetime-manual.html#dx1-13004" ><span class="underline">99</span></a>, <a +href="datetime-manual.html#dx1-13027" ><span class="underline">100</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">dmyy</span>  <a -href="datetime-manual.html#dx1-13007" ><span class="underline">103</span></a> <br /></span> +class="cmss-10">dmyy</span>  <a +href="datetime-manual.html#dx1-13007" ><span class="underline">101</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">dmyyyy</span>  <a -href="datetime-manual.html#dx1-13005" ><span class="underline">104</span></a> <br /></span> - - +class="cmss-10">dmyyyy</span>  <a +href="datetime-manual.html#dx1-13005" ><span class="underline">102</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">hhmmss</span>  <a -href="datetime-manual.html#dx1-13021" ><span class="underline">105</span></a>, <a -href="datetime-manual.html#dx1-13028" ><span class="underline">106</span></a> <br /></span> +class="cmss-10">hhmmss</span>  <a +href="datetime-manual.html#dx1-13021" ><span class="underline">103</span></a>, <a +href="datetime-manual.html#dx1-13028" ><span class="underline">104</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">iso</span>  <a -href="datetime-manual.html#dx1-13026" ><span class="underline">107</span></a> <br /></span> +class="cmss-10">iso</span>  <a +href="datetime-manual.html#dx1-13026" ><span class="underline">105</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">level</span>  <a -href="datetime-manual.html#dx1-13015" ><span class="underline">108</span></a> <br /></span> +class="cmss-10">level</span>  <a +href="datetime-manual.html#dx1-13015" ><span class="underline">106</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">long</span>  <a -href="datetime-manual.html#dx1-13001" ><span class="underline">109</span></a>, <a -href="datetime-manual.html#dx1-13029" ><span class="underline">110</span></a> <br /></span> +class="cmss-10">long</span>  <a +href="datetime-manual.html#dx1-13001" ><span class="underline">107</span></a>, <a +href="datetime-manual.html#dx1-13029" ><span class="underline">108</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">mdyy</span>  <a -href="datetime-manual.html#dx1-13013" ><span class="underline">111</span></a> <br /></span> +class="cmss-10">mdyy</span>  <a +href="datetime-manual.html#dx1-13013" ><span class="underline">109</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">mdyyyy</span>  <a -href="datetime-manual.html#dx1-13011" ><span class="underline">112</span></a> <br /></span> +class="cmss-10">mdyyyy</span>  <a +href="datetime-manual.html#dx1-13011" ><span class="underline">110</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">mmddyy</span>  <a -href="datetime-manual.html#dx1-13012" ><span class="underline">113</span></a> <br /></span> +class="cmss-10">mmddyy</span>  <a +href="datetime-manual.html#dx1-13012" ><span class="underline">111</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">mmddyyyy</span>  <a -href="datetime-manual.html#dx1-13010" ><span class="underline">114</span></a> <br /></span> +class="cmss-10">mmddyyyy</span>  <a +href="datetime-manual.html#dx1-13010" ><span class="underline">112</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">ngerman</span>  <a -href="datetime-manual.html#dx1-14002" ><span class="underline">115</span></a> <br /></span> +class="cmss-10">ngerman</span>  <a +href="datetime-manual.html#dx1-14002" ><span class="underline">113</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">nodate</span>  <a -href="datetime-manual.html#dx1-2004" ><span class="underline">116</span></a>, <a -href="datetime-manual.html#dx1-13025" ><span class="underline">117</span></a>, <a -href="datetime-manual.html#dx1-17003" ><span class="underline">118</span></a> <br /></span> +class="cmss-10">nodate</span>  <a +href="datetime-manual.html#dx1-2004" ><span class="underline">114</span></a>, <a +href="datetime-manual.html#dx1-13025" ><span class="underline">115</span></a>, <a +href="datetime-manual.html#dx1-17003" ><span class="underline">116</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">nodayofweek</span>  <a -href="datetime-manual.html#dx1-5004" ><span class="underline">119</span></a>, <a -href="datetime-manual.html#dx1-5008" ><span class="underline">120</span></a>, <a -href="datetime-manual.html#dx1-5020" ><span class="underline">121</span></a>, <a -href="datetime-manual.html#dx1-13020" ><span class="underline">122</span></a>, <a -href="datetime-manual.html#dx1-16002" ><span class="underline">123</span></a> <br /></span> +class="cmss-10">nodayofweek</span>  <a +href="datetime-manual.html#dx1-5004" ><span class="underline">117</span></a>, <a +href="datetime-manual.html#dx1-5008" ><span class="underline">118</span></a>, <a +href="datetime-manual.html#dx1-5020" ><span class="underline">119</span></a>, <a +href="datetime-manual.html#dx1-13020" ><span class="underline">120</span></a>, <a +href="datetime-manual.html#dx1-16002" ><span class="underline">121</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">oclock</span>  <a -href="datetime-manual.html#dx1-13024" ><span class="underline">124</span></a> <br /></span> +class="cmss-10">oclock</span>  <a +href="datetime-manual.html#dx1-13024" ><span class="underline">122</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">raise</span>  <a -href="datetime-manual.html#dx1-13014" ><span class="underline">125</span></a>, <a -href="datetime-manual.html#dx1-13030" ><span class="underline">126</span></a> <br /></span> +class="cmss-10">raise</span>  <a +href="datetime-manual.html#dx1-13014" ><span class="underline">123</span></a>, <a +href="datetime-manual.html#dx1-13030" ><span class="underline">124</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">short</span>  <a -href="datetime-manual.html#dx1-13002" ><span class="underline">127</span></a>, <a -href="datetime-manual.html#dx1-16001" ><span class="underline">128</span></a> <br /></span> +class="cmss-10">short</span>  <a +href="datetime-manual.html#dx1-13002" ><span class="underline">125</span></a>, <a +href="datetime-manual.html#dx1-16001" ><span class="underline">126</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">text</span>  <a -href="datetime-manual.html#dx1-13008" ><span class="underline">129</span></a> <br /></span> +class="cmss-10">text</span>  <a +href="datetime-manual.html#dx1-13008" ><span class="underline">127</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">us</span>  <a -href="datetime-manual.html#dx1-13009" ><span class="underline">130</span></a> <br /></span> +class="cmss-10">us</span>  <a +href="datetime-manual.html#dx1-13009" ><span class="underline">128</span></a> <br /></span> <span class="index-subitem">    <span -class="ecss-1095">yyyymmdd</span>  <a -href="datetime-manual.html#dx1-13003" ><span class="underline">131</span></a> <br /></span> +class="cmss-10">yyyymmdd</span>  <a +href="datetime-manual.html#dx1-13003" ><span class="underline">129</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\pdfdate</span></span></span>  <a +class="cmtt-10">\pdfdate</span></span></span>  <a href="datetime-manual.html#dx1-9001" ><span -class="futri8t-x-x-109">132</span></a> <br /></span> +class="cmti-10">130</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\pmname</span></span></span>  <a -href="datetime-manual.html#dx1-12004" ><span class="underline">133</span></a>, <a -href="datetime-manual.html#dx1-12007" ><span class="underline">134</span></a> <br /></span> +class="cmtt-10">\pmname</span></span></span>  <a +href="datetime-manual.html#dx1-12004" ><span class="underline">131</span></a>, <a +href="datetime-manual.html#dx1-12007" ><span class="underline">132</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\pmstring</span></span></span>  <a -href="datetime-manual.html#dx1-12009" ><span class="underline">135</span></a>, <a -href="datetime-manual.html#dx1-12012" ><span class="underline">136</span></a> <br /></span> +class="cmtt-10">\pmstring</span></span></span>  <a +href="datetime-manual.html#dx1-12009" ><span class="underline">133</span></a>, <a +href="datetime-manual.html#dx1-12012" ><span class="underline">134</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">Q</span> +class="cmbx-10">Q</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\quarterpast</span></span></span>  <a -href="datetime-manual.html#dx1-12014" ><span class="underline">137</span></a> <br /></span> +class="cmtt-10">\quarterpast</span></span></span>  <a +href="datetime-manual.html#dx1-12014" ><span class="underline">135</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\quarterto</span></span></span>  <a -href="datetime-manual.html#dx1-12015" ><span class="underline">138</span></a> <br /></span> -</p><p class="theindex"> <span -class="futb8t-x-x-109">S</span> +class="cmtt-10">\quarterto</span></span></span>  <a +href="datetime-manual.html#dx1-12015" ><span class="underline">136</span></a> <br /></span> +</p><p class="theindex"> <span +class="cmbx-10">S</span> <span class="index-item"><span -class="ecss-1095">SECOND </span>counter  <a -href="datetime-manual.html#dx1-8008" >139</a> <br /></span> +class="cmtt-10">SECOND </span>(counter)  <a +href="datetime-manual.html#dx1-8008" >137</a> <br /></span> <span class="index-item"><span -class="ecss-1095">seminar </span>package  <a -href="datetime-manual.html#dx1-9015" >140</a> <br /></span> +class="cmss-10">seminar </span>package  <a +href="datetime-manual.html#dx1-9015" >138</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\setdefaultdate</span></span></span>  <a +class="cmtt-10">\setdefaultdate</span></span></span>  <a href="datetime-manual.html#dx1-14014" ><span -class="futri8t-x-x-109">141</span></a> <br /></span> +class="cmti-10">139</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\settimeformat</span></span></span>  <a +class="cmtt-10">\settimeformat</span></span></span>  <a href="datetime-manual.html#dx1-8003" ><span -class="futri8t-x-x-109">142</span></a>, <a -href="datetime-manual.html#dx1-8005" ><span class="underline">143</span></a> <br /></span> +class="cmti-10">140</span></a>, <a +href="datetime-manual.html#dx1-8005" ><span class="underline">141</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\shortdate</span></span></span>  <a +class="cmtt-10">\shortdate</span></span></span>  <a href="datetime-manual.html#dx1-5005" ><span -class="futri8t-x-x-109">144</span></a>, <a -href="datetime-manual.html#dx1-13018" ><span class="underline">145</span></a> <br /></span> +class="cmti-10">142</span></a>, <a +href="datetime-manual.html#dx1-13018" ><span class="underline">143</span></a> <br /></span> + + + <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\shortdayofweekname</span></span></span>  <a +class="cmtt-10">\shortdayofweekname</span></span></span>  <a href="datetime-manual.html#dx1-9006" ><span -class="futri8t-x-x-109">146</span></a>, <a -href="datetime-manual.html#dx1-14021" ><span class="underline">147</span></a> <br /></span> +class="cmti-10">144</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\shortmonthname</span></span></span>  <a +class="cmtt-10">\shortmonthname</span></span></span>  <a href="datetime-manual.html#dx1-9004" ><span -class="futri8t-x-x-109">148</span></a>, <a -href="datetime-manual.html#dx1-14016" ><span class="underline">149</span></a> <br /></span> +class="cmti-10">145</span></a>, <a +href="datetime-manual.html#dx1-14016" ><span class="underline">146</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">T</span> +class="cmbx-10">T</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\textdate</span></span></span>  <a +class="cmtt-10">\textdate</span></span></span>  <a href="datetime-manual.html#dx1-5017" ><span -class="futri8t-x-x-109">150</span></a>, <a -href="datetime-manual.html#dx1-13019" ><span class="underline">151</span></a>, <a -href="datetime-manual.html#dx1-14017" ><span class="underline">152</span></a> <br /></span> +class="cmti-10">147</span></a>, <a +href="datetime-manual.html#dx1-13019" ><span class="underline">148</span></a>, <a +href="datetime-manual.html#dx1-14017" ><span class="underline">149</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THEDAY</span></span></span>  <a -href="datetime-manual.html#dx1-10002" ><span class="underline">153</span></a>, <a -href="datetime-manual.html#dx1-10012" ><span class="underline">154</span></a> <br /></span> +class="cmtt-10">\THEDAY</span></span></span>  <a +href="datetime-manual.html#dx1-10002" ><span class="underline">150</span></a>, <a +href="datetime-manual.html#dx1-10012" ><span class="underline">151</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THEHOUR</span></span></span>  <a -href="datetime-manual.html#dx1-8012" ><span class="underline">155</span></a> <br /></span> +class="cmtt-10">\THEHOUR</span></span></span>  <a +href="datetime-manual.html#dx1-8012" ><span class="underline">152</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THEHOURXII</span></span></span>  <a -href="datetime-manual.html#dx1-8015" ><span class="underline">156</span></a> <br /></span> +class="cmtt-10">\THEHOURXII</span></span></span>  <a +href="datetime-manual.html#dx1-8015" ><span class="underline">153</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THEMINUTE</span></span></span>  <a -href="datetime-manual.html#dx1-8013" ><span class="underline">157</span></a> <br /></span> +class="cmtt-10">\THEMINUTE</span></span></span>  <a +href="datetime-manual.html#dx1-8013" ><span class="underline">154</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THEMONTH</span></span></span>  <a -href="datetime-manual.html#dx1-10003" ><span class="underline">158</span></a> <br /></span> - - +class="cmtt-10">\THEMONTH</span></span></span>  <a +href="datetime-manual.html#dx1-10003" ><span class="underline">155</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THESECOND</span></span></span>  <a -href="datetime-manual.html#dx1-8014" ><span class="underline">159</span></a> <br /></span> +class="cmtt-10">\THESECOND</span></span></span>  <a +href="datetime-manual.html#dx1-8014" ><span class="underline">156</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THETOHOUR</span></span></span>  <a -href="datetime-manual.html#dx1-8016" ><span class="underline">160</span></a> <br /></span> +class="cmtt-10">\THETOHOUR</span></span></span>  <a +href="datetime-manual.html#dx1-8016" ><span class="underline">157</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THETOMINUTE</span></span></span>  <a -href="datetime-manual.html#dx1-8017" ><span class="underline">161</span></a> <br /></span> +class="cmtt-10">\THETOMINUTE</span></span></span>  <a +href="datetime-manual.html#dx1-8017" ><span class="underline">158</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\THEYEAR</span></span></span>  <a -href="datetime-manual.html#dx1-10004" ><span class="underline">162</span></a> <br /></span> +class="cmtt-10">\THEYEAR</span></span></span>  <a +href="datetime-manual.html#dx1-10004" ><span class="underline">159</span></a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\timeseparator</span></span></span>  <a +class="cmtt-10">\timeseparator</span></span></span>  <a href="datetime-manual.html#dx1-8018" ><span -class="futri8t-x-x-109">163</span></a>, <a -href="datetime-manual.html#dx1-12002" ><span class="underline">164</span></a> <br /></span> -<span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\today</span></span></span>  <a -href="datetime-manual.html#dx1-2003" ><span class="underline">165</span></a>, <a -href="datetime-manual.html#dx1-3001" ><span class="underline">166</span></a>, <a -href="datetime-manual.html#dx1-4002" ><span class="underline">167</span></a>, <a -href="datetime-manual.html#dx1-5002" ><span class="underline">168</span></a>, <a -href="datetime-manual.html#dx1-5006" ><span class="underline">169</span></a>, <a -href="datetime-manual.html#dx1-5010" ><span class="underline">170</span></a>, <a -href="datetime-manual.html#dx1-5012" ><span class="underline">171</span></a>, <a -href="datetime-manual.html#dx1-5014" ><span class="underline">172</span></a>, <a -href="datetime-manual.html#dx1-5016" ><span class="underline">173</span></a>, <a -href="datetime-manual.html#dx1-5018" ><span class="underline">174</span></a>, <a -href="datetime-manual.html#dx1-6003" ><span class="underline">175</span></a>, <a -href="datetime-manual.html#dx1-6006" ><span class="underline">176</span></a>, <a -href="datetime-manual.html#dx1-6008" ><span class="underline">177</span></a>, <a -href="datetime-manual.html#dx1-9017" ><span class="underline">178</span></a>, <a -href="datetime-manual.html#dx1-10009" ><span class="underline">179</span></a>, <a -href="datetime-manual.html#dx1-14008" ><span class="underline">180</span></a>, <a -href="datetime-manual.html#dx1-9019" ><span class="underline">181</span></a> <br /></span> +class="cmti-10">160</span></a>, <a +href="datetime-manual.html#dx1-12002" ><span class="underline">161</span></a> <br /></span> +<span class="index-item"><span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\today</span></span></span>  <a +href="datetime-manual.html#dx1-2003" ><span class="underline">162</span></a>, <a +href="datetime-manual.html#dx1-3001" ><span class="underline">163</span></a>, <a +href="datetime-manual.html#dx1-4002" ><span class="underline">164</span></a>, <a +href="datetime-manual.html#dx1-5002" ><span class="underline">165</span></a>, <a +href="datetime-manual.html#dx1-5006" ><span class="underline">166</span></a>, <a +href="datetime-manual.html#dx1-5010" ><span class="underline">167</span></a>, <a +href="datetime-manual.html#dx1-5012" ><span class="underline">168</span></a>, <a +href="datetime-manual.html#dx1-5014" ><span class="underline">169</span></a>, <a +href="datetime-manual.html#dx1-5016" ><span class="underline">170</span></a>, <a +href="datetime-manual.html#dx1-5018" ><span class="underline">171</span></a>, <a +href="datetime-manual.html#dx1-6003" ><span class="underline">172</span></a>, <a +href="datetime-manual.html#dx1-6006" ><span class="underline">173</span></a>, <a +href="datetime-manual.html#dx1-6008" ><span class="underline">174</span></a>, <a +href="datetime-manual.html#dx1-9017" ><span class="underline">175</span></a>, <a +href="datetime-manual.html#dx1-10009" ><span class="underline">176</span></a>, <a +href="datetime-manual.html#dx1-14008" ><span class="underline">177</span></a>, <a +href="datetime-manual.html#dx1-9019" ><span class="underline">178</span></a> <br /></span> <span class="index-item"><span -class="ecss-1095">TOHOUR </span>counter  <a -href="datetime-manual.html#dx1-8010" >182</a> <br /></span> +class="cmtt-10">TOHOUR </span>(counter)  <a +href="datetime-manual.html#dx1-8010" >179</a> <br /></span> <span class="index-item"><span -class="ecss-1095">TOMINUTE </span>counter  <a -href="datetime-manual.html#dx1-8011" >183</a> <br /></span> +class="cmtt-10">TOMINUTE </span>(counter)  <a +href="datetime-manual.html#dx1-8011" >180</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\twodigit</span></span></span>  <a +class="cmtt-10">\twodigit</span></span></span>  <a href="datetime-manual.html#dx1-9023" ><span -class="futri8t-x-x-109">184</span></a> <br /></span> +class="cmti-10">181</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">U</span> +class="cmbx-10">U</span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\usdate</span></span></span>  <a +class="cmtt-10">\usdate</span></span></span>  <a href="datetime-manual.html#dx1-6001" ><span -class="futri8t-x-x-109">185</span></a> <br /></span> +class="cmti-10">182</span></a> <br /></span> </p><p class="theindex"> <span -class="futb8t-x-x-109">Y</span> -<span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\year</span></span></span>  <a -href="datetime-manual.html#dx1-15003" ><span class="underline">186</span></a> <br /></span> +class="cmbx-10">Y</span> <span class="index-item"><span -class="ecss-1095">YEAR </span>counter  <a -href="datetime-manual.html#dx1-10007" >187</a> <br /></span> +class="cmtt-10">YEAR </span>(counter)  <a +href="datetime-manual.html#dx1-10007" >183</a> <br /></span> <span class="index-item"><span class="obeylines-h"><span class="verb"><span -class="ectt-1095">\yyyymmdddate</span></span></span>  <a +class="cmtt-10">\year</span></span></span>  <a +href="datetime-manual.html#dx1-15003" ><span class="underline">184</span></a> <br /></span> +<span class="index-item"><span class="obeylines-h"><span class="verb"><span +class="cmtt-10">\yyyymmdddate</span></span></span>  <a href="datetime-manual.html#dx1-4001" ><span -class="futri8t-x-x-109">188</span></a> <br /></span> +class="cmti-10">185</span></a> <br /></span> </p></div> - <div class="footnotes"><!--l. 140--><p class="noindent" ><span class="footnote-mark"><a -href="#fn1x0-bk" id="fn1x0"> -<sup class="textsuperscript">1</sup></a></span><span -class="futr8t-x-x-90">in fact, you may get an error from the </span><span -class="ecss-0900">fmtcount</span><a + <div class="footnotes"><!--l. 148--><p class="noindent" ><span class="footnote-mark"><a +href="#fn1x0-bk" id="fn1x0"><sup class="textsuperscript">1</sup></a></span><span +class="cmr-8">in fact, you may get an error from the </span><span +class="cmss-8">fmtcount</span><a id="dx1-5022"></a> <span -class="futr8t-x-x-90">package if you are using a language that it doesn't</span> - <span -class="futr8t-x-x-90">support.</span></p><!--l. 256--><p class="noindent" ><span class="footnote-mark"><a -href="#fn2x0-bk" id="fn2x0"> -<sup class="textsuperscript">2</sup></a></span><span -class="futr8t-x-x-90">thanks to Ulrich Dirr for asking about this</span></p><!--l. 346--><p class="indent" > <span class="footnote-mark"><a -href="#fn3x0-bk" id="fn3x0"> -<sup class="textsuperscript">3</sup></a></span><span -class="futr8t-x-x-90">Note the name change since version 1.1. The command name was changed from </span><span -class="ectt-0900">\thedate </span><span -class="futr8t-x-x-90">to</span> - <span -class="ectt-0900">\formatdate </span><span -class="futr8t-x-x-90">to avoid a name clash when using the </span><span -class="ecss-0900">seminar</span><a +class="cmr-8">package if you are using a language that it doesn’t</span> +<span +class="cmr-8">support.</span></p> +<!--l. 264--><p class="noindent" ><span class="footnote-mark"><a +href="#fn2x0-bk" id="fn2x0"><sup class="textsuperscript">2</sup></a></span><span +class="cmr-8">thanks to Ulrich Dirr for asking about this</span></p> +<!--l. 354--><p class="indent" > <span class="footnote-mark"><a +href="#fn3x0-bk" id="fn3x0"><sup class="textsuperscript">3</sup></a></span><span +class="cmr-8">Note the name change since version 1.1. The command name was changed from </span><span +class="cmtt-8">\thedate </span><span +class="cmr-8">to</span> +<span +class="cmtt-8">\formatdate </span><span +class="cmr-8">to avoid a name clash when using the </span><span +class="cmss-8">seminar</span><a id="dx1-9015"></a> <span -class="futr8t-x-x-90">class -href="#fn4x0-bk" id="fn4x0"> -<sup class="textsuperscript">4</sup></a></span><span -class="futr8t-x-x-90">To be more precise, </span><span -class="ectt-0900">\today</span><a +class="cmr-8">class file.</span></p> +<!--l. 361--><p class="indent" > <span class="footnote-mark"><a +href="#fn4x0-bk" id="fn4x0"><sup class="textsuperscript">4</sup></a></span><span +class="cmr-8">To be more precise, </span><span +class="cmtt-8">\today</span><a id="dx1-9019"></a> <span -class="futr8t-x-x-90">is de -class="ectt-0900">\formatdate</span><a +class="cmr-8">is defined to be </span><span +class="cmtt-8">\formatdate</span><a id="dx1-9020"></a><span -class="futr8t-x-x-90">{</span><span -class="ectt-0900">\day</span><span -class="futr8t-x-x-90">}{</span><span -class="ectt-0900">\month</span><span -class="futr8t-x-x-90">}{</span><span -class="ectt-0900">\year</span><span -class="futr8t-x-x-90">} where</span> - <span -class="ectt-0900">\longdate</span><a +class="cmsy-8">{</span><span +class="cmtt-8">\day</span><span +class="cmsy-8">}{</span><span +class="cmtt-8">\month</span><span +class="cmsy-8">}{</span><span +class="cmtt-8">\year</span><span +class="cmsy-8">} </span><span +class="cmr-8">where</span> +<span +class="cmtt-8">\longdate</span><a id="dx1-9021"></a> <span -class="futr8t-x-x-90">etc change the de -class="ectt-0900">\formatdate</span></p><!--l. 431--><p class="indent" > <span class="footnote-mark"><a -href="#fn5x0-bk" id="fn5x0"> -<sup class="textsuperscript">5</sup></a></span><span -class="futr8t-x-x-90">Thanks to Denis Bitouz</span><span -class="futr8t-x-x-90">é</span> <span -class="futr8t-x-x-90">for asking about this</span></p><!--l. 586--><p class="indent" > <span class="footnote-mark"><a -href="#fn6x0-bk" id="fn6x0"> -<sup class="textsuperscript">6</sup></a></span><span -class="futr8t-x-x-90">thanks to Uwe Bieling for supplying the German names</span></p> </div> +class="cmr-8">etc change the definition of </span><span +class="cmtt-8">\formatdate</span></p> +<!--l. 439--><p class="indent" > <span class="footnote-mark"><a +href="#fn5x0-bk" id="fn5x0"><sup class="textsuperscript">5</sup></a></span><span +class="cmr-8">Thanks to Denis Bitouz</span><span +class="cmr-8">é</span> <span +class="cmr-8">for asking about this</span></p> </div> </body></html> - + diff --git a/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex b/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex index f65173bbfdb..0580c26cbc9 100644 --- a/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex +++ b/Master/texmf-dist/doc/latex/datetime/datetime-manual.tex @@ -14,14 +14,22 @@ \RecordChanges \OnlyDescription -\title{datetime.sty v2.59: +\title{datetime.sty v2.60: Formatting Current Date and Time} \author{Nicola L. C. Talbot\\[10pt] Dickimaw Books\\ \url{http://www.dickimaw-books.com/}} - \date{2013-09-10} + \date{2015-03-20} \maketitle + +\begin{important} +This is the last version of this package. The replacement package is +called \sty{datetime2} and will be released shortly after the +this final version. +\end{important} + \tableofcontents + \section{Introduction} \changes{1.0}{2000/08/08}{First release} \changes{1.01}{2000/09/18}{Documentation added} @@ -580,49 +588,6 @@ a number or ordinal as a word, but it only has very limited multilingual support. See the \sty{fmtcount} documentation for further details. -There is currently only \emph{limited} multilingual support for -\ics{dayofweekname} and \ics{shortdayofweekname} (just -English, French, Portuguese, Spanish and German\footnote{thanks -to Uwe Bieling for supplying the German names}). You can add support -for other languages by defining the commands -\cs{dayofweeknameid}\meta{lang} and -\cs{shortdayofweeknameid}\meta{lang}. Note that these -commands only take \emph{one} argument which should be -a number from~1 to~7 indicating the day of the week. - -You can use the following as templates. Replace -\texttt{english} with the name of your language (as given -by \ics{languagename}) and replace \texttt{Sunday} -etc as appropriate: -\begin{verbatim} -\providecommand*{\dayofweeknameidenglish}[1]{% -\ifcase#1\relax -\or Sunday% -\or Monday% -\or Tuesday% -\or Wednesday% -\or Thursday% -\or Friday% -\or Saturday% -\fi} - -\providecommand*{\shortdayofweeknameidenglish}[1]{% -\ifcase#1\relax -\or Sun% -\or Mon% -\or Tue% -\or Wed% -\or Thu% -\or Fri% -\or Sat% -\fi} -\end{verbatim} -If you want them added to future versions of -\sty{datetime}, please post them on my feature request form at: -\url{http://www.dickimaw-books.com/feature-request.html}. -Please use \LaTeX\ commands to produce accents to ensure encoding -independence. (For example, use \verb|\'e| instead of \'{e}.) - \section{Registers} \TeX\ provides \ics{day}, \ics{month} and \ics{year} registers. In diff --git a/Master/texmf-dist/doc/latex/datetime/datetime.pdf b/Master/texmf-dist/doc/latex/datetime/datetime.pdf Binary files differindex 8fa5b900f5f..6aa4f79ab21 100644 --- a/Master/texmf-dist/doc/latex/datetime/datetime.pdf +++ b/Master/texmf-dist/doc/latex/datetime/datetime.pdf diff --git a/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf Binary files differindex ac64e3398c9..47c9f842b4b 100644 --- a/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf +++ b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.pdf diff --git a/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.tex b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.tex index 38b643ccb07..f4ec0da7c51 100644 --- a/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.tex +++ b/Master/texmf-dist/doc/latex/datetime/samples/dt-lang.tex @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-lang.tex,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf Binary files differindex 8899658bcde..d6e454a9705 100644 --- a/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf +++ b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.pdf diff --git a/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex index ad6ad17df6f..cd2b8ab08dc 100644 --- a/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex +++ b/Master/texmf-dist/doc/latex/datetime/samples/dt-sampl.tex @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-sampl.tex,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/source/latex/datetime/datetime.dtx b/Master/texmf-dist/source/latex/datetime/datetime.dtx index 0e11ef730c0..18140e3fb5d 100644 --- a/Master/texmf-dist/source/latex/datetime/datetime.dtx +++ b/Master/texmf-dist/source/latex/datetime/datetime.dtx @@ -1,18 +1,18 @@ %\iffalse -% datetime.dtx generated using makedtx version 0.94b (c) Nicola Talbot +% datetime.dtx generated using makedtx version 1.1 (c) Nicola Talbot % Command line args: -% -macrocode "datetime.perl" +% -doc "datetime-manual.tex" % -setambles ".*\.perl=>\nopreamble\nopostamble" +% -author "Nicola Talbot" +% -macrocode "datetime.perl" % -comment "datetime.perl" % -comment "dt-.+\.tex" % -src "(.+)\.(sty)=>\1.\2" % -src "(.+)\.(def)=>\1.\2" % -src "(dt-.+)\.(tex)=>\1.\2" % -src "datetime.perl\Z=>datetime.perl" -% -doc "datetime-manual.tex" -% -author "Nicola Talbot" % datetime -% Created on 2013/9/10 11:38 +% Created on 2015/3/20 16:54 %\fi %\iffalse %<*package> @@ -35,7 +35,7 @@ %\fi % \iffalse % Doc-Source file to use with LaTeX2e -% Copyright (C) 2013 Nicola Talbot, all rights reserved. +% Copyright (C) 2015 Nicola Talbot, all rights reserved. % \fi % \iffalse %<*driver> @@ -59,14 +59,22 @@ %\RecordChanges %\OnlyDescription % -%\title{datetime.sty v2.59: +%\title{datetime.sty v2.60: %Formatting Current Date and Time} % \author{Nicola L. C. Talbot\\[10pt] % Dickimaw Books\\ % \url{http://www.dickimaw-books.com/}} -% \date{2013-09-10} +% \date{2015-03-20} % \maketitle +% +%\begin{important} +%This is the last version of this package. The replacement package is +%called \sty{datetime2} and will be released shortly after the +%this final version. +%\end{important} +% % \tableofcontents +% % \section{Introduction} %\changes{1.0}{2000/08/08}{First release} %\changes{1.01}{2000/09/18}{Documentation added} @@ -625,49 +633,6 @@ %multilingual support. See the \sty{fmtcount} documentation %for further details. % -%There is currently only \emph{limited} multilingual support for -%\ics{dayofweekname} and \ics{shortdayofweekname} (just -%English, French, Portuguese, Spanish and German\footnote{thanks -%to Uwe Bieling for supplying the German names}). You can add support -%for other languages by defining the commands -%\cs{dayofweeknameid}\meta{lang} and -%\cs{shortdayofweeknameid}\meta{lang}. Note that these -%commands only take \emph{one} argument which should be -%a number from~1 to~7 indicating the day of the week. -% -%You can use the following as templates. Replace -%\texttt{english} with the name of your language (as given -%by \ics{languagename}) and replace \texttt{Sunday} -%etc as appropriate: -%\begin{verbatim} -%\providecommand*{\dayofweeknameidenglish}[1]{% -%\ifcase#1\relax -%\or Sunday% -%\or Monday% -%\or Tuesday% -%\or Wednesday% -%\or Thursday% -%\or Friday% -%\or Saturday% -%\fi} -% -%\providecommand*{\shortdayofweeknameidenglish}[1]{% -%\ifcase#1\relax -%\or Sun% -%\or Mon% -%\or Tue% -%\or Wed% -%\or Thu% -%\or Fri% -%\or Sat% -%\fi} -%\end{verbatim} -%If you want them added to future versions of -%\sty{datetime}, please post them on my feature request form at: -%\url{http://www.dickimaw-books.com/feature-request.html}. -%Please use \LaTeX\ commands to produce accents to ensure encoding -%independence. (For example, use \verb|\'e| instead of \'{e}.) -% %\section{Registers} % %\TeX\ provides \ics{day}, \ics{month} and \ics{year} registers. In @@ -860,7 +825,7 @@ % This section documents the code for \texttt{datetime.sty} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime}[2013/09/10 v2.59 Date Time Package] +\ProvidesPackage{datetime}[2015/03/20 v2.60 Date Time Package] % \end{macrocode} %\changes{2.59}{2013/09/10}{new loads etoolbox} % \begin{macrocode} @@ -977,7 +942,7 @@ \newcount\@year % \end{macrocode} %\begin{macro}{\longdate} -% Long date format. (This is the default in the absense of package +% Long date format. (This is the default in the absence of package % options, babel and datetime.cfg settings.) % \begin{macrocode} \DeclareRobustCommand*{\longdate}{% @@ -1446,9 +1411,10 @@ past \hourstring{HOURXII}}{% % \end{macrocode} %\end{macro} %\begin{macro}{\amorpmname} +%\changes{2.60}{2015-03-20}{fixed bug} % \begin{macrocode} \providecommand*{\amorpmname}{% -\ifthenelse{\value{HOUR}>12}{\pmname}{\amname}} +\ifthenelse{\value{HOUR}>11}{\pmname}{\amname}} % \end{macrocode} %\end{macro} %\begin{macro}{\amstring} @@ -2908,7 +2874,7 @@ Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% \or kolovoza% \or rujna% \or listopada% -\or studenog% +\or studenoga% \or prosinca% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% @@ -2934,7 +2900,7 @@ Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% \or kolovoza% \or rujna% \or listopada% -\or studenog% +\or studenoga% \or prosinca% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% @@ -3110,7 +3076,7 @@ Month numbers should go from 1 to 12}% %\subsubsection{Dutch} % Identify file % \begin{macrocode} -\ProvidesFile{dt-dutch.def}[2013/09/10]% +\ProvidesFile{dt-dutch.def}[2015/03/20]% % \end{macrocode} % Define month names. % \begin{macrocode} @@ -3145,6 +3111,30 @@ Month numbers should go from 1 to 12}% \number\@day~\monthnamedutch[\@month]\space \number\@year}}% \global\let\datedutch\datedutch % \end{macrocode} +% Day of week name provided by multiple people. +% \begin{macrocode} +\providecommand*{\dayofweeknameiddutch}[1]{% +\ifcase#1\relax +\or zondag% +\or maandag% +\or dinsdag% +\or woensdag% +\or donderdag% +\or vrijdag% +\or zaterdag% +\fi} + +\providecommand*{\shortdayofweeknameiddutch}[1]{% +\ifcase#1\relax +\or zo% +\or ma% +\or di% +\or wo% +\or do% +\or vr% +\or za% +\fi} +% \end{macrocode} %\iffalse % \begin{macrocode} %</dt-dutch.def> @@ -3385,6 +3375,30 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \monthnamefrench[\@month]\space \number\@year}}% \global\let\datefrench\datefrench % \end{macrocode} +% Short month names provided by Rapha\"el Pinson +% \begin{macrocode} +\providecommand{\shortmonthnamefrench}[1][\month]{% +\@orgargctr=#1\relax +\ifcase\@orgargctr +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (jan.) to 12 (dec.)}% +\or jan.% +\or f\'evr.% +\or mars% +\or avr.% +\or mai% +\or juin% +\or juill.% +\or ao\^ut% +\or sept.% +\or oct.% +\or nov.% +\or d\'ec.% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (jan.) to 12 (dec.)}% +\fi} +% \end{macrocode} %\iffalse % \begin{macrocode} %</dt-french.def> @@ -3694,9 +3708,9 @@ Month numbers should go from 1 to 12}% %\fi %\subsubsection{Italian} % \begin{macrocode} -\ProvidesFile{dt-italian.def}[2013/09/10]% +\ProvidesFile{dt-italian.def}[2015/03/20]% % \end{macrocode} -% Translations provided by Giada Ermacora +% Translations provided by Giada Ermacora and Marco Coppola % \begin{macrocode} \providecommand{\dayofweeknameiditalian}[1]{% \ifcase#1\relax @@ -4179,6 +4193,29 @@ Month numbers should go from 1 to 12}% \number\@day.~\monthnamenorsk[\@month]\space\number\@year}}% \global\let\datenorsk\datenorsk % \end{macrocode} +% Day of week provided by Tor Inge Birkenes +% \begin{macrocode} +\providecommand*{\dayofweeknameidnorsk}[1]{% +\ifcase#1\relax +\or S\o{}ndag% +\or Mandag% +\or Tirsdag% +\or Onsdag% +\or Torsdag% +\or Fredag% +\or L\o{}rdag% +\fi} +\providecommand*{\shortdayofweeknameidnorsk}[1]{% +\ifcase#1\relax +\or S\o{}n% +\or Man% +\or Tir% +\or Ons% +\or Tor% +\or Fre% +\or L\o{}r% +\fi} +% \end{macrocode} %\iffalse % \begin{macrocode} %</dt-norsk.def> @@ -4829,6 +4866,29 @@ Month numbers should go from 1 to 12}% }% \global\let\datesdmy\datesdmy % \end{macrocode} +% Day of weekname provided by Johan Sj\"oblom +% \begin{macrocode} +\providecommand*{\dayofweeknameidswedish}[1]{% +\ifcase#1\relax +\or S\"ondag% +\or M\aa{}ndag% +\or Tisdag% +\or Onsdag% +\or Torsdag% +\or Fredag% +\or L\"ordag% +\fi} +\providecommand*{\shortdayofweeknameidswedish}[1]{% +\ifcase#1\relax +\or S\"on% +\or M\aa{}n% +\or Tis% +\or Ons% +\or Tor% +\or Fre% +\or L\"or% +\fi} +% \end{macrocode} %\iffalse % \begin{macrocode} %</dt-swedish.def> @@ -5148,13 +5208,19 @@ Month numbers should go from 1 to 12}% \global\let\monthnamewelsh\monthnamewelsh % \end{macrocode} % (Re)Define declaration to switch to this format. +%\changes{5.60}{2014-09-25}{removed `a viz'} % \begin{macrocode} \DeclareRobustCommand*\datewelsh{% \renewcommand{\formatdate}[3]{% -\@day=##1\relax\@month=##2\relax\@year=##3\relax -\ifnum\@day=1\relax 1\/$^{\mathrm{a\tilde{n}}}$\else -\number\@day\fi \space a\space viz\space -\monthnamewelsh[\@month]\space\number\@year}}% + \@day=##1\relax\@month=##2\relax\@year=##3\relax + \ifnum\@day=1\relax + 1\/$^{\mathrm{a\tilde{n}}}$% + \else + \number\@day + \fi + \space + \monthnamewelsh[\@month]\space\number\@year}% +}% \global\let\datewelsh\datewelsh % \end{macrocode} % \subsection{LaTeX2HTML Perl Script} diff --git a/Master/texmf-dist/source/latex/datetime/datetime.ins b/Master/texmf-dist/source/latex/datetime/datetime.ins index a80c911d6b8..e1bf4c301b4 100644 --- a/Master/texmf-dist/source/latex/datetime/datetime.ins +++ b/Master/texmf-dist/source/latex/datetime/datetime.ins @@ -1,10 +1,10 @@ -% datetime.ins generated using makedtx version 0.94b 2013/9/10 11:38 +% datetime.ins generated using makedtx version 1.1 2015/3/20 16:54 \input docstrip \preamble datetime.dtx - Copyright 2013 Nicola Talbot + Copyright 2015 Nicola Talbot This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/datetime-defaults.sty b/Master/texmf-dist/tex/latex/datetime/datetime-defaults.sty index 3604bda9cc8..4d276e26ba2 100644 --- a/Master/texmf-dist/tex/latex/datetime/datetime-defaults.sty +++ b/Master/texmf-dist/tex/latex/datetime/datetime-defaults.sty @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `datetime-defaults.sty,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/datetime.sty b/Master/texmf-dist/tex/latex/datetime/datetime.sty index 0959812110d..f32ec32299c 100644 --- a/Master/texmf-dist/tex/latex/datetime/datetime.sty +++ b/Master/texmf-dist/tex/latex/datetime/datetime.sty @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `datetime.sty,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -39,7 +39,7 @@ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{datetime}[2013/09/10 v2.59 Date Time Package] +\ProvidesPackage{datetime}[2015/03/20 v2.60 Date Time Package] \RequirePackage{etoolbox} \RequirePackage{fmtcount} \@ifundefined{@FCmodulo}% @@ -291,7 +291,7 @@ past \hourstring{HOURXII}}{% \providecommand*{\amname}{am} \providecommand*{\pmname}{pm} \providecommand*{\amorpmname}{% -\ifthenelse{\value{HOUR}>12}{\pmname}{\amname}} +\ifthenelse{\value{HOUR}>11}{\pmname}{\amname}} \providecommand*{\amstring}{in the morning} \providecommand*{\pmstring}{in the afternoon} \providecommand*{\amorpmstring}{% diff --git a/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def b/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def index 591706cb4f1..5ba6841eb16 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-UKenglish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-UKenglish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def b/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def index 0cb16ae404b..e8aa65c4307 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-USenglish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-USenglish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-american.def b/Master/texmf-dist/tex/latex/datetime/dt-american.def index 6a2fe81d1b8..fd2b17b4b54 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-american.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-american.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-american.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-australian.def b/Master/texmf-dist/tex/latex/datetime/dt-australian.def index 9a546b353dd..ca9c55cec7c 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-australian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-australian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-australian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-austrian.def b/Master/texmf-dist/tex/latex/datetime/dt-austrian.def index 49d10d07114..881178c0e3e 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-austrian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-austrian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-austrian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def b/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def index f4d2bca9946..7062df243c0 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-bahasa.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-bahasa.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-basque.def b/Master/texmf-dist/tex/latex/datetime/dt-basque.def index 16aaae8e3e7..41a586bfa28 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-basque.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-basque.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-basque.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-breton.def b/Master/texmf-dist/tex/latex/datetime/dt-breton.def index affe6843159..d38962d2c4c 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-breton.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-breton.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-breton.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-british.def b/Master/texmf-dist/tex/latex/datetime/dt-british.def index 116a78a9b28..3caa0d9d650 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-british.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-british.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-british.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def b/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def index a341d6f3828..1e4b0a05102 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-bulgarian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-bulgarian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-canadian.def b/Master/texmf-dist/tex/latex/datetime/dt-canadian.def index 53eb78dc759..b1d7fe0aa4e 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-canadian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-canadian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-canadian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-catalan.def b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def index 6cb57933d41..1f05fcdf979 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-catalan.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-catalan.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-catalan.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-croatian.def b/Master/texmf-dist/tex/latex/datetime/dt-croatian.def index baa727a1a4a..f7b6c92bfbd 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-croatian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-croatian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-croatian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -54,7 +54,7 @@ Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% \or kolovoza% \or rujna% \or listopada% -\or studenog% +\or studenoga% \or prosinca% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% @@ -76,7 +76,7 @@ Month numbers should go from 1 (sijecnja) to 12 (prosinca)}% \or kolovoza% \or rujna% \or listopada% -\or studenog% +\or studenoga% \or prosinca% \else \PackageError{datetime}{Invalid Month number \the\@orgargctr}{% diff --git a/Master/texmf-dist/tex/latex/datetime/dt-czech.def b/Master/texmf-dist/tex/latex/datetime/dt-czech.def index 351aa6c28f9..3efdbcb5376 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-czech.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-czech.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-czech.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-danish.def b/Master/texmf-dist/tex/latex/datetime/dt-danish.def index f364511d6bb..c6e2a24ff29 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-danish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-danish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-danish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-dutch.def b/Master/texmf-dist/tex/latex/datetime/dt-dutch.def index 190d0693a74..e2946007bd8 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-dutch.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-dutch.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-dutch.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-dutch.def}[2013/09/10]% +\ProvidesFile{dt-dutch.def}[2015/03/20]% \providecommand{\monthnamedutch}[1][\month]{% \@orgargctr=#1\relax \ifcase\@orgargctr @@ -66,6 +66,27 @@ Month numbers should go from 1 to 12}% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day~\monthnamedutch[\@month]\space \number\@year}}% \global\let\datedutch\datedutch +\providecommand*{\dayofweeknameiddutch}[1]{% +\ifcase#1\relax +\or zondag% +\or maandag% +\or dinsdag% +\or woensdag% +\or donderdag% +\or vrijdag% +\or zaterdag% +\fi} + +\providecommand*{\shortdayofweeknameiddutch}[1]{% +\ifcase#1\relax +\or zo% +\or ma% +\or di% +\or wo% +\or do% +\or vr% +\or za% +\fi} \endinput %% %% End of file `dt-dutch.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def index c11541e426a..55f5fae9356 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-esperanto.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-esperanto.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-estonian.def b/Master/texmf-dist/tex/latex/datetime/dt-estonian.def index db41fd04bbb..539edd125d9 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-estonian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-estonian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-estonian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-finnish.def b/Master/texmf-dist/tex/latex/datetime/dt-finnish.def index 6c10200d57b..f5730cda024 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-finnish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-finnish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-finnish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-french.def b/Master/texmf-dist/tex/latex/datetime/dt-french.def index d2aa9887a87..e024d904ccf 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-french.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-french.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-french.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -94,6 +94,27 @@ Month numbers should go from 1 (janvier) to 12 (decembre)}% \number\@day\ifnum\@day=1{\ier}\fi\space \monthnamefrench[\@month]\space \number\@year}}% \global\let\datefrench\datefrench +\providecommand{\shortmonthnamefrench}[1][\month]{% +\@orgargctr=#1\relax +\ifcase\@orgargctr +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (jan.) to 12 (dec.)}% +\or jan.% +\or f\'evr.% +\or mars% +\or avr.% +\or mai% +\or juin% +\or juill.% +\or ao\^ut% +\or sept.% +\or oct.% +\or nov.% +\or d\'ec.% +\else +\PackageError{datetime}{Invalid Month number \the\@orgargctr}{% +Month numbers should go from 1 (jan.) to 12 (dec.)}% +\fi} \endinput %% %% End of file `dt-french.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-galician.def b/Master/texmf-dist/tex/latex/datetime/dt-galician.def index 2a5d0a45ee7..d1bb75a4670 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-galician.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-galician.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-galician.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-german.def b/Master/texmf-dist/tex/latex/datetime/dt-german.def index 82c7d9cd1a0..518d749ae3d 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-german.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-german.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-german.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-greek.def b/Master/texmf-dist/tex/latex/datetime/dt-greek.def index d8be874bce8..6738ff3d6da 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-greek.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-greek.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-greek.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def b/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def index 200bf8b4133..936fc5927d3 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-hebrew.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-hebrew.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def b/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def index f41ab2814a3..c4d04a6554d 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-icelandic.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-icelandic.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-irish.def b/Master/texmf-dist/tex/latex/datetime/dt-irish.def index 395ff970174..08af202662c 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-irish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-irish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-irish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-italian.def b/Master/texmf-dist/tex/latex/datetime/dt-italian.def index 286d4511e2d..9a40e5faf94 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-italian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-italian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-italian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -38,7 +38,7 @@ %% Right bracket \] Circumflex \^ Underscore \_ %% Grave accent \` Left brace \{ Vertical bar \| %% Right brace \} Tilde \~} -\ProvidesFile{dt-italian.def}[2013/09/10]% +\ProvidesFile{dt-italian.def}[2015/03/20]% \providecommand{\dayofweeknameiditalian}[1]{% \ifcase#1\relax \or domenica% diff --git a/Master/texmf-dist/tex/latex/datetime/dt-latin.def b/Master/texmf-dist/tex/latex/datetime/dt-latin.def index 4632cca4874..47185b61626 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-latin.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-latin.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-latin.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def b/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def index 8586b2731a2..7f82d567a3b 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-lsorbian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-lsorbian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-magyar.def b/Master/texmf-dist/tex/latex/datetime/dt-magyar.def index 771022538c2..b34bcb28d69 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-magyar.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-magyar.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-magyar.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def b/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def index e6ab9dea09a..832c74b0db2 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-naustrian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-naustrian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-newzealand.def b/Master/texmf-dist/tex/latex/datetime/dt-newzealand.def index ffd0bb3d0ed..1a1911bd9f5 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-newzealand.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-newzealand.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-newzealand.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def b/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def index 493b4970abe..e70d2dc50b7 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-ngerman.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-ngerman.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-norsk.def b/Master/texmf-dist/tex/latex/datetime/dt-norsk.def index d6663075645..03e0824621b 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-norsk.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-norsk.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-norsk.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -66,6 +66,26 @@ Month numbers should go from 1 to 12}% \@day=##1\relax\@month=##2\relax\@year=##3\relax \number\@day.~\monthnamenorsk[\@month]\space\number\@year}}% \global\let\datenorsk\datenorsk +\providecommand*{\dayofweeknameidnorsk}[1]{% +\ifcase#1\relax +\or S\o{}ndag% +\or Mandag% +\or Tirsdag% +\or Onsdag% +\or Torsdag% +\or Fredag% +\or L\o{}rdag% +\fi} +\providecommand*{\shortdayofweeknameidnorsk}[1]{% +\ifcase#1\relax +\or S\o{}n% +\or Man% +\or Tir% +\or Ons% +\or Tor% +\or Fre% +\or L\o{}r% +\fi} \endinput %% %% End of file `dt-norsk.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-polish.def b/Master/texmf-dist/tex/latex/datetime/dt-polish.def index 29d81d9ccee..d071f196972 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-polish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-polish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-polish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-portuges.def b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def index dde45ffdb38..a5dd230fc0b 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-portuges.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-portuges.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-portuges.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-romanian.def b/Master/texmf-dist/tex/latex/datetime/dt-romanian.def index 7d031d47a4d..0d8aee6abd9 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-romanian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-romanian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-romanian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-russian.def b/Master/texmf-dist/tex/latex/datetime/dt-russian.def index f0c07b0ef82..0d2dc8f1df8 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-russian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-russian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-russian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-samin.def b/Master/texmf-dist/tex/latex/datetime/dt-samin.def index 0cb491c28eb..e4e1e78404d 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-samin.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-samin.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-samin.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-scottish.def b/Master/texmf-dist/tex/latex/datetime/dt-scottish.def index a2fe67664db..09ff21ef963 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-scottish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-scottish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-scottish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-serbian.def b/Master/texmf-dist/tex/latex/datetime/dt-serbian.def index 016aaa2f634..671c5e0beae 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-serbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-serbian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-serbian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-slovak.def b/Master/texmf-dist/tex/latex/datetime/dt-slovak.def index 4f879e92f7a..78d8ef8c88c 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-slovak.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-slovak.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-slovak.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-slovene.def b/Master/texmf-dist/tex/latex/datetime/dt-slovene.def index 7ddb207ee78..6150b10d437 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-slovene.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-slovene.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-slovene.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-spanish.def b/Master/texmf-dist/tex/latex/datetime/dt-spanish.def index aed73978b9c..c412a306126 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-spanish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-spanish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-spanish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-swedish.def b/Master/texmf-dist/tex/latex/datetime/dt-swedish.def index eb3fe1d7498..e7f72d73ed6 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-swedish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-swedish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-swedish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -77,6 +77,26 @@ Month numbers should go from 1 to 12}% \number\@day/\number\@month\space\number\@year}% }% \global\let\datesdmy\datesdmy +\providecommand*{\dayofweeknameidswedish}[1]{% +\ifcase#1\relax +\or S\"ondag% +\or M\aa{}ndag% +\or Tisdag% +\or Onsdag% +\or Torsdag% +\or Fredag% +\or L\"ordag% +\fi} +\providecommand*{\shortdayofweeknameidswedish}[1]{% +\ifcase#1\relax +\or S\"on% +\or M\aa{}n% +\or Tis% +\or Ons% +\or Tor% +\or Fre% +\or L\"or% +\fi} \endinput %% %% End of file `dt-swedish.def'. diff --git a/Master/texmf-dist/tex/latex/datetime/dt-turkish.def b/Master/texmf-dist/tex/latex/datetime/dt-turkish.def index 4eb3d863b8c..195b3397cc8 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-turkish.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-turkish.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-turkish.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def b/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def index 4942cc74094..e1ca3095ac2 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-ukraineb.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-ukraineb.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def index dfcfe31c9dd..eedaac437e0 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-usorbian.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-usorbian.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 diff --git a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def index b70a94b3ca6..1e39a806a71 100644 --- a/Master/texmf-dist/tex/latex/datetime/dt-welsh.def +++ b/Master/texmf-dist/tex/latex/datetime/dt-welsh.def @@ -7,7 +7,7 @@ %% datetime.dtx (with options: `dt-welsh.def,package') %% %% datetime.dtx -%% Copyright 2013 Nicola Talbot +%% Copyright 2015 Nicola Talbot %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either version 1.3 @@ -65,10 +65,15 @@ Month numbers should go from 1 to 12}% \global\let\monthnamewelsh\monthnamewelsh \DeclareRobustCommand*\datewelsh{% \renewcommand{\formatdate}[3]{% -\@day=##1\relax\@month=##2\relax\@year=##3\relax -\ifnum\@day=1\relax 1\/$^{\mathrm{a\tilde{n}}}$\else -\number\@day\fi \space a\space viz\space -\monthnamewelsh[\@month]\space\number\@year}}% + \@day=##1\relax\@month=##2\relax\@year=##3\relax + \ifnum\@day=1\relax + 1\/$^{\mathrm{a\tilde{n}}}$% + \else + \number\@day + \fi + \space + \monthnamewelsh[\@month]\space\number\@year}% +}% \global\let\datewelsh\datewelsh \endinput %% |