diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/verifica/verifica.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/verifica/verifica.cls | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/verifica/verifica.cls b/Master/texmf-dist/tex/latex/verifica/verifica.cls index d01d871b45a..fa9388b2b9d 100644 --- a/Master/texmf-dist/tex/latex/verifica/verifica.cls +++ b/Master/texmf-dist/tex/latex/verifica/verifica.cls @@ -18,7 +18,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesClass{verifica} - [2020/01/19 v1.1 Riccardo Dossena] + [2020/02/07 v1.2 Riccardo Dossena] \newif\if@blacktriangleright \newif\if@intestrighe \newif\if@intestsemplice @@ -332,6 +332,16 @@ ~\mbox{#1}% \fi}]% } +\newcommand{\puntiman}[2][\@nil]{% + \hfill% + [\textsc{\@punteggio~#2% + \def\tmp{#1}% + \ifx\tmp\@nnil + \relax + \else + ~\mbox{#1}% + \fi}]% +} \newcommand{\punti@dx}[2][\@nil]{% \hfill\vphantom{,}\nolinebreak[1]\null~\hfill% [\textsc{#2~\@punteggio% @@ -342,8 +352,22 @@ ~\mbox{#1}% \fi}]% } -\def\puntiadestra{\renewcommand{\punti}{\punti@dx}} -\def\puntipt{\renewcommand{\@punteggio}{Pt.}} +\newcommand{\puntiman@dx}[2][\@nil]{% + \hfill% + [\textsc{#2~\@punteggio% + \def\tmp{#1}% + \ifx\tmp\@nnil + \relax + \else + ~\mbox{#1}% + \fi}]% +} +\def\puntiadestra{% + \renewcommand{\punti}{\punti@dx} + \renewcommand{\puntiman}{\puntiman@dx} +} +\def\puntipt{% + \renewcommand{\@punteggio}{Pt.}} \newcommand{\totpunti}[1][/10 + 1]{% \vfill \begin{flushright} |