summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/yplan/yplan.sty
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/yplan/yplan.sty
Initial commit
Diffstat (limited to 'macros/latex/contrib/yplan/yplan.sty')
-rw-r--r--macros/latex/contrib/yplan/yplan.sty294
1 files changed, 294 insertions, 0 deletions
diff --git a/macros/latex/contrib/yplan/yplan.sty b/macros/latex/contrib/yplan/yplan.sty
new file mode 100644
index 0000000000..0aba1b2754
--- /dev/null
+++ b/macros/latex/contrib/yplan/yplan.sty
@@ -0,0 +1,294 @@
+%% yplan.sty
+%% Vertical Year planner calendar package file
+%%
+%% -----------------------------------------------
+%% Copyright 1999 Harald Harders
+%% 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.
+%% -----------------------------------------------
+%%
+%% Harald Harders
+%% harald.harders@dlr.de
+%%
+%%
+%% Adds international support to the year planners of Dr RWD Nickalls.
+%%
+%%
+%% You can switch the language to either
+%% english, german, french, spanish, italian, portuguese
+%% by inserting the line
+%% \usepackage[<language>]{yplan}
+%% after the row containing the \documentclass command in the LaTeX
+%% file yplanYYa.tex or yplanYYb.tex, where YY stands for the year.
+%% You have to replace <language> by your language name.
+%% In addition you may use month names in lowercase letters (With an
+%% uppercase first letter) by adding the keyword lowercase to the
+%% optional parameters of the \usepackage command, e.g.
+%% \usepackage[german,lowercase]{yplan}
+%%
+%% Possible options:
+%% english (default) english language
+%% german german language
+%% french french language
+%% spanish spanish language
+%% italian italian language
+%% portuguese portuguese language
+%% uppercase (default) Uppercase months
+%% lowercase Lowercase months with uppercase first letter
+%%
+%%----------------------------------
+\ProvidesPackage{yplan}[1999/07/06]
+\RequirePackage{ifthen}
+%%----------------------------------
+\newboolean{upper}
+%%----------------------------------
+\DeclareOption{uppercase}{\setboolean{upper}{true}}
+\DeclareOption{lowercase}{\setboolean{upper}{false}}
+\DeclareOption{english}{\def\yplan@lang{english}}
+\DeclareOption{german}{\def\yplan@lang{german}}
+\DeclareOption{french}{\def\yplan@lang{french}}
+\DeclareOption{italian}{\def\yplan@lang{italian}}
+\DeclareOption{spanish}{\def\yplan@lang{spanish}}
+\DeclareOption{portuguese}{\def\yplan@lang{portuguese}}
+%%----------------------------------
+\DeclareOption*{\PackageWarning{yplan.sty}{Unknown option \CurrentOption}}
+%%----------------------------------
+\ExecuteOptions{english,uppercase}
+\ProcessOptions
+%%----------------------------------
+\AtBeginDocument{%
+\ifthenelse{\equal{\yplan@lang}{english}}{%
+ \ifthenelse{\boolean{upper}}{%
+ \def\January{JANUARY}
+ \def\February{FEBRUARY}
+ \def\March{MARCH}
+ \def\April{APRIL}
+ \def\May{MAY}
+ \def\June{JUNE}
+ \def\July{JULY}
+ \def\August{AUGUST}
+ \def\September{SEPTEMBER}
+ \def\October{OCTOBER}
+ \def\November{NOVEMBER}
+ \def\December{DECEMBER}
+ }{%
+ \def\January{January}
+ \def\February{February}
+ \def\March{March}
+ \def\April{April}
+ \def\May{May}
+ \def\June{June}
+ \def\July{July}
+ \def\August{August}
+ \def\September{September}
+ \def\October{October}
+ \def\November{November}
+ \def\December{December}
+ }
+ \def\Mo{Mo}
+ \def\Tu{Tu}
+ \def\We{We}
+ \def\Th{Th}
+ \def\Fr{Fr}
+ \def\Sa{Sa}
+ \def\Su{Su}
+ \def\leapyear{\textsc{leap year}}
+}{}
+%%----------------------------------
+\ifthenelse{\equal{\yplan@lang}{german}}{%
+ \ifthenelse{\boolean{upper}}{%
+ \def\January{JANUAR}
+ \def\February{FEBRUAR}
+ \def\March{M\"ARZ}
+ \def\April{APRIL}
+ \def\May{MAI}
+ \def\June{JUNI}
+ \def\July{JULI}
+ \def\August{AUGUST}
+ \def\September{SEPTEMBER}
+ \def\October{OKTOBER}
+ \def\November{NOVEMBER}
+ \def\December{DEZEMBER}
+ }{%
+ \def\January{Januar}
+ \def\February{Februar}
+ \def\March{M\"arz}
+ \def\April{April}
+ \def\May{Mai}
+ \def\June{Juni}
+ \def\July{Juli}
+ \def\August{August}
+ \def\September{September}
+ \def\October{Oktober}
+ \def\November{November}
+ \def\December{Dezember}
+ }
+ \def\Mo{Mo}
+ \def\Tu{Di}
+ \def\We{Mi}
+ \def\Th{Do}
+ \def\Fr{Fr}
+ \def\Sa{Sa}
+ \def\Su{So}
+ \def\leapyear{\textsc{Schaltjahr}}
+}{}
+%%----------------------------------
+\ifthenelse{\equal{\yplan@lang}{french}}{%
+ \ifthenelse{\boolean{upper}}{%
+ \def\January{JANVIER}
+ \def\February{F\'EVRIER}
+ \def\March{MARS}
+ \def\April{AVRIL}
+ \def\May{MAI}
+ \def\June{JUIN}
+ \def\July{JUILLIET}
+ \def\August{AO\^UT}
+ \def\September{SEPTEMBRE}
+ \def\October{OCTOBRE}
+ \def\November{NOVEMBRE}
+ \def\December{D\'ECEMBRE}
+ }{%
+ \def\January{Janvier}
+ \def\February{F\'evrier}
+ \def\March{Mars}
+ \def\April{Avril}
+ \def\May{Mai}
+ \def\June{Juin}
+ \def\July{Juillet}
+ \def\August{Ao\^ut}
+ \def\September{Septembre}
+ \def\October{Octobre}
+ \def\November{Novembre}
+ \def\December{Dec\'embre}
+ }
+ \def\Mo{Lu}
+ \def\Tu{Ma}
+ \def\We{Me}
+ \def\Th{Je}
+ \def\Fr{Ve}
+ \def\Sa{Sa}
+ \def\Su{Di}
+ \def\leapyear{\textsc{ann\'ee bissextile}}
+}{}
+%%----------------------------------
+\ifthenelse{\equal{\yplan@lang}{italian}}{%
+ \ifthenelse{\boolean{upper}}{%
+ \def\January{GENNAIO}
+ \def\February{FEBBRAIO}
+ \def\March{MARZO}
+ \def\April{AVRILE}
+ \def\May{MAGGIO}
+ \def\June{GIUGNO}
+ \def\July{LUGLIO}
+ \def\August{AGOSTO}
+ \def\September{SETTEMBRE}
+ \def\October{OTTOBRE}
+ \def\November{NOVEMBRE}
+ \def\December{DICEMBRE}
+ }{%
+ \def\January{Gennaio}
+ \def\February{Febbraio}
+ \def\March{Marzo}
+ \def\April{Avrile}
+ \def\May{Maggio}
+ \def\June{Giugno}
+ \def\July{Luglio}
+ \def\August{Agosto}
+ \def\September{Septembre}
+ \def\October{Ottobre}
+ \def\November{Novembre}
+ \def\December{Dicembre}
+ }
+ \def\Mo{Lu}
+ \def\Tu{Ma}
+ \def\We{Me}
+ \def\Th{Gi}
+ \def\Fr{Ve}
+ \def\Sa{Sa}
+ \def\Su{Do}
+ \def\leapyear{\textsc{anno di salto}}
+}{}
+%%----------------------------------
+\ifthenelse{\equal{\yplan@lang}{spanish}}{%
+ \ifthenelse{\boolean{upper}}{%
+ \def\January{ENERO}
+ \def\February{FEBRERO}
+ \def\March{MARCHA}
+ \def\April{ABRIL}
+ \def\May{MAYO}
+ \def\June{JUNIO}
+ \def\July{JULIO}
+ \def\August{AGOSTO}
+ \def\September{SEPTIEMBRE}
+ \def\October{OCTUBRE}
+ \def\November{NOVIEMBRE}
+ \def\December{DICIEMBRE}
+ }{%
+ \def\January{Enero}
+ \def\February{Febrero}
+ \def\March{Marcha}
+ \def\April{Abril}
+ \def\May{Mayo}
+ \def\June{Junio}
+ \def\July{Julio}
+ \def\August{Agosto}
+ \def\September{Septiembre}
+ \def\October{Octubre}
+ \def\November{Noviembre}
+ \def\December{Diciembre}
+ }
+ \def\Mo{Lu}
+ \def\Tu{Ma}
+ \def\We{Mi}
+ \def\Th{Ju}
+ \def\Fr{Vi}
+ \def\Sa{S\'a}
+ \def\Su{Do}
+ \def\leapyear{\textsc{A\~no bisiesto}}
+}{}
+%%----------------------------------
+\ifthenelse{\equal{\yplan@lang}{portuguese}}{%
+ \ifthenelse{\boolean{upper}}{%
+ \def\January{JANEIRO}
+ \def\February{FEVEREIRO}
+ \def\March{MAR\c{C}O}
+ \def\April{ABRIL}
+ \def\May{MAIO}
+ \def\June{JUNHO}
+ \def\July{JULHO}
+ \def\August{AGOSTO}
+ \def\September{SETEMBRO}
+ \def\October{OUTUBRO}
+ \def\November{NOVEMBRO}
+ \def\December{DEZEMBRO}
+ }{%
+ \def\January{Janeiro}
+ \def\February{Fevereiro}
+ \def\March{Mar\c{c}o}
+ \def\April{Abril}
+ \def\May{Maio}
+ \def\June{Junho}
+ \def\July{Julho}
+ \def\August{Agosto}
+ \def\September{Setembro}
+ \def\October{Outubro}
+ \def\November{Novembro}
+ \def\December{Dezembro}
+ }
+ \def\Mo{Seg}
+ \def\Tu{Ter}
+ \def\We{Qua}
+ \def\Th{Qui}
+ \def\Fr{Sex}
+ \def\Sa{S\'ab}
+ \def\Su{Dom}
+ \def\leapyear{\textsc{Ano de pulo}}
+}{}
+}
+%%----------------------------------
+\endinput
+%%----------------------------------
+%% EOF