texlive[51805] Master/texmf-dist: schedule (2aug19)
commits+karl at tug.org
commits+karl at tug.org
Fri Aug 2 23:30:39 CEST 2019
Revision: 51805
http://tug.org/svn/texlive?view=revision&revision=51805
Author: karl
Date: 2019-08-02 23:30:38 +0200 (Fri, 02 Aug 2019)
Log Message:
-----------
schedule (2aug19)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/schedule/README.md
trunk/Master/texmf-dist/doc/latex/schedule/schedule.pdf
trunk/Master/texmf-dist/source/latex/schedule/schedule.dtx
trunk/Master/texmf-dist/source/latex/schedule/schedule.ins
trunk/Master/texmf-dist/tex/latex/schedule/schedule.sty
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/schedule/README.txt
Modified: trunk/Master/texmf-dist/doc/latex/schedule/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/schedule/README.md 2019-08-02 21:29:42 UTC (rev 51804)
+++ trunk/Master/texmf-dist/doc/latex/schedule/README.md 2019-08-02 21:30:38 UTC (rev 51805)
@@ -1,3 +1,28 @@
+%%
+%% This is file `README.md',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% schedule.dtx (with options: `readme')
+%%
+%% This is a generated file.
+%%
+%% Copyright (c) Ethan Deneault <edeneault at ut.edu>, 2019
+%% (current maintainer)
+%% Copyright (c) Jason Alexander, 1997-2001
+%% (author)
+%%
+%% This file may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3c of this license or (at your option) any later
+%% version. The latest version of this license is in:
+%%
+%% http://www.latex-project.org/lppl.txt
+%%
+%% and version 1.3c or later is part of all distributions of
+%% LaTeX version 2005/12/01 or later.
+%%
----------------------------------------------------------------
schedule.sty --- A style for personal weekly schedules
E-mail: edeneault at ut.edu
@@ -12,4 +37,6 @@
etc.)
This package requires the packages calc and xcolor.
-
+\endinput
+%%
+%% End of file `README.md'.
Deleted: trunk/Master/texmf-dist/doc/latex/schedule/README.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/schedule/README.txt 2019-08-02 21:29:42 UTC (rev 51804)
+++ trunk/Master/texmf-dist/doc/latex/schedule/README.txt 2019-08-02 21:30:38 UTC (rev 51805)
@@ -1,42 +0,0 @@
-%%
-%% This is file `README.txt',
-%% generated with the docstrip utility.
-%%
-%% The original source files were:
-%%
-%% schedule.dtx (with options: `readme')
-%%
-%% This is a generated file.
-%%
-%% Copyright (c) Ethan Deneault <edeneault at ut.edu>, 2019
-%% (current maintainer)
-%% Copyright (c) Jason Alexander, 1997-2001
-%% (author)
-%%
-%% This file may be distributed and/or modified under the
-%% conditions of the LaTeX Project Public License, either
-%% version 1.3 of this license or (at your option) any later
-%% version. The latest version of this license is in:
-%%
-%% http://www.latex-project.org/lppl.txt
-%%
-%% and version 1.3 or later is part of all distributions of
-%% LaTeX version 2005/12/01 or later.
-%%
-----------------------------------------------------------------
-schedule.sty --- A style for personal weekly schedules
-E-mail: edeneault at ut.edu
-Released under the LaTeX Project Public License v1.3c or later
-See http://www.latex-project.org/lppl.txt
-----------------------------------------------------------------
-
-This package defines the {\ttfamily schedule} environment. This is primarily intended for
-constructing charts of recurring weekly appointments. It may also
-be used to create a schedule of events and sign-up sheets (for example,
-scheduling mandatory office visits with students for discussing paper topics,
-etc.)
-
-This package requires the packages {\ttfamily calc} and {\ttfamily xcolor}.
-\endinput
-%%
-%% End of file `README.txt'.
Modified: trunk/Master/texmf-dist/doc/latex/schedule/schedule.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/schedule/schedule.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/schedule/schedule.dtx 2019-08-02 21:29:42 UTC (rev 51804)
+++ trunk/Master/texmf-dist/source/latex/schedule/schedule.dtx 2019-08-02 21:30:38 UTC (rev 51805)
@@ -13,13 +13,13 @@
See http://www.latex-project.org/lppl.txt
----------------------------------------------------------------
-This package defines the {\ttfamily schedule} environment. This is primarily intended for
+This package defines the schedule environment. This is primarily intended for
constructing charts of recurring weekly appointments. It may also
be used to create a schedule of events and sign-up sheets (for example,
scheduling mandatory office visits with students for discussing paper topics,
etc.)
-This package requires the packages {\ttfamily calc} and {\ttfamily xcolor}.
+This package requires the packages calc and xcolor.
%</readme>
%<*internal>
\fi
@@ -39,12 +39,12 @@
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
-version 1.3 of this license or (at your option) any later
+version 1.3c of this license or (at your option) any later
version. The latest version of this license is in:
http://www.latex-project.org/lppl.txt
-and version 1.3 or later is part of all distributions of
+and version 1.3c or later is part of all distributions of
LaTeX version 2005/12/01 or later.
\endpreamble
@@ -54,7 +54,7 @@
%<batchfile>\endbatchfile
%<*internal>
\generate{\file{\jobname.ins}{\from{\jobname.dtx}{batchfile}}}
-\generate{\file{README.txt}{\from{\jobname.dtx}{readme}}}
+\generate{\file{README.md}{\from{\jobname.dtx}{readme}}}
\endgroup
%</internal>
%
@@ -74,6 +74,7 @@
%
% \changes{v1.00}{1997/10/11}{Initial version.}
% \changes{v1.10}{2019/7/26}{Clarified `noon' and `midnight' for 12:00}
+% \changes{v1.20}{2019/7/31}{Added switches for 12-hour or 24-hour time notation}
%
% \GetFileInfo{schedule.sty}
%
@@ -144,6 +145,7 @@
% \BeginOn{Monday}
% \TextSize{\tiny}
% \FiveDay
+% \TwelveHour
%
% \NewAppointment{meeting}{red}{white}
% \NewAppointment{workshop}{green}{blue}
@@ -166,6 +168,7 @@
% \BeginOn{Monday}
% \TextSize{\tiny}
% \FiveDay
+% \TwelveHour
%
% \NewAppointment{meeting}{red}{white}
% \NewAppointment{workshop}{green}{blue}
@@ -263,6 +266,14 @@
% Tells \LaTeX\ to typeset a seven-day schedule.
% \end{macro}
%
+% \begin{macro}{\TwelveHour}
+% Tells \LaTeX\ to typeset times using a 12-hour clock.
+% \end{macro}
+%
+% \begin{macro}{\TwentyFourHour}
+% Tells \LaTeX\ to typeset times using a 24-hour clock.
+% \end{macro}
+%
% \begin{macro}{\NewAppointment}
% By using the |\NewAppointment| command, the user can customize the appearance
% of the schedule by changing the color of the text or the background color.
@@ -278,7 +289,7 @@
% \begin{macrocode}
\ProvidesFile{schedule.sty}
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{schedule}[2019/7/26 v1.10 schedule package]
+\ProvidesPackage{schedule}[2019/7/31 v1.20 schedule package]
\RequirePackage{calc}
\RequirePackage{xcolor}
\definecolor{dark}{gray}{.75}
@@ -363,6 +374,7 @@
\newsavebox{\temp at box}
\newif\ifweekends
+\newif\iftwelve
\newcount\@i
\newcount\@j
@@ -380,6 +392,8 @@
\def\SevenDay{\weekendstrue}
\def\FiveDay{\weekendsfalse}
+\def\TwelveHour{\twelvetrue}
+\def\TwentyFourHour{\twelvefalse}
\def\CellHeight#1{\setlength{\cell at height}{#1}%
\setlength{\unitlength}{\cell at height*\ratio{1pt}{60pt}}}
@@ -443,23 +457,53 @@
{\setcounter{x at coord}{0}% Set the x-coord right
\setcounter{y at coord}{\value{grid at height}-60*\@i}% adjust for the right hour cell
\ifnum\value{@tempc}=0%
- \setcounter{@tempd}{\value{@tempc}+12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempd:00 midnight\ }}% Midnight Hack
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}+12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~midnight~~}}% Midnight Hack
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~~}}% Midnight Hack
+ \fi
\else\ifnum\value{@tempc}=24%
- \setcounter{@tempd}{\value{@tempc}-12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempd:00 midnight\ }}% Midnight Hack
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}-12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~midnight~}}% Midnight Hack
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~~}}% Midnight Hack
+ \fi
\else\ifnum\value{@tempc}>12%
- \setcounter{@tempd}{\value{@tempc}-12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempd:00 pm\ }}%
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}-12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~pm~}}%
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~~}}%
+ \fi
\else\ifnum\value{@tempc}=12%
- \setcounter{@tempd}{\value{@tempc}}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempd:00 noon\ }}% Noontime Hack
- \else\put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempc:00 am\ }}%
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~noon~}}% Noontime Hack
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~~}}%
+ \fi
+ \else
+ \iftwelve
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempc:00~am~}}%
+ \else
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempc:00~~}}%
+ \fi
\fi\relax%
\fi\relax%
\fi\relax%
@@ -477,26 +521,56 @@
\fi%
\setcounter{y at coord}{\value{y at coord}-\@j}%
\ifnum\value{@tempc}=0%
- \setcounter{@tempd}{\value{@tempc}+12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes\ am\ }}% Hack to get 12:xx AM right.
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}+12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~am~}}% Hack to get 12:xx AM right.
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~~}}
+ \fi
\else\ifnum\value{@tempc}=24%
- \setcounter{@tempd}{\value{@tempc}-12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes\ am\ }}% Hack to get 12:xx AM right.
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}-12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~am~}}% Hack to get 12:xx AM right.
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~~}}
+ \fi
\else\ifnum\value{@tempc}>12%
- \setcounter{@tempd}{\value{@tempc}-12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes\ pm\ }}% ...write the time (using pm)...
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}-12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~pm~}}% ...write the time (using pm)...
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~~}}
+ \fi
\else\ifnum\value{@tempc}=12%
- \setcounter{@tempd}{\value{@tempc}}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes\ pm\ }}% Hack to get 12:xx PM right.
- \else\put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempc:\the at minutes\ am\ }}% ...write the time (using am).
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~pm~}}% Hack to get 12:xx PM right.
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~~}}
+ \fi
+ \else
+ \iftwelve
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempc:\the at minutes~am~}}% ...write the time (using am).
+ \else
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempc:\the at minutes~~}}
+ \fi
\fi%
\fi%
- \fi%
+ \fi%
\fi%
\fi%
\fi%
Modified: trunk/Master/texmf-dist/source/latex/schedule/schedule.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/schedule/schedule.ins 2019-08-02 21:29:42 UTC (rev 51804)
+++ trunk/Master/texmf-dist/source/latex/schedule/schedule.ins 2019-08-02 21:30:38 UTC (rev 51805)
@@ -15,12 +15,12 @@
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
-%% version 1.3 of this license or (at your option) any later
+%% version 1.3c of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
-%% and version 1.3 or later is part of all distributions of
+%% and version 1.3c or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%%
\input docstrip.tex
@@ -36,12 +36,12 @@
This file may be distributed and/or modified under the
conditions of the LaTeX Project Public License, either
-version 1.3 of this license or (at your option) any later
+version 1.3c of this license or (at your option) any later
version. The latest version of this license is in:
http://www.latex-project.org/lppl.txt
-and version 1.3 or later is part of all distributions of
+and version 1.3c or later is part of all distributions of
LaTeX version 2005/12/01 or later.
\endpreamble
Modified: trunk/Master/texmf-dist/tex/latex/schedule/schedule.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/schedule/schedule.sty 2019-08-02 21:29:42 UTC (rev 51804)
+++ trunk/Master/texmf-dist/tex/latex/schedule/schedule.sty 2019-08-02 21:30:38 UTC (rev 51805)
@@ -15,17 +15,17 @@
%%
%% This file may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either
-%% version 1.3 of this license or (at your option) any later
+%% version 1.3c of this license or (at your option) any later
%% version. The latest version of this license is in:
%%
%% http://www.latex-project.org/lppl.txt
%%
-%% and version 1.3 or later is part of all distributions of
+%% and version 1.3c or later is part of all distributions of
%% LaTeX version 2005/12/01 or later.
%%
\ProvidesFile{schedule.sty}
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
-\ProvidesPackage{schedule}[2019/7/26 v1.10 schedule package]
+\ProvidesPackage{schedule}[2019/7/31 v1.20 schedule package]
\RequirePackage{calc}
\RequirePackage{xcolor}
\definecolor{dark}{gray}{.75}
@@ -104,6 +104,7 @@
\newsavebox{\temp at box}
\newif\ifweekends
+\newif\iftwelve
\newcount\@i
\newcount\@j
@@ -121,6 +122,8 @@
\def\SevenDay{\weekendstrue}
\def\FiveDay{\weekendsfalse}
+\def\TwelveHour{\twelvetrue}
+\def\TwentyFourHour{\twelvefalse}
\def\CellHeight#1{\setlength{\cell at height}{#1}%
\setlength{\unitlength}{\cell at height*\ratio{1pt}{60pt}}}
@@ -181,23 +184,53 @@
{\setcounter{x at coord}{0}% Set the x-coord right
\setcounter{y at coord}{\value{grid at height}-60*\@i}% adjust for the right hour cell
\ifnum\value{@tempc}=0%
- \setcounter{@tempd}{\value{@tempc}+12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempd:00 midnight\ }}% Midnight Hack
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}+12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~midnight~~}}% Midnight Hack
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~~}}% Midnight Hack
+ \fi
\else\ifnum\value{@tempc}=24%
- \setcounter{@tempd}{\value{@tempc}-12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempd:00 midnight\ }}% Midnight Hack
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}-12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~midnight~}}% Midnight Hack
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~~}}% Midnight Hack
+ \fi
\else\ifnum\value{@tempc}>12%
- \setcounter{@tempd}{\value{@tempc}-12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempd:00 pm\ }}%
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}-12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~pm~}}%
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~~}}%
+ \fi
\else\ifnum\value{@tempc}=12%
- \setcounter{@tempd}{\value{@tempc}}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempd:00 noon\ }}% Noontime Hack
- \else\put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\the at tempc:00 am\ }}%
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~noon~}}% Noontime Hack
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempd:00~~}}%
+ \fi
+ \else
+ \iftwelve
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempc:00~am~}}%
+ \else
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\the at tempc:00~~}}%
+ \fi
\fi\relax%
\fi\relax%
\fi\relax%
@@ -215,26 +248,56 @@
\fi%
\setcounter{y at coord}{\value{y at coord}-\@j}%
\ifnum\value{@tempc}=0%
- \setcounter{@tempd}{\value{@tempc}+12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes\ am\ }}% Hack to get 12:xx AM right.
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}+12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~am~}}% Hack to get 12:xx AM right.
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~~}}
+ \fi
\else\ifnum\value{@tempc}=24%
- \setcounter{@tempd}{\value{@tempc}-12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes\ am\ }}% Hack to get 12:xx AM right.
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}-12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~am~}}% Hack to get 12:xx AM right.
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~~}}
+ \fi
\else\ifnum\value{@tempc}>12%
- \setcounter{@tempd}{\value{@tempc}-12}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes\ pm\ }}% ...write the time (using pm)...
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}-12}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~pm~}}% ...write the time (using pm)...
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~~}}
+ \fi
\else\ifnum\value{@tempc}=12%
- \setcounter{@tempd}{\value{@tempc}}%
- \put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes\ pm\ }}% Hack to get 12:xx PM right.
- \else\put(\value{x at coord},\value{y at coord}){%
- \makebox(0,0)[r]{\tiny\the at tempc:\the at minutes\ am\ }}% ...write the time (using am).
+ \iftwelve
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~pm~}}% Hack to get 12:xx PM right.
+ \else
+ \setcounter{@tempd}{\value{@tempc}}%
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempd:\the at minutes~~}}
+ \fi
+ \else
+ \iftwelve
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempc:\the at minutes~am~}}% ...write the time (using am).
+ \else
+ \put(\value{x at coord},\value{y at coord}){%
+ \makebox(0,0)[r]{\tiny\the at tempc:\the at minutes~~}}
+ \fi
\fi%
\fi%
- \fi%
+ \fi%
\fi%
\fi%
\fi%
More information about the tex-live-commits
mailing list