diff options
author | Karl Berry <karl@freefriends.org> | 2008-09-15 01:06:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-09-15 01:06:30 +0000 |
commit | 36f2bab5c56b644449a0a640fca59335c3f11c27 (patch) | |
tree | dd610dd7ad5e42dfc89e94786fdb85a02d847826 /Master/texmf-dist/doc/latex/yplan | |
parent | 55b9b90a036fa93e148a0b7420d888b3bf71c66b (diff) |
yplan update (report 9sep08 from cfrees)
git-svn-id: svn://tug.org/texlive/trunk@10603 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/yplan')
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan | 326 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan.doc | 97 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan00a.dvi | bin | 9700 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan00b.dvi | bin | 9892 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan99.doc | 51 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan99a.dvi | bin | 9940 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan99a.tex | 144 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan99b.dvi | bin | 9948 -> 0 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/yplan/yplan99b.tex | 143 |
9 files changed, 423 insertions, 338 deletions
diff --git a/Master/texmf-dist/doc/latex/yplan/yplan b/Master/texmf-dist/doc/latex/yplan/yplan new file mode 100644 index 00000000000..1bd69f867da --- /dev/null +++ b/Master/texmf-dist/doc/latex/yplan/yplan @@ -0,0 +1,326 @@ +#!/usr/bin/perl +# =========== +# Filename : yplan[.pl] +# Revision : 0.3, 2000-03-14 +# Purpose : Writes LaTeX2e code for an A4 year-planner, +# : in the style designed by Dick Nickalls +# Author : John Palmer, +# : using matter from Dick Nickalls and Harald Harders +# =========== +# Revision History +# 0.3, 2000-03-14 avoids long lines in the program where possible +# 0.2, 2000-03-08 YEAR arg mandatory; PAGE arg added; +# error-messages changed +# 0.1, 2000-02-18 alternative languages added (after Harald Harders) +# 2000-02-11 adding the bulk of the boilerplate +# (copied from Dick Nickalls) +# 1999-08-28 dividing into two pages and adding more TeX boilerplate +# 1999-08-18 program begun: first attempt to align days of week +# =========== +# Usage: yplan LANGUAGE LETTERCASE PAGE YEAR >FILE.tex +# where: +# LANGUAGE is one of: english, german, french, italian, spanish, +# portuguese, swedish, latin; if omitted, english is assumed; +# LETTERCASE is one of: uppercase, lowercase; controls the setting +# of month-names; if omitted, uppercase is assumed; +# PAGE is one of: p1, p2; selects the first or second six months +# of the chosen YEAR; if omitted, both pages are printed; +# YEAR must be written with four digits; +# FILE.tex is where to put the generated LaTeX code. +# Acceptable variants: +# Arguments wholly or partly in uppercase are translated to +# lowercase. +# Arguments are recognised even if given in the wrong order. +# You may write any argument with - or / at the start, and, in +# general, obvious extra characters at start and end of arguments +# are ignored. +# Fatal errors: +# The program will stop with an error-message in these cases: +# if YEAR missing; if YEAR <1999; if LANGUAGE not in the set above. +# Location: in CTAN at macros/latex/contrib/other/yplan/yplan.pl +#============ +# Things to do: +#============ +sub Leapyear +{ + my $year = shift; # one argument + if (($year%4) != 0) {return 0} + elsif (($year%400) == 0) {return 1} + elsif (($year%100) == 0) {return 0} + else {return 1}; +} +#============ +# Multilingual facilities Copyright 1999 Harald Harders +# <harald.harders@dlr.de> +# Adapted to Perl, with Swedish, Latin extensions, +# by John Palmer, 2000 + +@{$MonthsOfYear{english}} = +('','January','February','March','April','May','June', +'July','August','September','October','November','December'); +@{$DaysOfWeek{english}} = ('Su','Mo','Tu','We','Th','Fr','Sa'); +$LY{english} = 'leap year'; + +@{$MonthsOfYear{german}} = +( '','Januar','Februar','M\"arz','April','Mai','Juni', +'Juli','August','September','Oktober','November','Dezember'); +@{$DaysOfWeek{german}} = ('So','Mo','Di','Mi','Do','Fr','Sa','So'); +$LY{german}= 'Schaltjahr'; + +@{$MonthsOfYear{french}} = +('','Janvier',"F\\'evrier",'Mars','Avril','Mai','Juin', +'Juillet','Ao\^ut','Septembre','Octobre','Novembre',"D\\'ecembre"); +@{$DaysOfWeek{french}} = ('Di','Lu','Ma','Me','Je','Ve','Sa'); +$LY{french}= "ann\\'ee bissextile"; + +@{$MonthsOfYear{italian}} = +('','Gennaio','Febbraio','Marzo','Avrile','Maggio','Giugno', +'Luglio','Agosto','Septembre','Ottobre','Novembre','Dicembre'); +@{$DaysOfWeek{italian}} = ('Do','Lu','Ma','Me','Gi','Ve','Sa'); +$LY{italian}= 'anno di salto'; + +@{$MonthsOfYear{spanish}} = +('','Enero','Febrero','Marcha','Abril','Mayo','Junio', +'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'); +@{$DaysOfWeek{spanish}} = ('Do','Lu','Ma','Mi','Ju','Vi',"S\\'a"); +$LY{spanish}= 'A\~no bisiesto'; + +@{$MonthsOfYear{portuguese}} = +('','Janeiro','Fevereiro','Mar\c{c}o','Abril','Maio','Junho', +'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'); +# \c needs special treatment when converting to uppercase +@{$DaysOfWeek{portuguese}} = +('Dom','Seg','Ter','Qua','Qui','Sex',"S\\'ab"); +$LY{portuguese}= 'Ano de pulo'; + +@{$MonthsOfYear{swedish}} = +('','Januari','Februari','Mars','April','Mai','Juni', +'Juli','Augusti','September','October','November','December'); +@{$DaysOfWeek{swedish}} = +('S\"o','M\aa{}','Ti','On','To','Fr','L\"o'); +$LY{swedish} = 'skott\aa{}r'; + +@{$MonthsOfYear{latin}} = +('','Ianuarius','Februarius','Martius','Aprilis','Maius','Iunius', +'Iulius','Augustus','Septembris','Octobris','Nouembris','Decembris'); +@{$DaysOfWeek{latin}} = ('So','Lu','Ma','Me','Io','Ve','Sa'); +$LY{latin} = 'annvs bissextilis'; +# use v not u as it will be set as \textsc +# Antiquarian note: +# There is evidence for a seven-day cycle in Latin-speaking +# communities in the 1st cent. AD. The days are: (dies) Solis, +# Lunae, Martis, Mercurii, Iouis, Veneris, Saturni. Iulius, Augustus +# were originally Quintilis, Sextilis but were renamed after two +# personages of the 1st cent. BC. In Latin of this period there is +# no distinction between I and J (I used for both) or between +# U and V (lowercase u, uppercase V). ---JP +#============ +# Set default values for the arguments: +$Year = ''; +$Language = 'english'; +$Monthcase = 'uppercase'; +$Page = ''; + +# Override them by actual arguments: +foreach (@ARGV) +{ + if ($_ =~ m/(p1|p2)/i) { $Page = lc $1 } + elsif ($_ =~ m/([0-9]+)/) { $Year = $1 } + elsif ($_ =~ m/(uppercase|lowercase)/i) { $Monthcase = lc $1 } + elsif ($_ =~ m/([a-z]+)/i) { $Language = lc $1 }; +}; +if ($Year !~ /^\d+$/) +{ die "Usage: yplan [language] [lowercase] [page] year >file.tex\n" }; +if ($Year < 1999) +{ die "Years < 1999 not available\n" }; +if (! exists $MonthsOfYear{$Language}) +{ die "Language $Language not available\n" }; +if ($Monthcase =~ m/uppercase/) +{ foreach (@{$MonthsOfYear{$Language}}) + { $_ = uc $_; $_ =~ s/\\C/\\c/g; + if ($Language eq 'latin') {$_ =~ s/U/V/g} + } +}; +$shortYear = $Year ; $shortYear =~ s/..(..)/$1/ ; +#============ +# count days from 1999 January 1 to $Year January 1: +$thisYear = 1999 ; +$startDayofWeek[1] = 5 ; +# 1999 January 1 is a Friday. 0=Sunday,1=Monday,etc. +# count days from 1999 January 1 to $Year January 1: +while ($thisYear < $Year) +{ + $daysinYear = Leapyear($thisYear) ? 366 : 365 ; + $startDayofWeek[1] = $startDayofWeek[1] + $daysinYear ; + $thisYear++; +}; +$startDayofWeek[1] = $startDayofWeek[1] % 7 ; +#============ +# make a list of the lengths of months: +@monthLengths = +( 0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 ) ; +$Ly = ''; +if (Leapyear($thisYear)) +{ $monthLengths[2] = 29 ; $Ly = $LY{$Language} }; +#============ +# for each month, determine the day of week of day 1 of the month +for ($i=1; $i<12; $i++) +{ + $startDayofWeek[1+$i] = + ( $startDayofWeek[$i] + $monthLengths[$i] ) % 7; +}; +#============ +# for each month, write an appropriately shifted array of daysofMonth; +# meantime determine the greatest index (plus one) to any such array: +$stopRow = 0; +for ($i=1; $i<=12; $i++) +{ + $monthVec[$i] = (); # create the array + $j = $startDayofWeek[$i]; + $k = 1; + while ($k <= @monthLengths[$i]) + { + ${$monthVec[$i]}[$j] = $k; + $k++; $j++; + }; + if ($stopRow < $j) { $stopRow = $j }; +}; +#============ +# fill in $monthVec[0] with the days of week: +$j = 0; +for ($i=0; $i<$stopRow; $i++) +{ + ${$monthVec[0]}[$i] = $j; $j++; $j %= 7; +}; +#============ +# determine the least of @startDayofWeek: +$topDayofWeek = 6; +for ($i=1; $i<=12; $i++) +{ + if ($startDayofWeek[$i]<$topDayofWeek) + {$topDayofWeek=$startDayofWeek[$i]} +}; +#============ +# emit the opening boilerplate: +print <<ENDFRONT; +%% Yplan +%% Vertical year-planner calendar +%% +%% --------------------------- +%% Copyright 1999 RWD Nickalls, 2000 John Palmer +%% Multlingual support based on yplan.sty, +%% copyright 1999 Harald Harders +%% This program Yplan[.pl] can be redistributed and/or modified +%% under the terms of the LaTeX Project Public License distributed +%% from CTAN archives in directory macros/latex/base/lppl.txt; +%% either version 1 of the License, or any later version. +%% -------------------------- +%% Author of the original LaTeX source: +%% Dr RWD Nickalls, +%% Department of Anaesthesia, +%% City Hospital, +%% Nottingham, UK. +%% +%% dicknickalls\@compuserve.com +%% TEL: +44-(0)-115-9691169 Ext:45637 +%% FAX: +44-(0)-115-9627713 +%% +%% Author of the original multilingual package: +%% Harald Harders, +%% harald.harders\@dlr.de +%% +%% Author of the Perl program: +%% John W Palmer, +%% johnp\@bcs.org.uk +%% +%% Designed for LaTeX 2e, although it can be easily adapted for +%% use with LaTeX 2.09, since it is only a big table. +%% +%% I designed this year planner as one year my +%% A4 diary had no good year planner at the end +%% The vertical size can be adjusted by changing \datestrut. +%% ---enjoy! RWDN +%% +%%------------------------------------ +\\documentclass[a4paper]{article} +%%------------------------------------ +\\setlength{\\topmargin}{-1cm} +\\setlength{\\oddsidemargin}{-13.5mm} +\\setlength{\\textwidth}{18.5cm} +%% +\\newcommand{\\monthstrut}{\\rule{0pt}{12pt}} +%% \\monthstrut controls the white space above the month. +%% +\\newcommand{\\datestrut}{\\rule{0pt}{12pt}} +%% \\datestrut controls the white space above the date. +%% +\\newcommand{\\bs}{\$\\backslash\$} +%% Used in the footnotes. +%%-------------------------------------- +\\begin{document} +%--------------- +%% no pagenumbering +\\pagestyle{empty} +%-------------------- +ENDFRONT +#============ +# start emitting rows. In each row, col 0 is a dayofWeek, +# the remainder are daysofMonth for different months. + +$ema=6; $emb=12; +if ($Page eq 'p1') { $emb = 6 } elsif ($Page eq 'p2') { $ema = 12 }; +for($endmonth=$ema; $endmonth<=$emb; $endmonth+=6) +{ +print <<ENDHEAD; +\\begin{table} +\\hspace{1cm} {\\LARGE $Year}\\qquad\\textsc{$Ly}\\\\ +{\\ } \\\\ +\\begin{tabular}{|c||p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|} +ENDHEAD + print '%%',"\n"; + print '\hline',"\n"; + print ' \multicolumn{1}{|c||}{\monthstrut\ }',"\n" ; + for ($j=$endmonth-5; $j<=$endmonth; $j++) + { + print ' & \multicolumn{1}{|c|}{', + ${$MonthsOfYear{$Language}}[$j],'}',"\n"; + }; + print "\\\\\n\\hline\n\\hline\n"; + for ($i=$topDayofWeek; $i<$stopRow; $i++) + { + print '\datestrut ', + ${$DaysOfWeek{$Language}}[${$monthVec[0]}[$i]]; + for ($j=$endmonth-5; $j<=$endmonth; $j++) + { + if ($j>0) { print ' & ' }; + print ${$monthVec[$j]}[$i]; + }; + print " \\\\\n"; # that's space, two backslashes and a newline + if (${$monthVec[0]}[$i]==0) # Sunday + { print '\hline\hline',"\n" } # full double rule at `end' of week + else + { print '\cline{1-1}'; # always put rule in day-of-week column + for ($j=$endmonth-5; $j<=$endmonth; $j++) + { if (${$monthVec[$j]}[$i] || ${$monthVec[$j]}[$i+1]) + { print '\cline{',($j-$endmonth+7),'-',($j-$endmonth+7),'}' } + # in month columns put rule only above or below a day-number + }; + print "\n"; + if ($i==$stopRow-1) { print '\hline',"\n" }; + # end of tabular matter + }; + }; +print <<ENDFOOT; +\\end{tabular} +{\\ } \\\\ +%%\\newcommand{\\bs}{\$\\backslash\$} +\\textsc{ctan}/macros/latex/contrib/other/yplan/yplan.pl% +\\hfill\\hbox{\\copyright{} 1999 RWD Nickalls, H Harders, 2000 J Palmer} +\\end{table} +%----------------- +ENDFOOT +}; +print '\end{document}',"\n"; +#============ +# End of program +#============ diff --git a/Master/texmf-dist/doc/latex/yplan/yplan.doc b/Master/texmf-dist/doc/latex/yplan/yplan.doc new file mode 100644 index 00000000000..c61278bee46 --- /dev/null +++ b/Master/texmf-dist/doc/latex/yplan/yplan.doc @@ -0,0 +1,97 @@ +yplan.doc +------------ +Date: 14th March, 2000 +-------------------- +This is the documentation for the Perl program yplan. +Yplan is a vertical-type daily planner, +showing all the days of a year on two A4 pages. +%% -------------------------------------------- +%% Copyright 1999 RWD Nickalls & Harald Harders, 2000 John Palmer +%% This program can be redistributed and/or modified under the terms +%% of the LaTeX Project Public License Distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt; either +%% version 1 of the License, or any later version. +%% --------------------------------------------- + +Authors: + Dr RWD Nickalls, + Department of Anaesthesia, + City Hospital, + Nottingham, UK. + dicknickalls@compuserve.com + TEL: +44-(0)-115-9691169 Ext:45637 + FAX: +44-(0)-115-9627713 + + Harald Harders + harald.harders@dlr.de + + John Palmer + 4 Horyford Close, Preston, Weymouth DT3 6DJ, England + +44 1305 832240 + johnp@bcs.org.uk + http://www.stx69.demon.co.uk/ + +The file yplan, in CTAN/macros/latex/contrib/other/yplan/, is a Perl +program which generates LaTeX2e code to print, for any chosen year +from 1999 onward, a vertical-type daily planner (ie months along the +top, days downwards), with each 6-month period fitting onto a single +A4 sheet. They will also fit onto USA standard size paper. The +vertical size can be adjusted by changing \datestrut. The generated +files are really just large tables, and so you may wish to extract +just the tables and modify them for your own use. + +Dick Nickalls was motivated to design this year-planner as his A4 +diary did not have good year-planner at the end. +Harald Harders added support for several languages besides English, +in the form of a LaTeX2e package yplan.sty. +Hand-edited LaTeX files for 1999 and 2000 were issued, called +yplan99a.tex, etc. (These are not made obsolete by the new program; +they remain useful, for instance to those who don't have a Perl +interpreter.) +John Palmer then wrote the general Perl program which makes a LaTeX +file for any chosen year. In doing so he incorporated Harald's +alternative language support into the Perl code, in such a way that +the yplan.sty file is no longer needed, and added the Swedish and +Latin languages. + +The Perl code has been tested with perl 5.004 and 5.005, but should +run with many earlier versions of Perl. It has been used successfully +on both Linux and MS-DOS. The output from yplan runs nicely on +LaTeX2e, and may have to be adjusted very slightly to run on LaTeX +2.09. + +Here are the instructions for running yplan: + +The normal usage is + yplan LANGUAGE LETTERCASE PAGE YEAR >FILE.tex +where: + LANGUAGE is one of: english, german, french, italian, spanish, + portuguese, swedish, latin. If LANGUAGE is omitted, english is + assumed. + LETTERCASE is one of: uppercase, lowercase. This controls the + setting of month-names. If LETTERCASE is omitted, uppercase is + assumed. + PAGE is one of: p1, p2. This selects the first or second six + months of the chosen YEAR; if PAGE is omitted, both pages are + printed. + YEAR must be written with four digits. YEAR may NOT be omitted. + FILE.tex is where to put the generated LaTeX code. (The output of + the program must be redirected to some file that can be processed + by LaTeX.) + +The following variants on this syntax are accepted: + Arguments wholly or partly in uppercase are translated to + lowercase. + Arguments are recognised even if given in the wrong order. + You may write any argument with - or / at the start, and, in + general, obvious extra characters at start and end of arguments + are ignored. + +Fatal errors: + The program will stop with an error-message in these cases: + if no YEAR is specified (in this case it prints a message showing + the correct way to use the program); + if YEAR < 1999 (years before 1999 are not provided for); + if LANGUAGE is specified but is not one of the set given above. +------------------------------------------ +Dick Nickalls, Harald Harders, John Palmer diff --git a/Master/texmf-dist/doc/latex/yplan/yplan00a.dvi b/Master/texmf-dist/doc/latex/yplan/yplan00a.dvi Binary files differdeleted file mode 100644 index 7fe839b2c41..00000000000 --- a/Master/texmf-dist/doc/latex/yplan/yplan00a.dvi +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/yplan/yplan00b.dvi b/Master/texmf-dist/doc/latex/yplan/yplan00b.dvi Binary files differdeleted file mode 100644 index f08efe9c5c7..00000000000 --- a/Master/texmf-dist/doc/latex/yplan/yplan00b.dvi +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/yplan/yplan99.doc b/Master/texmf-dist/doc/latex/yplan/yplan99.doc deleted file mode 100644 index 41e81934ed0..00000000000 --- a/Master/texmf-dist/doc/latex/yplan/yplan99.doc +++ /dev/null @@ -1,51 +0,0 @@ -Yplan99.doc ----------- -This is the documentation for the Yplan99A.tex and -Yplan99B.tex files. Yplan is a vertical-type daily -planner. -%% --------------------------- -%% Copyright 1999 RWD Nickalls -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN -%% archives in directory macros/latex/base/lppl.txt; either -%% version 1 of the License, or any later version. -%% -------------------------- - -Date: December 9th, 1998 - -Author: - Dick Nickalls, - Department of Anaesthesia, - City Hospital, - Nottingham, UK. - - dicknickalls@compuserve.com - TEL: +44-(0)-115-9691169 Ext:45637 - FAX: +44-(0)-115-9627713 - -The Yplan99 YearPlanner consists of two files -Yplan99A.tex & Yplan99B.tex which cover 6 months each -as follows:- - -Yplan99A.tex (January to June 1999) -Yplan99B.tex (July to December 1999) - -in CTAN\macros\latex\contrib\other\yplan\ - -These files will print a vertical-type daily planner -(ie months along the top, days downwards), with each -6-month period fitting onto a single A4 sheet. -They will also fit onto USA standard size paper. -The vertical size can be adjusted by changing \datestrut. -These files are really just large tables, and so you -may wish to extract just the tables and modify them -for your own use. - -I was motivated to design this year-planner as my A4 -diary did not have good year-planner at the end. - -The files run nicely on Latex 2e, and may have to -be adjusted very slightly to run on LaTeX 2.09. - -Dick Nickalls -------------- diff --git a/Master/texmf-dist/doc/latex/yplan/yplan99a.dvi b/Master/texmf-dist/doc/latex/yplan/yplan99a.dvi Binary files differdeleted file mode 100644 index 47e19f4d9b0..00000000000 --- a/Master/texmf-dist/doc/latex/yplan/yplan99a.dvi +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/yplan/yplan99a.tex b/Master/texmf-dist/doc/latex/yplan/yplan99a.tex deleted file mode 100644 index c570ba2edb0..00000000000 --- a/Master/texmf-dist/doc/latex/yplan/yplan99a.tex +++ /dev/null @@ -1,144 +0,0 @@ -%% -%% Yplan99A.tex -%% Vertical year-planner calendar (January to June 1999) -%% -%% --------------------------- -%% Copyright 1999 RWD Nickalls -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN -%% archives in directory macros/latex/base/lppl.txt; either -%% version 1 of the License, or any later version. -%% -------------------------- -%% -%% Dr RWD Nickalls, -%% Department of Anaesthesia, -%% City Hospital, -%% Nottingham, UK. -%% -%% dicknickalls@compuserve.com -%% TEL: +44-(0)-115-9691169 Ext:45637 -%% FAX: +44-(0)-115-9627713 -%% -%% Designed for LaTeX 2e, although it can be easily adapted for -%% use with LaTeX 2.09, since it is only a big table. -%% -%% I designed this year planner as one year my -%% A4 diary had no good year planner at the end -%% The vertical size can be adjusted by changing \datestrut. -%% ---enjoy! -%% -%%------------------------------------ -\documentclass[a4paper]{article} -%%------------------------------------ -\setlength{\topmargin}{-1cm} -\setlength{\oddsidemargin}{-13.5mm} -\setlength{\textwidth}{18.5cm} -%% -\newcommand{\monthstrut}{\rule{0pt}{12pt}} -%% \monthstrut controls the white space above the month. -%% -\newcommand{\datestrut}{\rule{0pt}{12pt}} -%% \datestrut controls the white space above the date. -%%-------------------------------------- -\begin{document} -%--------------- -%% no pagenumbering -\thispagestyle{empty} -%-------------------- -\begin{table} -\hspace{1cm} {\LARGE 1999}\\ -{\ } \\ -\begin{tabular}{|c||p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|} -\hline - \multicolumn{1}{|c||}{\monthstrut\ } & - \multicolumn{1}{|c|}{JANUARY} & - \multicolumn{1}{|c|}{FEBRUARY} & - \multicolumn{1}{|c|}{MARCH} & - \multicolumn{1}{|c|}{APRIL} & - \multicolumn{1}{|c|}{MAY} & - \multicolumn{1}{|c|}{JUNE} \\ -\hline -\hline -%% Jan Feb Mar Apr May June -\datestrut Mo & &1 & 1 & & & \\ -\cline{1-1}\cline{3-4}\cline{7-7} -\datestrut Tu & &2 & 2 & & & 1 \\ -\cline{1-1}\cline{3-4}\cline{7-7} -\datestrut We & &3 & 3 & & & 2 \\ -\cline{1-1}\cline{3-5}\cline{7-7} -\datestrut Th & &4 & 4 & 1 & & 3 \\ -\cline{1-5}\cline{7-7} -\datestrut Fr & 1 &5 & 5 & 2 & & 4 \\ -\cline{1-7} -\datestrut Sa & 2 &6 & 6 & 3 & 1 & 5 \\ -\hline -\datestrut Su & 3 &7 & 7 & 4 & 2 & 6 \\ -\hline\hline -\datestrut Mo & 4 &8 & 8 & 5 & 3 & 7 \\ -\hline -\datestrut Tu & 5 &9 & 9 & 6 & 4 & 8 \\ -\hline -\datestrut We & 6 &10 & 10 & 7 & 5 & 9 \\ -\hline -\datestrut Th & 7 &11 & 11 & 8 & 6 & 10 \\ -\hline -\datestrut Fr & 8 &12 & 12 & 9 & 7 & 11 \\ -\hline -\datestrut Sa & 9 &13 & 13 & 10 & 8 & 12 \\ -\hline -\datestrut Su & 10 &14 & 14 & 11 & 9 & 13 \\ -\hline \hline -\datestrut Mo & 11 &15 & 15 & 12 & 10 & 14 \\ -\hline -\datestrut Tu & 12 &16 & 16 & 13 & 11 & 15 \\ -\hline -\datestrut We & 13 &17 & 17 & 14 & 12 & 16 \\ -\hline -\datestrut Th & 14 &18 & 18 & 15 & 13 & 17 \\ -\hline -\datestrut Fr & 15 &19 & 19 & 16 & 14 & 18 \\ -\hline -\datestrut Sa & 16 &20 & 20 & 17 & 15 & 19 \\ -\hline -\datestrut Su & 17 &21 & 21 & 18 & 16 & 20 \\ -\hline \hline -\datestrut Mo & 18 &22 & 22 & 19 & 17 & 21 \\ -\hline -\datestrut Tu & 19 &23 & 23 & 20 & 18 & 22 \\ -\hline -\datestrut We & 20 &24 & 24 & 21 & 19 & 23 \\ -\hline -\datestrut Th & 21 &25 & 25 & 22 & 20 & 24 \\ -\hline -\datestrut Fr & 22 &26 & 26 & 23 & 21 & 25 \\ -\hline -\datestrut Sa & 23 &27 & 27 & 24 & 22 & 26 \\ -\hline -\datestrut Su & 24 &28 & 28 & 25 & 23 & 27 \\ -\hline \hline -\datestrut Mo & 25 & & 29 & 26 & 24 & 28 \\ -\cline{1-2}\cline{4-7} -\datestrut Tu & 26 & & 30 & 27 & 25 & 29 \\ -\cline{1-2}\cline{4-7} -\datestrut We & 27 & & 31 & 28 & 26 & 30 \\ -\cline{1-2}\cline{4-7} -\datestrut Th & 28 & & & 29 & 27 & \\ -\cline{1-2}\cline{5-6} -\datestrut Fr & 29 & & & 30 & 28 & \\ -\cline{1-2}\cline{5-6} -\datestrut Sa & 30 & & & & 29 & \\ -\cline{1-2}\cline{6-6} -\datestrut Su & 31 & & & & 30 & \\ -\hline \hline -\datestrut Mo & & & & & 31 & \\ -\cline{1-1}\cline{6-6} -\datestrut Tu & & & & & & \\ -\hline -\end{tabular} -{\ } \\ -\newcommand{\bs}{$\backslash$} -\textsc{ctan}{\bs}macros{\bs}latex{\bs}contrib{\bs}other{\bs}yplan{\bs}yplan99 -A.tex% \hfill\hbox{\copyright\ 1999\ RWD Nickalls} -\end{table} -%----------------- -\end{document} diff --git a/Master/texmf-dist/doc/latex/yplan/yplan99b.dvi b/Master/texmf-dist/doc/latex/yplan/yplan99b.dvi Binary files differdeleted file mode 100644 index ec05cba3ac6..00000000000 --- a/Master/texmf-dist/doc/latex/yplan/yplan99b.dvi +++ /dev/null diff --git a/Master/texmf-dist/doc/latex/yplan/yplan99b.tex b/Master/texmf-dist/doc/latex/yplan/yplan99b.tex deleted file mode 100644 index 50373ef6892..00000000000 --- a/Master/texmf-dist/doc/latex/yplan/yplan99b.tex +++ /dev/null @@ -1,143 +0,0 @@ -%% -%% Yplan99B.tex -%% Vertical Year planner calendar (July to December 1999) -%% -%% --------------------------- -%% Copyright 1999 RWD Nickalls -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN -%% archives in directory macros/latex/base/lppl.txt; either -%% version 1 of the License, or any later version. -%% -------------------------- -%% -%% Dr RWD Nickalls, -%% Department of Anaesthesia, -%% City Hospital, -%% Nottingham, UK. -%% -%% dicknickalls@compuserve.com -%% TEL: +44-(0)-115-9691169 Ext:45637 -%% FAX: +44-(0)-115-9627713 -%% -%% Designed for LaTeX 2e, although it can be easily adapted for -%% use with LaTeX 2.09, since it is only a big table. -%% -%% I designed this year planner as one year my -%% A4 diary had no good year planner at the end. -%% The vertical size can be adjusted by changing \datestrut. -%% ---enjoy! -%% -%%---------------------------------- -\documentclass[a4paper]{article} -%%------------------------------------ -\setlength{\topmargin}{-1cm} -\setlength{\oddsidemargin}{-13.5mm} -\setlength{\textwidth}{18.5cm} -%% -\newcommand{\monthstrut}{\rule{0pt}{12pt}} -%% \monthstrut controls the white space above the month. -%% -\newcommand{\datestrut}{\rule{0pt}{12pt}} -%% \datestrut controls the white space above the date. -%%-------------------------------------- -\begin{document} -%%--------------- -%% no pagenumbering -\thispagestyle{empty} -%%-------------------- -\begin{table} -\hspace{1cm} {\LARGE 1999}\\ -{\ } \\ -\begin{tabular}{|c||p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|} -\hline - \multicolumn{1}{|c||}{\monthstrut\ } & - \multicolumn{1}{|c|}{JULY} & - \multicolumn{1}{|c|}{AUGUST} & - \multicolumn{1}{|c|}{SEPTEMBER} & - \multicolumn{1}{|c|}{OCTOBER} & - \multicolumn{1}{|c|}{NOVEMBER} & - \multicolumn{1}{|c|}{DECEMBER} \\ - \hline - \hline -\datestrut Mo & & & & & 1 & \\ -\cline{1-1}\cline{6-6} -\datestrut Tu & & & & & 2 & \\ -\cline{1-1}\cline{4-4}\cline{6-7} -\datestrut We & & & 1 & & 3 & 1 \\ -\cline{1-2}\cline{4-4}\cline{6-7} -\datestrut Th & 1 & & 2 & & 4 & 2 \\ -\cline{1-2}\cline{4-7} -\datestrut Fr & 2 & & 3 & 1 & 5 & 3 \\ -\cline{1-2}\cline{4-7} -\datestrut Sa & 3 & & 4 & 2 & 6 & 4 \\ -\hline -\datestrut Su & 4 & 1 & 5 & 3 & 7 & 5 \\ -\hline\hline -\datestrut Mo & 5 & 2 & 6 & 4 & 8 & 6 \\ -\hline -\datestrut Tu & 6 & 3 & 7 & 5 & 9 & 7 \\ -\hline -\datestrut We & 7 & 4 & 8 & 6 & 10 & 8 \\ -\hline -\datestrut Th & 8 & 5 & 9 & 7 & 11 & 9 \\ -\hline -\datestrut Fr & 9 & 6 & 10 & 8 & 12 & 10 \\ -\hline -\datestrut Sa & 10 & 7 & 11 & 9 & 13 & 11 \\ -\hline -\datestrut Su & 11 & 8 & 12 & 10& 14 & 12 \\ -\hline\hline -\datestrut Mo & 12 & 9 & 13 & 11& 15 & 13 \\ -\hline -\datestrut Tu & 13 & 10 & 14 & 12& 16 & 14 \\ -\hline -\datestrut We & 14 & 11 & 15 & 13& 17 & 15 \\ -\hline -\datestrut Th & 15 & 12 & 16 & 14& 18 & 16 \\ -\hline -\datestrut Fr & 16 & 13 & 17 & 15& 19 & 17 \\ -\hline -\datestrut Sa & 17 & 14 & 18 & 16& 20 & 18 \\ -\hline -\datestrut Su & 18 & 15 & 19 & 17& 21 & 19 \\ -\hline\hline -\datestrut Mo & 19 & 16 & 20 & 18& 22 & 20 \\ -\hline -\datestrut Tu & 20 & 17 & 21 & 19& 23 & 21 \\ -\hline -\datestrut We & 21 & 18 & 22 & 20& 24 & 22 \\ -\hline -\datestrut Th & 22 & 19 & 23 & 21& 25 & 23 \\ -\hline -\datestrut Fr & 23 & 20 & 24 & 22& 26 & 24 \\ -\hline -\datestrut Sa & 24 & 21 & 25 & 23& 27 & 25 \\ -\hline -\datestrut Su & 25 & 22 & 26 & 24& 28 & 26 \\ -\hline\hline -\datestrut Mo & 26 & 23 & 27 & 25& 29 & 27 \\ -\hline -\datestrut Tu & 27 & 24 & 28 & 26& 30 & 28 \\ -\hline -\datestrut We & 28 & 25 & 29 & 27& & 29 \\ -\cline{1-5}\cline{7-7} -\datestrut Th & 29 & 26 & 30 & 28& & 30 \\ -\cline{1-5}\cline{7-7} -\datestrut Fr & 30 & 27 & & 29& & 31 \\ -\cline{1-3}\cline{5-5}\cline{7-7} -\datestrut Sa & 31 & 28 & & 30& & \\ -\cline{1-3}\cline{5-5} -\datestrut Su & & 29 & & 31& & \\ -\hline\hline -\datestrut Mo & & 30 & & & & \\ -\cline{1-1}\cline{3-3} -\datestrut Tu & & 31 & & & & \\ -\hline -\end{tabular} -{\ } \\ -\newcommand{\bs}{$\backslash$} -\textsc{ctan}{\bs}macros{\bs}latex{\bs}contrib{\bs}other{\bs}yplan{\bs}yplan99 -B.tex% \hfill\hbox{\copyright\ 1999\ RWD Nickalls} -\end{table} -%-------------- -\end{document} |