From 48382cf321ac2cde3c2bc85a2322272a51010c38 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sat, 8 Feb 2020 22:18:32 +0000 Subject: verifica (8feb20) git-svn-id: svn://tug.org/texlive/trunk@53722 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/verifica/verifica.cls | 30 ++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) (limited to 'Master/texmf-dist/tex/latex/verifica') 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} -- cgit v1.2.3