From 9acf8a63de4f4a7af7251277b5ead0636ad4f796 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 2 Jan 2020 22:13:35 +0000 Subject: verifica (2jan20) git-svn-id: svn://tug.org/texlive/trunk@53306 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/verifica/README | 84 ++++++ Master/texmf-dist/doc/latex/verifica/example1.pdf | Bin 0 -> 154728 bytes Master/texmf-dist/doc/latex/verifica/example1.tex | 106 +++++++ Master/texmf-dist/doc/latex/verifica/example2.pdf | Bin 0 -> 104460 bytes Master/texmf-dist/doc/latex/verifica/example2.tex | 105 +++++++ Master/texmf-dist/doc/latex/verifica/example3.pdf | Bin 0 -> 82544 bytes Master/texmf-dist/doc/latex/verifica/example3.tex | 89 ++++++ Master/texmf-dist/doc/latex/verifica/example4.pdf | Bin 0 -> 125337 bytes Master/texmf-dist/doc/latex/verifica/example4.tex | 97 +++++++ Master/texmf-dist/doc/latex/verifica/example5.pdf | Bin 0 -> 86408 bytes Master/texmf-dist/doc/latex/verifica/example5.tex | 96 +++++++ Master/texmf-dist/doc/latex/verifica/ver-doc.sty | 320 +++++++++++++++++++++ .../doc/latex/verifica/verifica-template.tex | 29 ++ Master/texmf-dist/doc/latex/verifica/verifica.pdf | Bin 0 -> 830306 bytes 14 files changed, 926 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/verifica/README create mode 100644 Master/texmf-dist/doc/latex/verifica/example1.pdf create mode 100644 Master/texmf-dist/doc/latex/verifica/example1.tex create mode 100644 Master/texmf-dist/doc/latex/verifica/example2.pdf create mode 100644 Master/texmf-dist/doc/latex/verifica/example2.tex create mode 100644 Master/texmf-dist/doc/latex/verifica/example3.pdf create mode 100644 Master/texmf-dist/doc/latex/verifica/example3.tex create mode 100644 Master/texmf-dist/doc/latex/verifica/example4.pdf create mode 100644 Master/texmf-dist/doc/latex/verifica/example4.tex create mode 100644 Master/texmf-dist/doc/latex/verifica/example5.pdf create mode 100644 Master/texmf-dist/doc/latex/verifica/example5.tex create mode 100644 Master/texmf-dist/doc/latex/verifica/ver-doc.sty create mode 100644 Master/texmf-dist/doc/latex/verifica/verifica-template.tex create mode 100644 Master/texmf-dist/doc/latex/verifica/verifica.pdf (limited to 'Master/texmf-dist/doc/latex/verifica') diff --git a/Master/texmf-dist/doc/latex/verifica/README b/Master/texmf-dist/doc/latex/verifica/README new file mode 100644 index 00000000000..08a900cd507 --- /dev/null +++ b/Master/texmf-dist/doc/latex/verifica/README @@ -0,0 +1,84 @@ +The verifica document class v1.0 2020/01/02 +--------------------------------------------------------------------- +Riccardo Dossena Email: riccardo.dossena@gmail.com +--------------------------------------------------------------------- +copyright 2020 by Riccardo Dossena + +This LaTeX document class is intended for teachers who must write +out the text of a test or an exam. It provides various environments +and commands to produce the typical exercises contained in this +type of document. It is mainly intended for Italian high school +teachers, as the style is probably more in line with Italian high +school tests. For this reason the documentation is mainly written +in Italian. + +This work may be distributed and/or modified under the conditions +of the LaTeX Project Public License, either version 1.3 of this +license or (at your option) any later version. The latest version +of this license is in + http://www.latex-project.org/lppl.txt +and version 1.3 or later is part of all distributions of LaTeX +version 2005/12/01 or later. + +This work has the LPPL maintenance status "maintained". + +The Current Maintainer of this work is Riccardo Dossena. + +This work consists of the files: + + README (this file) + verifica.dtx + verifica.ins + verifica.pdf + example1.tex + example1.pdf + example2.tex + example2.pdf + example3.tex + example3.pdf + example4.tex + example4.pdf + example5.tex + example5.pdf + verifica-template.tex + +and the derived files: + + verifica.cls + ver-doc.sty + +"ver-doc.sty" is meant only for the documentation of the verifica +document class. Support will not be guaranteed. + +To install the distribution: + +- run "latex verifica.ins" +- move "verifica.cls" to locations where LaTeX can find it + (see the TeX FAQ at https://texfaq.org/FAQ-inst-wlcf) +- you can test the document class by running + "pdflatex example1.tex" ... + "latex example1.tex" ... + "xelatex example1.tex" ... + (compile each of the five examples) + +To reproduce the complete documentation, run + +pdflatex verifica.dtx +makeindex -s gind verifica +pdflatex verifica.dtx +pdflatex verifica.dtx + +Additional Packages +------------------- +The verifica document class loads the following packages: +enumitem, graphicx, mathtools, amssymb, geometry, nccmath, multido, +setspace, multicol, gensymb, newunicodechar, textcomp, eurosym, +tabto, tabularx, lineno, bm, cmbright. +If the option "14pt" is set, it loads the extarticle class document. + +2020/01/02 +Riccardo Dossena +--------------------------------------------------------------------- +If you have any ideas, questions, suggestions, feedback or bugs to +report, please feel free to contact me. +--------------------------------------------------------------------- diff --git a/Master/texmf-dist/doc/latex/verifica/example1.pdf b/Master/texmf-dist/doc/latex/verifica/example1.pdf new file mode 100644 index 00000000000..245dd6aa599 Binary files /dev/null and b/Master/texmf-dist/doc/latex/verifica/example1.pdf differ diff --git a/Master/texmf-dist/doc/latex/verifica/example1.tex b/Master/texmf-dist/doc/latex/verifica/example1.tex new file mode 100644 index 00000000000..80e663c67b4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/verifica/example1.tex @@ -0,0 +1,106 @@ +\documentclass{verifica} + +\usepackage[utf8]{inputenc} +\usepackage[italian]{babel} +\usepackage[T1]{fontenc} +\usepackage{lmodern} + +\begin{document} + +\tipologia{prova orale} +\disciplina{matematica} +\istituto{Liceo ``G. Novello'' -- Codogno} +\classe{5\tsa B} +\data{11 novembre 2019} +\tempo{60 minuti} + +\intestazione + +\begin{esercizi} + +\item La soluzione dell'equazione $x+1=0$ è: +\begin{test-orizz} + \item $1$; + \item $-1$; + \item $0$; + \item $+\infty$. +\end{test-orizz} +\punti{5} + +\item Quale fra le seguenti è la derivata di $3x^2$? \punti{5} +\begin{test-orizz-newline} +\item $3x$; +\item $3$; +\item $3x^2$; +\item $6x$. +\end{test-orizz-newline} + +\medskip + +{\setlength\columnsep{2.5cm} % lo spazio tra le colonne si può modificare +\begin{multicols}{2} +\item Indicate con $p$ e $q$ due generiche proposizioni, quattro delle + seguenti affermazioni sono tra loro logicamente equivalenti, mentre + una non lo è con le altre. Quale? +\begin{test} +\item $p$ implica $q$ +\item $q$ è condizione necessaria per $p$ +\item $p$ segue dal verificarsi di $q$ +\item $p$ solo se $q$ +\item $p$ è condizione sufficiente per~$q$\\ \punti{5} +\end{test} + +\columnbreak + +\item Quale delle seguenti frasi è equivalente a + +\emph{non è vero che Mario studia e ascolta la radio} + +\begin{test} +\item Mario studia e ascolta la radio +\item Mario studia o ascolta la radio +\item Mario non studia né ascolta la radio +\item Mario non studia o non ascolta la radio \punti{5} +\end{test} + +\end{multicols}} + +\item Vero o falso? \punti[per ognuna]{2} + +{\setlength\columnsep{1.3cm} % lo spazio tra le colonne si può modificare +\begin{multicols}{3} +\begin{enumerate}[a)] + \item $1+1=2$ \vf + \item $3+0=0$ \vf + \item $3\times 3=9$ \vf + \item $0:3=1$ \vf + \item $\lim_{x\to 2}x^2=4$ \vf + \item $\sum_{n=0}^{1}n^2=1$ \vf +\end{enumerate} +\end{multicols}} + +\item Enuncia il teorema di Weierstrass. \punti{8} + +\riga{2} + +\item \emph{Completa.} \doublespacing In un triangolo \dotword{rettangolo} + il quadrato costruito sull' \dotword{ipotenusa} è uguale alla + \dotword{somma} dei \dotword{quadrati} costruiti sui + \dotword{cateti}. \punti{20} \par\singlespacing + +\item Stabilisci se le seguenti affermazioni sono vere o + false. \punti[per ognuna]{10} + +\begin{enumerate}[a)] + \item \verofalso[.8]{Il coefficiente angolare di una retta si deve + \emph{sempre} indicare con la lettera $m$ e l'ordinata all'origine + \emph{sempre} con la lettera $q$.} + \item \verofalso[.8]{Se una funzione derivabile in un intervallo ha + derivata positiva, allora la funzione è crescente in tale intervallo.} +\end{enumerate} + +\end{esercizi} + +\totpunti[/10+2] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/verifica/example2.pdf b/Master/texmf-dist/doc/latex/verifica/example2.pdf new file mode 100644 index 00000000000..96b31f56cbc Binary files /dev/null and b/Master/texmf-dist/doc/latex/verifica/example2.pdf differ diff --git a/Master/texmf-dist/doc/latex/verifica/example2.tex b/Master/texmf-dist/doc/latex/verifica/example2.tex new file mode 100644 index 00000000000..4cad4f3de23 --- /dev/null +++ b/Master/texmf-dist/doc/latex/verifica/example2.tex @@ -0,0 +1,105 @@ +\documentclass[senzagrazie]{verifica} + +\usepackage[utf8]{inputenc} +\usepackage[italian]{babel} +\usepackage[T1]{fontenc} + +\begin{document} + +\tipologia{prova orale} +\disciplina{matematica} +\istituto{Liceo ``G. Novello'' -- Codogno} +\classe{5\tsa B} +\data{11 novembre 2019} +\tempo{60 minuti} + +\intestazione + +\begin{esercizi} + +\item La soluzione dell'equazione $x+1=0$ è: +\begin{test-orizz} + \item $1$; + \item $-1$; + \item $0$; + \item $+\infty$. +\end{test-orizz} +\punti{5} + +\item Quale fra le seguenti è la derivata di $3x^2$? \punti{5} +\begin{test-orizz-newline} +\item $3x$; +\item $3$; +\item $3x^2$; +\item $6x$. +\end{test-orizz-newline} + +\medskip + +{\setlength\columnsep{2.5cm} % lo spazio tra le colonne si può modificare +\begin{multicols}{2} +\item Indicate con $p$ e $q$ due generiche proposizioni, quattro delle + seguenti affermazioni sono tra loro logicamente equivalenti, mentre + una non lo è con le altre. Quale? +\begin{test} +\item $p$ implica $q$ +\item $q$ è condizione necessaria per $p$ +\item $p$ segue dal verificarsi di $q$ +\item $p$ solo se $q$ +\item $p$ è condizione sufficiente per~$q$\\ \punti{5} +\end{test} + +\columnbreak + +\item Quale delle seguenti frasi è equivalente a + +\emph{non è vero che Mario studia e ascolta la radio} + +\begin{test} +\item Mario studia e ascolta la radio +\item Mario studia o ascolta la radio +\item Mario non studia né ascolta la radio +\item Mario non studia o non ascolta la radio \punti{5} +\end{test} + +\end{multicols}} + +\item Vero o falso? \punti[per ognuna]{2} + +{\setlength\columnsep{1.3cm} % lo spazio tra le colonne si può modificare +\begin{multicols}{3} +\begin{enumerate}[a)] + \item $1+1=2$ \vf + \item $3+0=0$ \vf + \item $3\times 3=9$ \vf + \item $0:3=1$ \vf + \item $\lim_{x\to 2}x^2=4$ \vf + \item $\sum_{n=0}^{1}n^2=1$ \vf +\end{enumerate} +\end{multicols}} + +\item Enuncia il teorema di Weierstrass. \punti{8} + +\riga{2} + +\item \emph{Completa.} \doublespacing In un triangolo \dotword{rettangolo} + il quadrato costruito sull' \dotword{ipotenusa} è uguale alla + \dotword{somma} dei \dotword{quadrati} costruiti sui + \dotword{cateti}. \punti{20} \par\singlespacing + +\item Stabilisci se le seguenti affermazioni sono vere o + false. \punti[per ognuna]{10} + +\begin{enumerate}[a)] + \item \verofalso[.8]{Il coefficiente angolare di una retta si deve + \emph{sempre} indicare con la lettera $m$ e l'ordinata all'origine + \emph{sempre} con la lettera $q$.} + \item \verofalso[.8]{Se una funzione derivabile in un intervallo ha + derivata positiva, allora la funzione è crescente in tale intervallo.} +\end{enumerate} + +\end{esercizi} + +\totpunti[/10+2] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/verifica/example3.pdf b/Master/texmf-dist/doc/latex/verifica/example3.pdf new file mode 100644 index 00000000000..18e6637d2d5 Binary files /dev/null and b/Master/texmf-dist/doc/latex/verifica/example3.pdf differ diff --git a/Master/texmf-dist/doc/latex/verifica/example3.tex b/Master/texmf-dist/doc/latex/verifica/example3.tex new file mode 100644 index 00000000000..6486db20439 --- /dev/null +++ b/Master/texmf-dist/doc/latex/verifica/example3.tex @@ -0,0 +1,89 @@ +\documentclass[senzagrazie,14pt]{verifica} + +\usepackage[utf8]{inputenc} +\usepackage[italian]{babel} +\usepackage[T1]{fontenc} + +\begin{document} + +\tipologia{prova orale} +\disciplina{matematica} +\istituto{Liceo ``G. Novello'' -- Codogno} +\classe{5\tsa B} +\data{11 novembre 2019} +\tempo{60 minuti} + +\intestazione + +\begin{esercizi}[itemsep=1.5em] + +\item La soluzione dell'equazione $x+1=0$ è: +\begin{test-orizz} + \item $1$; + \item $-1$; + \item $0$; + \item $+\infty$. +\end{test-orizz} +\punti{10} + +\item Quale fra le seguenti è la derivata di $3x^2$? \punti{10} +\begin{test-orizz-newline} +\item $3x$; +\item $3$; +\item $3x^2$; +\item $6x$. +\end{test-orizz-newline} + +\bigskip + +{\setlength\columnsep{2.5cm} % lo spazio tra le colonne si può modificare +\begin{multicols}{2} +\item Indicate con $p$ e $q$ due generiche proposizioni, quattro delle + seguenti affermazioni sono tra loro logicamente equivalenti, mentre + una non lo è con le altre. Quale? +\begin{test} +\item $p$ implica $q$ +\item $q$ è condizione necessaria per $p$ +\item $p$ segue dal verificarsi di $q$ +\item $p$ solo se $q$ +\item $p$ è condizione sufficiente per~$q$ \punti{10} +\end{test} + +\columnbreak + +\item Quale delle seguenti frasi è equivalente a + +\emph{non è vero che Mario studia e ascolta la radio} + +\begin{test} +\item Mario studia e ascolta la radio +\item Mario studia o ascolta la radio +\item Mario non studia né ascolta la radio +\item Mario non studia o non ascolta la radio\\ \punti{10} +\end{test} + +\end{multicols}} + +\item Vero o falso? \punti[per ognuna]{5} + +{\setlength\columnsep{1.3cm} % lo spazio tra le colonne si può modificare +\begin{multicols}{2} +\begin{enumerate}[a),wide=0pt] + \item $1+1=2$ \vf + \item $3+0=0$ \vf + \item $3\times 3=9$ \vf + \item $0:3=1$ \vf + \item $\lim_{x\to 2}x^2=4$ \vf + \item $\sum_{n=0}^{1}n^2=1$ \vf +\end{enumerate} +\end{multicols}} + +\item Enuncia il teorema di Weierstrass. \punti{10} + +\riga{2} + +\end{esercizi} + +\totpunti[/10+2] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/verifica/example4.pdf b/Master/texmf-dist/doc/latex/verifica/example4.pdf new file mode 100644 index 00000000000..4e43feb98f3 Binary files /dev/null and b/Master/texmf-dist/doc/latex/verifica/example4.pdf differ diff --git a/Master/texmf-dist/doc/latex/verifica/example4.tex b/Master/texmf-dist/doc/latex/verifica/example4.tex new file mode 100644 index 00000000000..74fed68e564 --- /dev/null +++ b/Master/texmf-dist/doc/latex/verifica/example4.tex @@ -0,0 +1,97 @@ +\documentclass{verifica} + +\usepackage[utf8]{inputenc} +\usepackage[english,italian]{babel} +\usepackage[T1]{fontenc} +\usepackage{lmodern} +\usepackage{tasks} + +\begin{document} + +\tipologia{verifica} +\disciplina{matematica e fisica} +\istituto{Liceo ``G. Novello'' -- Codogno} +\classe{4\tsa C} +\data{10 ottobre 2019} +\tempo{55 minuti} + +\intestazionerighe + +\begin{esercizi} + +\item Data l'ellisse +\[ + 9x^2+y^2+36x-4y+4=0 +\] +calcola il suo centro, i valori dei semiassi, i fuochi e l'eccentricità. + +\item Un aereo di linea ha una potenza sonora di circa + $4,8\times 10^4\unit{W}$. Un operatore aeroportuale si trova + a $25\unit{m}$ di distanza. +\begin{itemize} + \item Calcola l'intensità e il livello sonoro percepiti dall'operatore. + \item Calcola l'intensità e il livello sonoro a $1,5\times 10^3\unit{m}$ + di distanza. +\end{itemize} + +\item Data l'equazione +\[ + \frac{x^2}{25}+\frac{y^2}{12-k}=1 +\] +determina per quale valore di $k$ essa rappresenta +\begin{enumerate}[a)] + \item un'ellisse; + \item un'ellisse coi fuochi sull'asse $x$; + \item un'ellisse coi fuochi sull'asse $y$; + \item un'ellisse passante per il punto $(-2, 1)$; + \item un'ellisse passante per il punto $(5\sqrt{2},-1)$. +\end{enumerate} + +\item Risolvi le seguenti equazioni e disequazioni. +\begin{tasks}[after-item-skip=2em,column-sep=2em,item-indent=2em](2) + \task $\dss{2\cos^2 x +3\sin^2 x=\frac{5}{2}\sin 2x}$ + \task $\dss{\frac{1 -\cos 2x}{\sqrt{3}\sin x}=\frac{\tan x}{2\cos x}}$ + \task $\dss{2\sin^2 x +3\cos x -2 \le 0}$ + \task $\dss{3\sin^2 x -2\sqrt{3}\sin x\cos x > 3\cos^2 x}$ +\end{tasks} + +\item \begin{otherlanguage}{english} +True or false? +\begin{enumerate}[a)] + \item The speed of light in vacuum is approximately + $3.0\times 10^8\unitx{m/s}$. \vf + \item \verofalso{The gravitational acceleration of an object in + vacuum, near the surface of the Earth, is denoted by $g$ + and is approximately $9.8\unitx{m/s^2}$. At different + points, $g$ changes depending on altitude and latitude.} +\end{enumerate} +\end{otherlanguage} + +\end{esercizi} + +\vfill + +% tabella per l'attribuzione dei singoli punteggi +% consultare la documentazione del pacchetto tabularx +\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} +\begin{flushright} +{\renewcommand{\arraystretch}{1.2} +\begin{tabularx}{\textwidth}{|X|*{12}{P{.75cm}|}} +\hline +\textbf{Esercizio} & \textbf{1} & \textbf{2} & \multicolumn{5}{c|}{\textbf{3}} + & \multicolumn{4}{c|}{\textbf{4}} + & \textbf{5} \\ +\cline{4-12} + & & & a & b & c & d & e & a & b & c & d & \\ +\hline +\hline +Punteggio & 9 & 9 & 6 & 6 & 6 & 6 & 6 & 10 & 10 & 12 & 12 & 4 \\ +\hline +Totalizzato & & & & & & & & & & & &\\ +\hline +\end{tabularx}} +\end{flushright} + +\vartotpunti[/12+2] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/verifica/example5.pdf b/Master/texmf-dist/doc/latex/verifica/example5.pdf new file mode 100644 index 00000000000..4c0c29ef0ac Binary files /dev/null and b/Master/texmf-dist/doc/latex/verifica/example5.pdf differ diff --git a/Master/texmf-dist/doc/latex/verifica/example5.tex b/Master/texmf-dist/doc/latex/verifica/example5.tex new file mode 100644 index 00000000000..be9f3e0700b --- /dev/null +++ b/Master/texmf-dist/doc/latex/verifica/example5.tex @@ -0,0 +1,96 @@ +\documentclass[senzagrazie]{verifica} + +\usepackage[utf8]{inputenc} +\usepackage[english,italian]{babel} +\usepackage[T1]{fontenc} +\usepackage{tasks} + +\begin{document} + +\tipologia{verifica} +\disciplina{matematica e fisica} +\istituto{Liceo ``G. Novello'' -- Codogno} +\classe{4\tsa C} +\data{10 ottobre 2019} +\tempo{55 minuti} + +\intestazionerighe + +\begin{esercizi} + +\item Data l'ellisse +\[ + 9x^2+y^2+36x-4y+4=0 +\] +calcola il suo centro, i valori dei semiassi, i fuochi e l'eccentricità. + +\item Un aereo di linea ha una potenza sonora di circa + $4,8\times 10^4\unit{W}$. Un operatore aeroportuale si trova + a $25\unit{m}$ di distanza. +\begin{itemize} + \item Calcola l'intensità e il livello sonoro percepiti dall'operatore. + \item Calcola l'intensità e il livello sonoro a $1,5\times 10^3\unit{m}$ + di distanza. +\end{itemize} + +\item Data l'equazione +\[ + \frac{x^2}{25}+\frac{y^2}{12-k}=1 +\] +determina per quale valore di $k$ essa rappresenta +\begin{enumerate}[a)] + \item un'ellisse; + \item un'ellisse coi fuochi sull'asse $x$; + \item un'ellisse coi fuochi sull'asse $y$; + \item un'ellisse passante per il punto $(-2, 1)$; + \item un'ellisse passante per il punto $(5\sqrt{2},-1)$. +\end{enumerate} + +\item Risolvi le seguenti equazioni e disequazioni. +\begin{tasks}[after-item-skip=2em,column-sep=2em,item-indent=2em](2) + \task $\dss{2\cos^2 x +3\sin^2 x=\frac{5}{2}\sin 2x}$ + \task $\dss{\frac{1 -\cos 2x}{\sqrt{3}\sin x}=\frac{\tan x}{2\cos x}}$ + \task $\dss{2\sin^2 x +3\cos x -2 \le 0}$ + \task $\dss{3\sin^2 x -2\sqrt{3}\sin x\cos x > 3\cos^2 x}$ +\end{tasks} + +\item \begin{otherlanguage}{english} +True or false? +\begin{enumerate}[a)] + \item The speed of light in vacuum is approximately + $3.0\times 10^8\unitx{m/s}$. \vf + \item \verofalso{The gravitational acceleration of an object in + vacuum, near the surface of the Earth, is denoted by $g$ + and is approximately $9.8\unitx{m/s^2}$. At different + points, $g$ changes depending on altitude and latitude.} +\end{enumerate} +\end{otherlanguage} + +\end{esercizi} + +\vfill + +% tabella per l'attribuzione dei singoli punteggi +% consultare la documentazione del pacchetto tabularx +\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}} +\begin{flushright} +{\renewcommand{\arraystretch}{1.2} +\begin{tabularx}{\textwidth}{|X|*{12}{P{.75cm}|}} +\hline +\textbf{Esercizio} & \textbf{1} & \textbf{2} & \multicolumn{5}{c|}{\textbf{3}} + & \multicolumn{4}{c|}{\textbf{4}} + & \textbf{5} \\ +\cline{4-12} + & & & a & b & c & d & e & a & b & c & d & \\ +\hline +\hline +Punteggio & 9 & 9 & 6 & 6 & 6 & 6 & 6 & 10 & 10 & 12 & 12 & 4 \\ +\hline +Totalizzato & & & & & & & & & & & &\\ +\hline +\end{tabularx}} +\end{flushright} + +\vartotpunti[/12+2] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/verifica/ver-doc.sty b/Master/texmf-dist/doc/latex/verifica/ver-doc.sty new file mode 100644 index 00000000000..e793d8abc62 --- /dev/null +++ b/Master/texmf-dist/doc/latex/verifica/ver-doc.sty @@ -0,0 +1,320 @@ +%% +%% This is file `ver-doc.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% verifica.dtx (with options: `package') +%% +%% Copyright 2020 Riccardo Dossena +%% +%% This program is provided under the terms of the +%% LaTeX Project Public License distributed from CTAN +%% archives in directory macros/latex/base/lppl.txt. +%% +%% Author: Riccardo Dossena +%% +%% This work has the LPPL maintenance status `maintained'. +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{ver-doc} + [2020/01/02 v1.0 Riccardo Dossena] +\newif\if@blacktriangleright +\newif\if@intestrighe +\newif\if@intestsemplice +\newif\if@extrasize +\newif\if@senzagrazie +%% ------------------------------------------------------------------------------ +%% Questo file .sty è destinato esclusivamente alla documentazione della +%% classe `verifica'. Il supporto non verrà garantito. +%% +%% This .sty file is meant only for the documentation of the `verifica' class. +%% Support will not be guaranteed. +%% ------------------------------------------------------------------------------ +\RequirePackage[shortlabels,inline]{enumitem} +\RequirePackage{graphicx} +\RequirePackage{mathtools} +\RequirePackage{amssymb} +\RequirePackage{geometry} +\RequirePackage{nccmath} +\RequirePackage{multido} +\RequirePackage{setspace} +\RequirePackage{multicol} +\RequirePackage{gensymb} +\RequirePackage{newunicodechar} +\RequirePackage{textcomp} +\RequirePackage{eurosym} +\RequirePackage{tabto} +\RequirePackage{tabularx} +\RequirePackage[running]{lineno} +\AtBeginDocument{% +\@ifpackagewith{babel}{italian}{% + \setISOcompliance + \IntelligentComma +\relax}{} +\@ifpackageloaded{cmbright}{% + \SetSymbolFont{operators}{bold}{OT1}{cmbr}{b}{n} +\relax}{} +\RequirePackage{bm} +\let\@tempvarphi\phi +\let\@tempvartheta\theta +\renewcommand{\phi}{\varphi} +\renewcommand{\theta}{\vartheta} +\newcommand{\restorephi}{\renewcommand{\phi}{\@tempvarphi}} +\newcommand{\restoretheta}{\renewcommand{\theta}{\@tempvartheta}} +} +\DeclarePairedDelimiter\abs{\lvert}{\rvert} +\def\@tipologia{verifica} + \newcommand{\tipologia}[1]{\def\@tipologia{#1}} +\def\@disciplina{matematica} + \newcommand{\disciplina}[1]{\def\@disciplina{#1}} +\def\@istituto{Liceo ``G. Novello'' -- Codogno} + \newcommand{\istituto}[1]{\def\@istituto{#1}} +\def\@data{\today} + \newcommand{\data}[1]{\def\@data{#1}} +\let\@classe\undefined + \newcommand{\classe}[1]{\def\@classe{Classe~#1}} +\let\@tempo\undefined + \newcommand{\tempo}[1]{\def\@tempo{#1}} +\newlength{\@prima} +\newlength{\@seconda} +\def\intestazionedefault{% + \def\@tabellauno{% + \begin{tabular}{|c|} + \hline \\[-.2cm] + \textbf{\MakeUppercase{\@tipologia} DI \MakeUppercase{\@disciplina}}\\[.2cm] + \textbf{\@istituto}\\[.2cm] + \textbf{\@data}\\[.2cm] + \hline + \end{tabular}} + \setlength{\@prima}{\widthof{\@tabellauno}} + \setlength{\@seconda}{\textwidth-\@prima-.7cm} + \ifdefined\@classe + \def\@@classe{\@classe} + \else + \def\@@classe{} + \fi + \def\@tabelladue{% + \begin{tabular}{|p{\@seconda}|} + \hline \\[-.2cm] + Cognome e nome \\[.2cm] + \\[.2cm] + \@@classe \\[.2cm] + \hline + \end{tabular}} + \ifdefined\@tempo + \def\tempo@ad{\begin{center}% + \textit{Tempo a disposizione: \@tempo}\end{center}} + \else + \def\tempo@ad{\vspace{.5cm}} + \fi +\noindent\@tabellauno\hfill\@tabelladue\tempo@ad} +\def\intestazionerighe{% +\ifdefined\@classe + \def\@@classe{\@classe} +\else + \def\@@classe{} +\fi +\ifdefined\@tempo + \def\tempo@ad{{\centering% + \textit{Tempo a disposizione: \@tempo}\par}\vspace{.5em}} +\else + \def\tempo@ad{\vspace{.1em}} +\fi +\null\vspace{-1cm} +\noindent\hrulefill \\ +\noindent\makebox[.3\linewidth][l]{\small\@istituto} \hfill% +\makebox[.3\linewidth]{\@@classe} \hfill% +\makebox[.3\linewidth][r]{\small\@data}% +\begin{center} + \textbf{\MakeUppercase{\@tipologia} DI \MakeUppercase{\@disciplina}}\\[-.5em] + \hrulefill +\end{center} +\tempo@ad} +\def\intestazionesemplice{% +\ifdefined\@classe + \def\@@classe{\@classe} +\else + \def\@@classe{} +\fi +\ifdefined\@tempo + \def\tempo@ad{{\centering% + \textit{Tempo a disposizione: \@tempo}\par}\vspace{.5em}} +\else + \def\tempo@ad{\vspace{.1em}} +\fi +\noindent\makebox[.3\linewidth][l]{\small\@istituto} \hfill% +\makebox[.3\linewidth]{\@@classe} \hfill% +\makebox[.3\linewidth][r]{\small\@data}% +\begin{center} + \textbf{\MakeUppercase{\@tipologia} DI \MakeUppercase{\@disciplina}}\\[-.5em] +\end{center} +\tempo@ad} +\newunicodechar{°}{\ensuremath{^\circ}} +\newcommand{\tsa}{\textsuperscript{a}\,} +\newcommand{\tso}{\textsuperscript{o}\,} +\newcommand{\eps}{\varepsilon} +\newcommand{\del}{\delta} +\newcommand{\Del}{\Delta} +\newcommand{\R}{\mathbb{R}} +\newcommand{\Q}{\mathbb{Q}} +\newcommand{\Z}{\mathbb{Z}} +\newcommand{\N}{\mathbb{N}} +\newcommand{\dss}[1]{\displaystyle{#1}} +\DeclareFontFamily{U}{tipa}{} +\DeclareFontShape{U}{tipa}{m}{n}{<->tipa10}{} +\newcommand{\arc@char}{{\usefont{U}{tipa}{m}{n}\symbol{62}}} +\newcommand{\arc}[1]{\mathpalette\arc@arc{#1}} +\newcommand{\arc@arc}[2]{% + \sbox0{$\m@th#1#2$}% + \vbox{% + \hbox{\resizebox{\wd0}{\height}{\arc@char}} + \nointerlineskip + \box0 + } +} +\DeclareFontFamily{OMX}{yhex}{} +\DeclareFontShape{OMX}{yhex}{m}{n}{<->yhcmex10}{} +\DeclareSymbolFont{yhlargesymbols}{OMX}{yhex}{m}{n} +\DeclareMathAccent{\vararc}{\mathord}{yhlargesymbols}{"F3} +\newcommand\ddfrac[2]{\frac{\,\displaystyle #1\,}{\,\displaystyle #2\,}} +\newcommand\numfrac[2]{\frac{#1}{#2\mathstrut}} +\newcommand\denfrac[2]{\frac{\mathstrut#1}{#2}} +\newcommand{\unitx}[1]{\ensuremath{\,\mathrm{#1}}} +\if@blacktriangleright + \def\labelitemi{\small $\blacktriangleright$} +\fi +\if@senzagrazie + \def\@labelstyle{\textup} +\else + \def\@labelstyle{\textit} +\fi +\newcommand{\labelbox}[1]{\fbox{\parbox[][.2cm][c]{.2cm}{#1}}} +\newcommand{\biglabelbox}[1]{\fbox{\parbox[b][.25cm][c]{.25cm}{#1}}} +\if@extrasize + \renewcommand{\labelbox}[1]{\fbox{\parbox[][.3cm][c]{.3cm}{#1}}} + \renewcommand{\biglabelbox}[1]{\fbox{\parbox[b][.35cm][c]{.35cm}{#1}}} +\fi +\def\@risp{\labelbox{\@labelstyle{\alph*}}} +\newlist{esercizi}{enumerate}{1} + \setlist[esercizi]{\bfseries 1.,itemsep=2em,leftmargin=*} +\newlist{test}{enumerate}{1} + \setlist[test]{\@risp,leftmargin=*} +\newlist{test-orizz}{enumerate*}{1} + \setlist[test-orizz]{% + \@risp,before=\hspace{1em},itemjoin=\hspace{1.2em},afterlabel=~~} +\newcommand{\labeltest}[1]{% + \renewlist{test}{enumerate}{1} + \setlist[test]{#1,leftmargin=*} + \renewlist{test-orizz}{enumerate*}{1} + \setlist[test-orizz]{% + #1,before=\hspace{1em},itemjoin=\hspace{1.2em},afterlabel=~~} +} +\newenvironment{test-orizz-newline}[1][]{% + \par\begin{test-orizz}[before=\noindent,#1]}{\end{test-orizz}} +\newcommand{\vf}{% + \iflanguage{english}{% + \hfill{\small\biglabelbox{T}~\biglabelbox{F}}}{% + \hfill{\small\biglabelbox{V}~\biglabelbox{F}}}% +} +\def\@fattorevf{.75} +\def\@fattorevferror{% + \ClassError{verifica}{% + \protect\fattorevf\space deve avere come argomento + un numero compreso tra 0 e 1}{% + Riprova scrivendo \protect\fattorevf{.85} o qualcosa + di simile. Ciao ;) \MessageBreak}% +} +\newcommand{\fattorevf}[1]{% + \ifdim0pt<#1pt\relax + \ifdim1pt>#1pt\relax + \def\@fattorevf{#1} + \else + \@fattorevferror + \fi + \else + \@fattorevferror + \fi +} +\newcounter{mylines} +\newsavebox{\@boxcountlines} +\newcommand{\CalcNumber}[2]{% +\savebox{\@boxcountlines}{% + \begin{minipage}{\linewidth}\linenumbers* + \begin{internallinenumbers} + #1\par + \setcounter{mylines}{\thelinenumber}\addtocounter{mylines}{-1} + \end{internallinenumbers} + \end{minipage}} + \let#2=\themylines +} +\newcommand{\Repeat}{\multido{\i=1+1}} +\newcounter{numrighe} +\newcommand{\verofalso}[2][\@fattorevf]{% + \renewcommand{\tabcolsep}{0em}% + \begin{tabularx}{\linewidth}[b]{p{#1\linewidth}X}% + {#2}\CalcNumber{#2}{\myx}\setcounter{numrighe}{\myx-1}% + & \phantom{e}\Repeat{\value{numrighe}}\newline\phantom{e}\vf \\ + \end{tabularx} +} +\newcommand{\@leadersbox}{.45em} +\newcommand{\@tratto}{.} +\newcommand{\@completeleaders}{% + \leavevmode\leaders\hbox to \@leadersbox{\hss\@tratto\hss}\hfill\kern0pt} +\newcommand{\dotrule}[1]{% + \parbox[t]{#1}{\@completeleaders}} +\newcommand{\dotword}[1]{% + \parbox[t]{\widthof{#1} * \real{2}}{\@completeleaders}} +\newcommand{\@rigaleaders}{% + \leavevmode\leaders\hbox to \@leadersbox{\hss\@tratto\hss}\hfill\kern0pt\par} +\newcommand{\riga}[1]{% + \doublespacing\Repeat{#1}{\noindent\@rigaleaders}\singlespacing} +\newcommand{\@punteggio}{Punti} +\newcommand{\punti}[2][\@nil]{% + \hfill\vphantom{,}\nolinebreak[1]\null~\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% + \def\tmp{#1}% + \ifx\tmp\@nnil + \relax + \else + ~\mbox{#1}% + \fi}]% +} +\def\puntiadestra{\renewcommand{\punti}{\punti@dx}} +\def\puntipt{\renewcommand{\@punteggio}{Pt.}} +\newcommand{\totpunti}[1][/10 + 1]{% + \vfill + \begin{flushright} + {\renewcommand{\arraystretch}{1.5} + \begin{tabular}{|cc|} + \hline + & {\hspace{-7pt}\textbf{VOTO}} \\ + {\textbf{Totale punti} \fbox{\phantom{\LARGE MM}} $\bm{#1=}$}% + & \hspace{-7pt}\fbox{\phantom{\Huge MM}} \\ + \hline + \end{tabular}} + \end{flushright}} +\newcommand{\vartotpunti}[1][/10 + 1]{% + \begin{flushright} + {\renewcommand{\arraystretch}{1.5} + \begin{tabular}{|cc|} + \hline + & {\hspace{-7pt}\textbf{VOTO}} \\ + {\textbf{Totale punti} \fbox{\phantom{\LARGE MM}} $\bm{#1=}$}% + & \hspace{-7pt}\fbox{\phantom{\Huge MM}} \\ + \hline + \end{tabular}} + \end{flushright}} +\endinput +%% +%% End of file `ver-doc.sty'. diff --git a/Master/texmf-dist/doc/latex/verifica/verifica-template.tex b/Master/texmf-dist/doc/latex/verifica/verifica-template.tex new file mode 100644 index 00000000000..eebd0791bc2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/verifica/verifica-template.tex @@ -0,0 +1,29 @@ +\documentclass{verifica} + +\usepackage[T1]{fontenc} +\usepackage[utf8]{inputenc} +\usepackage[italian]{babel} +\usepackage{lmodern} + +\begin{document} + +% decommentare i comandi seguenti e ridefinirli come si desidera + +%\tipologia{verifica} +%\disciplina{matematica} +%\istituto{Liceo ``G. Novello'' -- Codogno} +%\classe{5\tsa W} +%\data{11 novembre 2019} +%\tempo{2 ore} + +\intestazione % alernative: \intestazionesemplice \intestazionerighe + +\begin{esercizi} + +\item + +\end{esercizi} + +\totpunti % se il calcolo è diverso da /10+1 usare \totpunti[] + +\end{document} diff --git a/Master/texmf-dist/doc/latex/verifica/verifica.pdf b/Master/texmf-dist/doc/latex/verifica/verifica.pdf new file mode 100644 index 00000000000..630e5abd142 Binary files /dev/null and b/Master/texmf-dist/doc/latex/verifica/verifica.pdf differ -- cgit v1.2.3