diff options
author | Karl Berry <karl@freefriends.org> | 2023-10-29 20:14:15 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2023-10-29 20:14:15 +0000 |
commit | 94dfe4deaedf6be8d70c484ec3868d838984cd2a (patch) | |
tree | 782ee5f034bc8036c7cbc62353f432cda0bfa8b4 /Master/texmf-dist/tex | |
parent | b5f6f53563f112462867a8d566e866fed3edfb61 (diff) |
exesheet (29oct23)
git-svn-id: svn://tug.org/texlive/trunk@68692 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r-- | Master/texmf-dist/tex/latex/exesheet/exesheet.cls | 2 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/exesheet/exesheet.sty | 30 |
2 files changed, 16 insertions, 16 deletions
diff --git a/Master/texmf-dist/tex/latex/exesheet/exesheet.cls b/Master/texmf-dist/tex/latex/exesheet/exesheet.cls index fb7dd3b76e0..bf0dbe4c03e 100644 --- a/Master/texmf-dist/tex/latex/exesheet/exesheet.cls +++ b/Master/texmf-dist/tex/latex/exesheet/exesheet.cls @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesClass{exesheet} -[2023/10/25 v2.3 .dtx exesheet file] +[2023/10/28 v2.4 .dtx exesheet file] \RequirePackage{kvoptions} \DeclareBoolOption[true]{exetoc} diff --git a/Master/texmf-dist/tex/latex/exesheet/exesheet.sty b/Master/texmf-dist/tex/latex/exesheet/exesheet.sty index fb8e941a20c..97f74e96bfc 100644 --- a/Master/texmf-dist/tex/latex/exesheet/exesheet.sty +++ b/Master/texmf-dist/tex/latex/exesheet/exesheet.sty @@ -22,7 +22,7 @@ %% \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{exesheet} -[2023/10/25 v2.3 .dtx exesheet file] +[2023/10/28 v2.4 .dtx exesheet file] \@ifclassloaded{exesheet}{}{ \RequirePackage{kvoptions} @@ -649,23 +649,23 @@ \endgroup } -\def\exe@check{ - \ifthenelse{\lengthtest{\sum@pts = 0pt}}{ +\def\exe@check{% + \ifthenelse{\lengthtest{\sum@pts = 0pt}}{% % do not check, no points or first exercise begins - \ifthenelse{\equal{\exe@currentlabel}{none}}{}{ + \ifthenelse{\equal{\exe@currentlabel}{none}}{}{% \PackageWarningNoLine{exesheet}{\exe@currentlabel: - \the\exe@total}} - }{ - \ifthenelse{\lengthtest{\exe@total = \sum@pts}}{ + \the\exe@total}}% + }{% + \ifthenelse{\lengthtest{\exe@total = \sum@pts}}{% \PackageWarningNoLine{exesheet}{\exe@currentlabel: - Sum of points \the\exe@total\space is valid} - }{ + Sum of points \the\exe@total\space is valid}% + }{% \PackageWarningNoLine{exesheet}{\exe@currentlabel: Sum of points is \the\sum@pts\space - instead of \the\exe@total} - \setboolean{scale@valid}{false} - } - } + instead of \the\exe@total}% + \setboolean{scale@valid}{false}% + }% + }% } \def\exs@process@checkpts{ @@ -737,8 +737,8 @@ \newcommand*{\points}[1]{% \ifthenelse{\boolean{exesheet@questions}}{\hfill \pointsstyle{#1~% - \ifthenelse{\lengthtest{#1pt < 2pt}}{\pointname}{\pointsname}} - \check@points{#1} + \ifthenelse{\lengthtest{#1pt < 2pt}}{\pointname}{\pointsname}}% + \check@points{#1}% }{} } |