[RISOLTO] problema pagine pari non numerate

  • Creatore
    Topic
  • #66855
    Up
    0
    Down
    ::


    Salve a tutti,

    non riesco a capire perché nel mio pdf le pagine pari non vengono numerate…questo è il codice:

    `
    \documentclass[authoryear,11pt,a4paper,twoside,openright]{book}

    \usepackage[italian]{babel}
    \usepackage{lmodern}
    \usepackage[latin1]{inputenc}
    \usepackage{fancyhdr}
    \usepackage{amsmath}
    \usepackage{amssymb}
    \usepackage{esint}
    \usepackage{keyval}
    \usepackage[position=top,config, labelfont={rm,bf,up}]{caption,subfig}
    \usepackage{natbib}

    \numberwithin{equation}{section}
    \numberwithin{figure}{section}

    \pagestyle{fancy}\addtolength{\headwidth}{20pt}
    \renewcommand{\chaptermark}[1]{\markboth{\thechapter.\#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection\#1}{}}
    \cfoot{}
    \rhead[\fancyplain{}{\slshape\leftmark}]{\fancyplain{}
    }
    \lhead[\fancyplain{}]{\fancyplain{}
    {\slshape\rightmark}}

    \begin{document}

    \tableofcontents

    \input{Introduzione}

    \chapter{uno}

    \end{document}

    `

    mentre il codice del file Introduzione.tex è il seguente:

    `
    \chapter*{Introduzione}
    \markboth{\slshape{INTRODUZIONE}}{\slshape{INTRODUZIONE}}
    \addcontentsline{toc}{chapter}{Introduzione}

    Bla Bla Bla….
    `

    Spero possiate aiutarmi, grazie!

    S.

Visualizzazione 2 filoni di risposte
  • Autore
    Risposte
    • #66856
      Up
      0
      Down
      ::

      sete” post=65803Salve a tutti,

      non riesco a capire perché nel mio pdf le pagine pari non vengono numerate…questo è il codice:

      `
      \documentclass[authoryear,11pt,a4paper,twoside,openright]{book}

      \usepackage[italian]{babel}
      \usepackage{lmodern}
      \usepackage[latin1]{inputenc}
      \usepackage{fancyhdr}
      \usepackage{amsmath}
      \usepackage{amssymb}
      \usepackage{esint}
      \usepackage{keyval}
      \usepackage[position=top,config, labelfont={rm,bf,up}]{caption,subfig}
      \usepackage{natbib}

      \numberwithin{equation}{section}
      \numberwithin{figure}{section}

      \pagestyle{fancy}\addtolength{\headwidth}{20pt}
      \renewcommand{\chaptermark}[1]{\markboth{\thechapter.\#1}{}}
      \renewcommand{\sectionmark}[1]{\markright{\thesection\#1}{}}
      \cfoot{}
      \rhead[\fancyplain{}{\slshape\leftmark}]{\fancyplain{}
      }
      \lhead[\fancyplain{}]{\fancyplain{}
      {\slshape\rightmark}}

      \begin{document}

      \tableofcontents

      \input{Introduzione}

      \chapter{uno}

      \end{document}

      `

      mentre il codice del file Introduzione.tex è il seguente:

      `
      \chapter*{Introduzione}
      \markboth{\slshape{INTRODUZIONE}}{\slshape{INTRODUZIONE}}
      \addcontentsline{toc}{chapter}{Introduzione}

      Bla Bla Bla….
      `

      Spero possiate aiutarmi, grazie!

      S.

      Ciao,

      prova a togliere il \cfoot{}: la numerazione avverrà anche per le pagine pari.

      Ciao
      Claudio

    • #66857
      Up
      0
      Down
      ::


      Grazie mille! 🙂

    • #66858
      OldClaudio
      Partecipante
        Up
        0
        Down
        ::


        … e non scrivere
        `
        \slshape{INTRODUZIONE}
        `
        visto che \slshape è una dichiarazione, non un comando che riceva un argomento come per esempio \textsl.
        O scrivei
        `
        \slshape INTRODUZIONE
        `
        oppure
        `
        \textsl{INTRODUZIONE}
        `

    Visualizzazione 2 filoni di risposte
    • Devi essere connesso per rispondere a questo topic.

    Go to top