diff options
author | Karl Berry <karl@freefriends.org> | 2020-02-08 22:18:32 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-02-08 22:18:32 +0000 |
commit | 48382cf321ac2cde3c2bc85a2322272a51010c38 (patch) | |
tree | 2181fa9a2fb2f260c310d7d1c7c2105f414fa0b1 /Master/texmf-dist/tex/latex/verifica | |
parent | 1e577f4d47b9f2960d200a56482fe5e121a7cbce (diff) |
verifica (8feb20)
git-svn-id: svn://tug.org/texlive/trunk@53722 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/verifica')
-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} |