Re: Problemi di compilazione col pacchetto \caption usando

#39537
Up
0
Down
::

Ciao.
Per aiutarti avremmo bisogno di vedere il codice, un cosiddetto “esempio minimo compilabile”.
Non basta una descrizione sommaria di quello che accade quando compili.

🙂
LuCa

eccolo:

`

%% Based on a TeXnicCenter-Template by Gyorgy SZEIDL.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%———————————————————-
%
\documentclass[a4paper, 12pt]{book}%

\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[italian]{babel}

%\usepackage{hyperref}

\usepackage{lmodern} %ANTI SGRANAGGIO!!! %Type1-font for non-english texts and characters

\usepackage{url}
\usepackage{float}

%% Multibibliografia per fa funzionare sitografia %%%%%%%%%%%
\usepackage[resetlabels]{multibib}
\newcites{web}{Siti Web Consultati}

%% Line Spacing %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{setspace}
%\singlespacing %% 1-spacing (default)
\onehalfspacing %% 1,5-spacing
%\doublespacing %% 2-spacing

%% Other Packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\usepackage{a4wide} %%Smaller margins = more text per page.
%\usepackage{fancyhdr} %%Fancy headings
%\usepackage{longtable} %%For tables, that exceed one page

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Remarks
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% TODO:
% 1. Edit the used packages and their options (see above).
% 2. If you want, add a BibTeX-File to the project
% (e.g., 'literature.bib').
% 3. Happy TeXing!
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Options / Modifications
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%\input{options} %You need a file 'options.tex' for this
%% ==> TeXnicCenter supplies some possible option files
%% ==> with its templates (File | New from Template…).

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Comandi e ambienti definiti da me
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\newenvironment{tab}[1]%
{\begin{tabular}{|#1|}\hline}%
{\hline\end{tabular}}

\newenvironment{tabSenzaLinee}[1]%
{\begin{tabular}{|#1|}}%
{\end{tabular}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Consigli per documentclass book di TeXnicCenter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%———————————————————-
% This is a sample document for the standard LaTeX Book Class
% Class options
% — Body text point size:
% 10pt (default), 11pt, 12pt
% — Paper size: letterpaper (8.5×11 inch, default)
% a4paper, a5paper, b5paper,
% legalpaper, executivepaper
% — Orientation (portrait is the default):
% landscape
% — Printside: oneside, twoside (default)
% — Quality: final(default), draft
% — Title page: titlepage, notitlepage
% — Columns: onecolumn (default), twocolumn
% — Start chapter on left:
% openright(no, default), openany
% — Equation numbering (equation numbers on right is the default):
% leqno
% — Displayed equations (centered is the default):
% fleqn (flush left)
% — Open bibliography style (closed bibliography is the default):
% openbib
% For instance the command
% \documentclass[a4paper,12pt,reqno]{book}
% ensures that the paper size is a4, fonts are typeset at the size 12p
% and the equation numbers are on the right side.
%
\usepackage{amsmath}%
\usepackage{amsfonts}%
\usepackage{amssymb}%
\usepackage{graphicx}
%———————————————————-
\newtheorem{theorem}{Theorem}
\newtheorem{acknowledgement}[theorem]{Acknowledgement}
\newtheorem{algorithm}[theorem]{Algorithm}
\newtheorem{axiom}[theorem]{Axiom}
\newtheorem{case}[theorem]{Case}
\newtheorem{claim}[theorem]{Claim}
\newtheorem{conclusion}[theorem]{Conclusion}
\newtheorem{condition}[theorem]{Condition}
\newtheorem{conjecture}[theorem]{Conjecture}
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{criterion}[theorem]{Criterion}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newtheorem{exercise}[theorem]{Exercise}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{notation}[theorem]{Notation}
\newtheorem{problem}[theorem]{Problem}
\newtheorem{proposition}[theorem]{Proposition}
\newtheorem{remark}[theorem]{Remark}
\newtheorem{solution}[theorem]{Solution}
\newtheorem{summary}[theorem]{Summary}
\newenvironment{proof}[1][Proof]{\textbf{#1.} }{\ \rule{0.5em}{0.5em}}
%———————————————————-
\begin{document}

\frontmatter
\pagestyle{empty} %No headings for the first pages.

\title{S E $\cdot$ R $\cdot$ E D\\Statistical Evaluation and Representation of Electronic Data\\Uno stumento per l'analisi delle rilevazioni sulle opinioni degli studenti.}
\author{Andrea Febbo}
\date{15 Dicembre 2009}
\maketitle

\tableofcontents%Stampa l'indice.

\input{files/prefazione}

\input{files/introduzione}

\mainmatter
\pagestyle{headings}
\part{Realizzazione del Sistema}%trovare un termine più adatto di progettista

%\chapter{Descrizione delle Specifiche}\label{cap:desSpec}

\input{files/pianoDiProcesso}
\input{files/primoCicloIterazione}
\input{files/secondoCicloIterazione}

\part{Illustrazione del Sistema}

\input{files/gestioneDB}
\input{files/interpretazione}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% BIBLIOGRAFIA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage
\addcontentsline{toc}{chapter}{\bibname}
\nocite{*}
\bibliographystyle{plain}
\bibliography{bibliografia}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% SITOGRAFIA
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\cleardoublepage
\addcontentsline{toc}{chapter}{Siti Web Consultati}
\nociteweb{*}
\bibliographystyleweb{plain}
\bibliographyweb{web}

%% The List of Figures
\clearpage
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures

%% The List of Tables
\clearpage
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables

%\appendix

%\chapter{The First Appendix}

%The \verb”\appendix” command should be used only once. Subsequent appendices can
%be created using the Chapter command.

%\chapter{The Second Appendix}
%testo

%\backmatter

%\chapter{Afterword}

%The back matter often includes one or more of an index, an afterword,
%acknowledgements, a bibliography, a colophon, or any other similar item. In
%the back matter, chapters do not produce a chapter number, but they are
%entered in the table of contents. If you are not using anything in the back
%matter, you can delete the back matter TeX field and everything that follows it.
\end{document}

`

Che mi dite?

Go to top