mirror of
https://github.com/cupcakearmy/master-thesis.git
synced 2026-04-02 11:55:30 +00:00
Clear History
This commit is contained in:
20
thesis/src/lib/requirements.sty
Normal file
20
thesis/src/lib/requirements.sty
Normal file
@@ -0,0 +1,20 @@
|
||||
% Copied from: https://ghost.tweakblogs.net/blog/720/requirement-list-in-latex.html
|
||||
|
||||
\newcommand{\reqitem}[1]{
|
||||
$R_{#1}$
|
||||
}
|
||||
|
||||
\newcommand{\reqinit}{
|
||||
\newcounter{reqcountbackup}
|
||||
\newcounter{reqcount}
|
||||
\renewcommand{\thereqcount}{\reqitem{\arabic{reqcount}}}
|
||||
}
|
||||
|
||||
\newcommand{\reqlist}[1]{
|
||||
\begin{list}{\thereqcount}{\usecounter{reqcount}}
|
||||
\setcounter{reqcount}{\value{reqcountbackup}}
|
||||
#1
|
||||
\setcounter{reqcountbackup}{\value{reqcount}}
|
||||
\end{list}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user