Salve… ho di nuovo un problemino con i margini: funziona tutto, tranne che nelle prime due pagine della premessa.
Mi spiego meglio: per richiesta del mio professore, ho dovuto fare iniziare la prima pagina della premessa a metà foglio. Inserisco il preambolo:
\documentclass[a4paper,12pt,twoside]{book}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc} %ACCENTI
\usepackage{mathptmx}
\usepackage[italian]{babel} % ITALIANO
\usepackage{latexsym}
\usepackage{amsmath,amsfonts,amssymb} % MATEMATICA
\usepackage{graphicx} % INSERIMENTO FIGURE
\usepackage{microtype}
\usepackage{indentfirst}
\usepackage{wrapfig}
\usepackage{xcolor} % COLORI
\usepackage{frcursive}
\usepackage{cancel} % SIMBOLO MIGLIORE DI SEMPLIFICAZIONE NELLE FORMULE MATEMATICHE
\usepackage{color} % SCRIVERE COLORATO
\usepackage{fancybox}
\usepackage{numprint} % NUMERI DI PAGINA
\usepackage[a4paper,top=4cm,bottom=4cm,left=4.5cm,right=4.5cm,headheight=15pt,bindingoffset=5mm]{geometry}
\usepackage{caption} % INSERIMENTO IMMAGINI
\captionsetup{labelformat=empty,textfont=sl}
\usepackage{natbib} % BIBLIOGRAFIA
\usepackage[resetlabels]{multibib} % BIBLIOGRAFIA
\newcites{web}{Siti Web consultati} % SITOGRAFIA
\usepackage{url} % SITI
\usepackage{amsthm}
\theoremstyle{plain} %STILE PLAIN PER I TEOREMI
\swapnumbers
\newtheorem{teo}{Teorema}[section]
\newtheorem{cor}[teo]{Corollario}
\newtheorem{prop}[teo]{Proposizione}
\newtheorem{lemma}[teo]{Lemma}
\newtheorem{defin}[teo]{Definizione}
\newtheorem{es}[teo]{Esercizio}
\newtheorem{ese}[teo]{Esempio}
\newtheorem{cost}[teo]{Costruzione}
\newtheorem{oss}[teo]{Osservazione}
\newenvironment{svolg}{\trivlist\item[]\emph{Svolgimento \ }\ignorespaces}%
{\endtrivlist}
\newcommand{\fncyblank}{\fancyhf{}}
\newenvironment{abstract}%
{\fncyblank \null \vfill \begin{center}%
\bfseries \end{center}}%
{\vfill \null }
\setlength{\unitlength}{2em}
\newcommand{\R}{\ensuremath{\mathbb{R}}}
\newcommand{\Q}{\ensuremath{\mathbb{Q}}}
\newcommand{\Z}{\ensuremath{\mathbb{Z}}}
\newcommand{\F}{\ensuremath{\mathbb{F}}}
\newcommand{\C}{\ensuremath{\mathbb{C}}}
\newcommand{\N}{\ensuremath{\mathbb{N}}}
\newcommand{\PP}{\ensuremath{\mathbb{P}}}
\renewcommand{\leq}{\leqslant}
\renewcommand{\geq}{\geqslant}
\definecolor{lightblue}{rgb}{0.1,124,4}
\newcommand{\asterismo}{\smash{%
\raisebox{-.4ex}{%
\setlength{\tabcolsep}{-.4pt}%
\begin{tabular}{@{}cc@{}}%
\multicolumn2c*\\[-1.5ex]*&*%
\end{tabular}}}}
\newenvironment{changemargin}[2]{%
\begin{list}{}{%
\setlength{\leftmargin}{#1}%
\setlength{\rightmargin}{#2}%
}%
\item[]}{
\end{list}}
\newenvironment{sistema}%
{\left\lbrace \begin{array}{@{}l@{}}}%
{\end{array}\right.}
\usepackage{fancyhdr}
\pagestyle{fancy}
\makeatletter
\def\cleardoublepage{\clearpage\if@twoside
\ifodd\c@page
\else\hbox{}\thispagestyle{empty}\newpage
\if@twocolumn\hbox{}\newpage\fi\fi\fi}
\makeatother
\begin{document}
…….
\vspace*{.5\textheight}
\begin{wrapfloat}{figure}{R}{0pt}
\includegraphics[width=0.52\columnwidth]{Congettura}
\end{wrapfloat}
……
\end{document}
Il problema è questo: mentre nelle pagine successive c’è perfetta sovrapposizione tra pagina pari e pagina dispari, tra le prime due pagine (di cui la prima quella comprendente la figura incorporata con il testo) ciò non avviene, e, in particolare, la prima pagina è più lunga della seconda di un rigo e le righe non sono sovrapposte con quelle della seconda…
Spero di essere stata sufficientemente chiara…
Grazie!
buona serata