summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/verifica/ver-doc.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/verifica/ver-doc.sty')
-rw-r--r--Master/texmf-dist/doc/latex/verifica/ver-doc.sty30
1 files changed, 27 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/verifica/ver-doc.sty b/Master/texmf-dist/doc/latex/verifica/ver-doc.sty
index ef2cbeb3b0a..1d2f080902a 100644
--- a/Master/texmf-dist/doc/latex/verifica/ver-doc.sty
+++ b/Master/texmf-dist/doc/latex/verifica/ver-doc.sty
@@ -18,7 +18,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ver-doc}
- [2020/01/19 v1.1 Riccardo Dossena]
+ [2020/02/07 v1.2 Riccardo Dossena]
\newif\if@blacktriangleright
\newif\if@intestrighe
\newif\if@intestsemplice
@@ -307,6 +307,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%
@@ -317,8 +327,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}