summaryrefslogtreecommitdiff
path: root/texmf-dist/doc/latex/lmacs/lmacs_aeb.def
blob: 1ae975fcd815f310dbf231d69d7e7ebf0b8b1913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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