Re: pacchetto fancyhdr…AIUTO!!!

#18607
DMW
    Up
    0
    Down
    ::

    Salve a tutti!
    Sono un po’ alle prime armi nel mondo del tex e sto scrivendo la tesi di dottorato(facoltà di ingegneria).
    Ho visto che per impaginare bene il tutto si usa il pacchetto fancyhdr…e così ho fatto e, diciamo, il risultato è buono….tranne che così facendo il numero delle pagine a partire da 1 (ovviamente) le comincia a contare già da quella che sarà la copertina. Io invece vorrei che cominciasse dalla prima pagina del capitolo1 e che il mio indice avesse la numerazione in numero romano…e ovviamente la copertina e pagina di dedica niente.
    Ho provato tutta ieri ma non sono riuscita ad ottenere alcun risultato …potete aiutarmi per favore??

    grazie mille!!

    ecco il mio file:

    \documentclass[a4paper,12pt]{book}
    \usepackage[latin1]{inputenc}
    \usepackage[italian]{babel}
    \usepackage{indentfirst}
    \usepackage[dvips]{graphicx}
    \usepackage[fleqn]{amsmath}
    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \addtolength{\headheight}{15pt}
    \renewcommand{\chaptermark}[1]{\markboth {#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
    \fancyhf{}
    \fancyhead[RO,LE]{\thepage}
    \fancyhead[RE]{\leftmark}
    \fancyhead[LO]{\rightmark}
    \begin{document}
    %
    \input{fortitle}
    \newpage
    %
    \thispagestyle{empty}
    \vspace{10cm}
    \begin{flushright}
    \textit{A……}\\
    \end{flushright}
    \thispagestyle{empty}
    %
    \tableofcontents
    \newpage

    \include{PhD2/PhD2}

    \include{PhDbibliografia/bibliografia}

    \end{document}

    Potevi leggere una guida di base o cercare sul forum romana o roba simile. I comandi sono \frontmatter \mainmatter e \backmatter

    `
    \documentclass[a4paper,12pt]{book}
    \usepackage[latin1]{inputenc}
    \usepackage[italian]{babel}
    \usepackage{indentfirst}
    \usepackage[dvips]{graphicx}
    \usepackage[fleqn]{amsmath}
    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \addtolength{\headheight}{15pt}
    \renewcommand{\chaptermark}[1]{\markboth {#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
    \fancyhf{}
    \fancyhead[RO,LE]{\thepage}
    \fancyhead[RE]{\leftmark}
    \fancyhead[LO]{\rightmark}
    \begin{document}
    \frontmatter
    \input{fortitle}
    \newpage
    %
    \thispagestyle{empty}
    \vspace{10cm}
    \begin{flushright}
    \textit{A……}\\
    \end{flushright}
    \thispagestyle{empty}

    \tableofcontents
    \newpage
    \mainmatter
    \include{PhD2/PhD2}
    \backmatter
    \include{PhDbibliografia/bibliografia}

    \end{document}`

    Ciao

    Andrea

    Go to top