Certo. Carica il pacchetto chngpage e usa questo codice:
`\begin{titlepage}
\thispagestyle{empty}
\changetext{}{}{}{((\paperwidth – \textwidth) / 2) – \oddsidemargin – \hoffset – 1in}{}
\pdfbookmark[1]{Copertina}{Copertina}
\begin{center}
…
\end{center}
\end{titlepage}`
L’ho preso dal file Copertina.tex dai sorgenti della mia guida a ClassicThesis (trovi tutto sul mio sito).
Ciao,
L.[/quote]
Grazie mille per la dritta… ora ho uno strano segnale di errore, questo:
`
[PDFLaTeX] finished with exit status 1
./commands.tex:17:Missing number, treated as zero. … / 2) – \oddsidemargin – \hoffset – 1in}{}
./commands.tex:17:Illegal unit of measure (pt inserted). … / 2) – \oddsidemargin – \hoffset – 1in}{}
relazione.tex:117:Overfull \hbox (18.0422pt too wide) in paragraph
relazione.tex:128:Overfull \hbox (24.55733pt too wide) in paragraph
relazione.tex:137:Overfull \hbox (3.1928pt too wide) in paragraph
`
dove la riga 17 è questa:
`
\changetext{}{}{}{((\paperwidth – \textwidth) / 2) – \oddsidemargin – \hoffset – 1in}{}
`
Questo è il file completo con comandi e pagina del titolo:
`
\newcommand{\U}{\mathcal{U}}
\newcommand{\V}{\mathcal{V}}
\newcommand{\J}{\mathcal{J}}
\newcommand{\R}{\mathbb{R}}
\newcommand{\x}{\mathbf{x}}
\newcommand{\y}{\mathbf{y}}
\newcommand{\dk}{\mathbf{d}_k}
\newcommand{\Rn}{\mathbb{R}^n}
\newcommand{\Z}{\mathcal{Z}}
\newcommand{\LL}{\mathcal{L}}
\newcommand{\HH}{\mathcal{H}}
\restylefloat{figure}
\titlepage
\begin{titlepage}
\thispagestyle{empty}
\changetext{}{}{}{((\paperwidth – \textwidth) / 2) – \oddsidemargin – \hoffset – 1in}{}
\pdfbookmark[1]{Copertina}{Copertina}
\begin{center}
\begin{figure}[htbp]
\centering
\includegraphics[scale=.4]{logoPoli}
\end{figure}
\vspace{.3 cm}
{\bfseries \LARGE POLITECNICO DI MILANO\\}
\vspace{0.3cm}
{\bfseries \large Corso di Laurea Magistrale in Ingegneria Matematica\\}
\vspace{1cm}
{\bfseries Corso di\\}
\vspace{0.2cm}
{\bfseries\large Programmazione Avanzata per il Calcolo Scientifico\\}
\vspace{0.5cm}
{\bfseries Prof. L.Formaggia\\}
\vspace{2cm}
{\bfseries \LARGE Una libreria per metodi di ricerca lineare \\}
\end{center}
\vspace{4cm}
\begin{flushright}
{\bfseries \large Tommaso Benacchio\\ matricola 711145\\}
\vspace{0.3cm}
{\bfseries \large Roberto Mariotti\\ matricola 719830\\}
\end{flushright}
\vspace{2cm}
\begin{center}
{\bfseries \large A. A. 2008/2009\\}
\end{center}
\end{titlepage}
\tableofcontents`
Questo è il file completo con i pacchetti:
`
\usepackage{a4wide, amsmath,amsfonts,amssymb, amsthm, bbm,booktabs,cancel, natbib,
color, float,listings, mathrsfs,multirow, paralist, wasysym, url}
\usepackage{classicthesis-ldpkg}
\usepackage[eulerchapternumbers,subfig,beramono,%
pdfspacing]{classicthesis}
\usepackage{chngpage}
\usepackage[italian]{arsclassica}
\usepackage[italian]{babel}
\usepackage[utf8]{inputenc}
\graphicspath{{grafici/}}
\theoremstyle{definition}
\newtheorem{defin}{Definizione}
\theoremstyle{definition}
\newtheorem{prob}{Problema}
\theoremstyle{plain}
\newtheorem{teor}{Teorema}
\theoremstyle{plain}
\newtheorem{prop}{Proposizione}
\theoremstyle{plain}
\newtheorem{lemma}{Lemma}
\theoremstyle{plain}
\newtheorem{algor}{Algoritmo}
\theoremstyle{plain}
\newtheorem{corol}{Corollario}
\theoremstyle{remark}
\newtheorem{nota}{Nota}
\theoremstyle{remark}
\newtheorem{oss}{Osservazione}
\makeatletter
\def\cleardoublepage{\clearpage
\if@twoside
\ifodd\c@page
\else
\null\thispagestyle{empty}\clearpage
\fi
\fi}
\makeatother
`
e questo è l’inizio di relazione.tex… qualche idea?
`
\documentclass[11pt,a4paper,fleqn,%
cleardoubleempty, pointlessnumbers,%
headinclude,footinclude,%
tablecaptionabove, twoside,openright]{scrbook}
\input{./packages.tex}
\begin{document}
\input{./commands.tex}
`
Grazie mille