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

remove old \random command

parent 306de296
Branches
Tags
No related merge requests found
......@@ -820,25 +820,6 @@ Roll & Result \\
\fi
}
\newcounter{random}
\setcounter{random}{1}
\newcounter{increment}
\setcounter{increment}{1}
\newcommand{\random}{
\addtocounter{random}{\value{page}}
\multiply\value{random} by \value{chapter}\addtocounter{random}{\value{increment}}
\whileboolexpr{
test {\ifnumcomp{\value{random}}{>}{100}}
}
{\addtocounter{random}{-100}}
\whileboolexpr{
test {\ifnumcomp{\value{random}}{>}{10}}
}
{\addtocounter{random}{-10}}
\addtocounter{increment}{1}
}
\newcommand{\randomtwo}{%
\ifnumcomp{\value{r2}}{>}{1}{\setcounter{r2}{1}}{\addtocounter{r2}{1}}%
\setcounter{enc}{\value{r2}}%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment