diff options
Diffstat (limited to 'texmf-dist/doc/latex/lmacs/lmacs_aeb.def')
-rw-r--r-- | texmf-dist/doc/latex/lmacs/lmacs_aeb.def | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/texmf-dist/doc/latex/lmacs/lmacs_aeb.def b/texmf-dist/doc/latex/lmacs/lmacs_aeb.def new file mode 100644 index 00000000..1ae975fc --- /dev/null +++ b/texmf-dist/doc/latex/lmacs/lmacs_aeb.def @@ -0,0 +1,45 @@ +% +% This is the preamble content that originally appear in the source file. +% +\title{\texorpdfstring{Acro\!\TeX}{AcroTeX} eDucation Bundle + \texorpdfstring{\\[1ex]}{:}The \textsf{lmacs} Package} +\author{D. P. Story} +\subject{File to demo the lmacs package} +\keywords{LaTeX, hyperref, PDF, exercises, quizzes} +\university{% + Acro\negthinspace\TeX.Net\\ + NORTHWEST FLORIDA STATE COLLEGE\\ + Department of Mathematics} +\email{dpstory@acrotex.net} +\version{1.0} +\copyrightyears{2012} +%\nocopyright +\revisionLabel{} + +\noHeadersOnSectionPage + +\newcounter{probno}[section] +\renewcommand{\theprobno}{\thesection.\arabic{probno}} +% +% Define a problem environment with its own counter. +\newenvironment{problem}{% +\renewcommand\exlabel{Problem}% +\renewcommand\exlabelformat{\textbf{\exlabel\ \theprobno.}}% +\renewcommand\exsllabelformat + {\noexpand\textbf{\exlabel\ \theprobno.}}% +\renewcommand\exrtnlabelformat{$\blacktriangleleft$}% +\renewcommand\exsecrunhead{Solutions to Problems}% +\begin{exercise}[probno]} +{\end{exercise}} + + +% Define a example environment with no counter +\newenvironment{example}{% +\renewcommand\exlabel{Example}% +\renewcommand\exlabelformat{\textbf{\exlabel.}}% +\renewcommand\exrtnlabelformat{$\square$}% +\SolutionsAfter +\begin{exercise}[0]}% +{\end{exercise}} + +\endinput |