mirror of
https://git.adityakumar.xyz/fphw.git
synced 2024-11-09 14:59:45 +00:00
added environment to write the problem(s) addressed in this homework
This commit is contained in:
parent
6594f39c4d
commit
d24103e361
2 changed files with 11 additions and 1 deletions
6
fphw.cls
6
fphw.cls
|
@ -115,5 +115,11 @@
|
||||||
\end{center}
|
\end{center}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
% definition of the "problem" environment
|
||||||
|
\newsavebox{\problembox}
|
||||||
|
\newenvironment{problem}
|
||||||
|
{\begin{center} \begin{lrbox}{\problembox}\begin{minipage}{.9\textwidth}}
|
||||||
|
{\end{minipage}\end{lrbox}\fbox{\usebox{\problembox}} \end{center} }
|
||||||
|
|
||||||
%%% We finish the class with this command
|
%%% We finish the class with this command
|
||||||
\endinput
|
\endinput
|
||||||
|
|
|
@ -25,6 +25,10 @@
|
||||||
|
|
||||||
\maketitle % Put all that nicely
|
\maketitle % Put all that nicely
|
||||||
|
|
||||||
\lipsum[1-15] % My homework
|
\begin{problem}
|
||||||
|
\lipsum[1]
|
||||||
|
\end{problem}
|
||||||
|
|
||||||
|
\lipsum[2-15] % My homework
|
||||||
|
|
||||||
\end{document}
|
\end{document}
|
||||||
|
|
Loading…
Reference in a new issue