1
0
Fork 0

Added bars around requisites to make them more clear

master
Mike Gerwitz 2013-08-15 11:46:55 -04:00
parent 8ae5475f2d
commit 1d24d70855
1 changed files with 17 additions and 1 deletions

View File

@ -19,17 +19,33 @@
\newlength\taskspace \newlength\taskspace
\newlength\@@task@barwidth
\setlength\@@task@barwidth\textwidth
\addtolength\@@task@barwidth\marginparwidth
\addtolength\@@task@barwidth\marginparsep
\newenvironment{task}[1][]% \newenvironment{task}[1][]%
{% {%
\goodbreak
\setlength\taskspace{2ex}% \setlength\taskspace{2ex}%
\refstepcounter{taskc}% \refstepcounter{taskc}%
\vspace{-0.5\parskip}%
\leavevmode\llap{\rule{\marginparwidth}{2pt}}%
\rule{\textwidth}{2pt}%
\vspace{-0.5\baselineskip}%
\begin{@task}[#1]% \begin{@task}[#1]%
}% }%
{\end{@task}\ignorespaces} {%
\end{@task}%
\vspace{-0.85\baselineskip}%
\leavevmode\llap{\rule{\marginparwidth}{1pt}}%
\rule{\textwidth}{1pt}%
\ignorespaces
}
\newenvironment{subtask}[1][]% \newenvironment{subtask}[1][]%
{% {%
\goodbreak
\list{}{% \list{}{%
\leftmargin4ex \leftmargin4ex
\item\relax \item\relax