- Questo topic ha 0 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 12 anni, 6 mesi fa da .
-
Topic
-
Ciao a tutti.Come da oggetto sto usando (e scoprendo) la classe EXAM. Premetto che la compilazione ed il risultato finale sono corretti.
Uso Texmaker 4.0.2 + TeXLive 2013 su WinXP. Ricevo alla fine i seguenti warning:
LaTeX Warning: Label `question@1′ multiply defined.
LaTeX Warning: Label `question@2′ multiply defined.
LaTeX Warning: Label `question@3′ multiply defined.
LaTeX Warning: There were multiply-defined labels.dove è chiaro che gli avvisi si riferiscono alle label. Questo è il codice integrale e sintetizzato che uso e che genera i suddetti warning:
`
\documentclass[12pt,a5paper,landscape]{exam}\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{amsmath,amsfonts,amssymb} % per utilizzare i simboli matematici
\graphicspath{{./images/}} % directory immagini
%\usepackage{pstricks} % per visualizzare i colori nei grafici
%\usepackage{colortbl} % per costruire tabelle colorate (codice con altri sw)
\pagestyle{empty}\usepackage{multirow}
\usepackage[width=20cm,height=10cm,a5paper]{geometry}% FORMATTAZIONE INTESTAZIONE E PIE' DI PAGINA
\pagestyle{headandfoot}
\header{scuola}{materia}{classe}
\footer{Alunno}{TOTALE: \hspace{1.50cm} / xx}{data}
\headrule
\footrule\begin{document}
\textbf{
\begin{center}
COMPITO A
\end{center}
}\vspace{0.5cm}
\noindent Traccia.
\vspace{0.3cm}
\begin{questions}
\extrawidth{-3.00cm}
\pointsinrightmargin
\marginpointname{\,PT}
\pointname{\,PT}\question[2.50]
\hspace{1.00cm} $\displaystyle y = \ldots $\vspace{0.3cm}
\question[2.50]
\hspace{1.00cm} $\displaystyle y = \ldots $\vspace{0.3cm}
\question[3.00]
\hspace{1.00cm} $\displaystyle y = \ldots $\vspace{0.3cm}
\question[3.00]
\hspace{1.00cm} $\displaystyle y = \ldots $\end{questions}
\vspace{1.00cm}
\noindent Note.
\newpage
\textbf{
\begin{center}
COMPITO B
\end{center}
}\vspace{0.5cm}
\noindent Traccia.
\vspace{0.3cm}
\begin{questions}
\extrawidth{-3.00cm}
\pointsinrightmargin
\marginpointname{\,PT}
\pointname{\,PT}\question[3.00]
\hspace{1.00cm} $\displaystyle y = \ldots $\vspace{0.3cm}
\question[4.00]
\hspace{1.00cm} $\displaystyle y = \ldots $\vspace{0.3cm}
\question[4.00]
\hspace{1.00cm} $\displaystyle y = \ldots $\end{questions}
\vspace{1.00cm}
\noindent Note
\end{document}
`Ignoro tranquillamente? Eventuali soluzioni/spiegazioni?
Grazie a tutti.Stefano
OT1 – amsmath e/o amssymb caricano automaticamente amsfonts? (credo di SI ma non ricordo bene)
OT2 – Specificare a5paper sia in documentclass che geometry è corretto? E’ necessario altro?
- Devi essere connesso per rispondere a questo topic.