diff options
author | Karl Berry <karl@freefriends.org> | 2014-08-02 16:27:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2014-08-02 16:27:06 +0000 |
commit | b2dceb8f871748f93317b82cf51ce3365fdc5e75 (patch) | |
tree | f9e7f5b6c363e0b3ef6e0fab8f2093ab43990e91 /Master/texmf-dist/tex/latex/exsol | |
parent | 6934c3725b996c567056ee7c74ef52e1c3ca3f67 (diff) |
exsol
git-svn-id: svn://tug.org/texlive/trunk@34799 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/exsol')
-rw-r--r-- | Master/texmf-dist/tex/latex/exsol/exsol.sty | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/exsol/exsol.sty b/Master/texmf-dist/tex/latex/exsol/exsol.sty index b8980fb5ca9..94f5fc2fc12 100644 --- a/Master/texmf-dist/tex/latex/exsol/exsol.sty +++ b/Master/texmf-dist/tex/latex/exsol/exsol.sty @@ -29,6 +29,7 @@ \DeclareStringOption[normalsize]{exercisesfontsize} \DeclareBoolOption[false]{exerciseaslist} \DeclareBoolOption[false]{copyexercisesinsolutions} +\DeclareBoolOption[false]{minipage} \ProcessKeyvalOptions* \newcommand{\exercisesfontsize}{\csname \exsol@exercisesfontsize\endcsname} \AtBeginDocument{ @@ -100,7 +101,7 @@ \DefineVerbatimEnvironment{exercise}{exercise}{} \newenvironment{exsol@exercise}[0] {% - \begin{minipage}[t]{\textwidth}% + \ifthenelse{\boolean{exsol@minipage}}{\begin{minipage}[t]{\textwidth}}{}% \ifthenelse{\boolean{exsol@exerciseaslist}} {\begin{list}% {% @@ -122,7 +123,7 @@ {% \ifthenelse{\boolean{exsol@exerciseaslist}} {\end{list}}{} - \end{minipage} + \ifthenelse{\boolean{exsol@minipage}}{\end{minipage}}{} \vspace{1ex}\par } \def\solution{\FV@Environment{}{solution}} |