Re: Nascondere numero di pagina

#27911
Up
0
Down
::


UUUuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu 😀 !!!!!!!!!!!!!!!!!!!!!!!

Ci sono riuscito!!!!!!!!

http://www.fi.infn.it/pub/tex/doc/html/latex_46.html

-Il preambolo l’ho impostato così:

`
documentclass[a4paper,11pt]{article}

\usepackage[italian]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fancyhdr}
\pagestyle{fancy}
\usepackage{fancynum}
\usepackage{graphicx}
\usepackage{color}
\usepackage{eso-pic,graphicx}
\makeatletter
\newcommand\BackgroundPicture[2]{
\setlength{\unitlength}{1pt}
\put(0,\strip@pt\paperheight){
\parbox[t][\paperheight]{\paperwidth}{
\vfill
\centering\includegraphics[width=1\paperwidth,height=1\paperheight,angle=#2]{#1}
\vfill
}
}
}
\makeatother

\definecolor{background1}{rgb}{0.7176,0.8235,0.2784}
`

-Dopo \begin{document}, invece:

`
\newpage
\thispagestyle{empty}
\AddToShipoutPicture*{\BackgroundPicture{%
Immagini/Sfondo5.jpg}{0}}
{\color{red} .} % QUI VA INSERITO “background1'' NELLA PARENTESI GRAFFA AL POSTO DI “red''!!!
\newpage
`

Mi mancavano i pacchetti nel preambolo 🙂 ! Avevi ragione Mirko, il numero è scomparso, insieme alla “testatina”!!………

…mi dà però un solo warning, mentre prima era perfetto…mi dice:

`
Package Fancyhdr Warning: \headheight is too small (12.0pt):
Make it at least 13.59999pt.
We now make it that large for the rest of the document.
This may cause the page layout to be inconsistent, however.
`

Non capisco come settare a 13.59999pt la “\headheight” (? è l’altezza della testatina?); sembra che sia settata su 12.0pt…ma dove risulta? Dove andare ad agire?

Rimane ora anche solo da vedere come eliminare il bordo bianco al margine sx della pagina contenente lo sfondo-immagine… 🙂

Bene, sembra che la cosa sia riuscita!………ma ci sarebbero anche altri metodi più mirati allo scopo?

Un saluto a te Mirko e al forum

Riccardo

Go to top