Skip to content
Snippets Groups Projects
Unverified Commit 91f3210a authored by Malin Freeborn's avatar Malin Freeborn
Browse files

make seasons repeatable commands

parent fd882806
Branches
Tags
No related merge requests found
......@@ -65,31 +65,36 @@
\fi%
}
\ifcase\value{season}\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{0}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{2}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{2}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{0}%
\else
\setcounter{temperature}{1}%
\fi%
\newcommand\setTemperature{
\ifcase\value{season}\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{0}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{2}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{2}%
\or%
\setcounter{temperature}{1}%
\or%
\setcounter{temperature}{0}%
\else
\setcounter{temperature}{1}%
\fi%
}
\setTemperature
\newcommand\showInterval[1]{%
\ifcase#1%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment