diff options
| author | Sebastian Kuhnert | 2011-07-11 13:26:20 +0000 |
|---|---|---|
| committer | Sebastian Kuhnert | 2011-07-11 13:26:20 +0000 |
| commit | e1d3c6bc3862e5c6a4f93acdd7c00dc1f8fcc904 (patch) | |
| tree | 2a00b40feb5e1d4f9642df02a8159fb846af3bdd | |
| parent | 0efdd9a7a3e0c2e04b5e0d53b35b4be96236ed3e (diff) | |
| download | exercisesheets-e1d3c6bc3862e5c6a4f93acdd7c00dc1f8fcc904.tar.gz exercisesheets-e1d3c6bc3862e5c6a4f93acdd7c00dc1f8fcc904.tar.bz2 exercisesheets-e1d3c6bc3862e5c6a4f93acdd7c00dc1f8fcc904.zip | |
add support for enumitem package
| -rw-r--r-- | exercisesheets.sty | 6 | ||||
| -rw-r--r-- | exercisesheets.tex | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/exercisesheets.sty b/exercisesheets.sty index b2fb6a9..1507e4b 100644 --- a/exercisesheets.sty +++ b/exercisesheets.sty @@ -560,6 +560,12 @@ \AfterPackage*{paralist}{ \setdefaultenum{(a)}{(1)}{i.}{A.} } +\AfterPackage*{enumitem}{ + \setenumerate[1]{label=(\alph*)} + \setenumerate[2]{label=(\arabic*)} + \setenumerate[3]{label=\roman*.} + \setenumerate[4]{label=\Alph.} +} % reset equation numbering for each exercise \@addtoreset{equation}{section} diff --git a/exercisesheets.tex b/exercisesheets.tex index 2548ad6..c4fcf3d 100644 --- a/exercisesheets.tex +++ b/exercisesheets.tex @@ -74,9 +74,9 @@ finally combined into this package. \item If the \texttt{babel} package is loaded, the appropriate \option{language=\param{lang}}-option is automatically derived and can be omitted. - \item The use of \texttt{paralist} is recommended. Top level enumerating lists - are then modified to have the form (a), (b), \dots{}, which is useful in - exercise definitions. + \item The use of \texttt{enumitem} or \texttt{paralist} is recommended. Top + level enumerating lists are then modified to have the form (a), (b), \dots{}, + which is useful in exercise definitions. \item If the \texttt{varioref} package is used, appropriate label formats are installed for exercises and sub-exercises. \item If the \texttt{xcolor} package is loaded, to-do markers generated with |
