K1ng.Cr4zy” post=80937`\documentclass[a4paper]{report}
\usepackage[italian]{babel}
\usepackage{eso-pic,graphicx}
\usepackage[applemac]{inputenc}
\makeatletter
\newcommand\BackgroundPicture[2]{
\setlength{\unitlength}{1pt}
\put(0,\strip@pt\paperheight){
\parbox[t][\paperheight]{\paperwidth}{
\vfill
\centering
\includegraphics[angle=#2]{#1}
\vfill
}
}
}
\makeatother
\begin{document}
\flushleft
\begin{figure}
\includegraphics{logo.png}
\label{fig:1}
\end{figure}`
questo è l’inizio raga 😀
Appunto: che ci fa quel [tt]\flushleft[/tt]? Non solo è del tutto sbagliato usarlo, ma è evidentemente il responsabile del comportamento che lamenti.
Alcune modifiche consigliate:
`\documentclass[a4paper]{report}
\usepackage[T1]{inputenc}
\usepackage[utf8]{inputenc}
\usepackage[italian]{babel}
\usepackage{eso-pic,graphicx,picture}
\newcommand\BackgroundPicture[2]{%
\begingroup
\setlength{\unitlength}{1pt}%
\put(0,\paperheight){%
\parbox[t][\paperheight]{\paperwidth}{
\vfill
\centering
\includegraphics[angle=#2]{#1}
\vfill
}%
}%
\endgroup
}
\begin{document}
\begin{figure}
\includegraphics{logo}
\caption{Questa è una figura}
\label{fig:1}
\end{figure}`
Noterai [tt]utf8[/tt] invece di [tt]applemac[/tt]. Potresti avere qualche piccolo problema a convertire il documento, ma è meglio se imposti il tuo editor con UTF-8; ne avrai solo vantaggi.
Ciao
Enrico