Re: problemi compilazione modifiche con miktex+texnic

#48108
GKT
Partecipante
    Up
    0
    Down
    ::

    GRazie Lorenzo per la dritta; tra le tante guide che ho visionato questa mi mancava; è proprio vero che spesso abbiamo la soluzione davanti agli occhi. 🙂
    Mi restano però ancora alcuni problemini da risolvere…
    Il mio documento è:

    \documentclass[a4paper,11pt,twoside]{article}
    %\usepackage[italian]{babel}
    \usepackage[T1]{fontenc} %sillabazione
    \usepackage[latin1]{inputenc} %accenti
    \usepackage{graphicx}
    \usepackage[version=3]{mhchem} %formule chimiche
    \usepackage{fancyhdr}
    \pagestyle{fancy}
    \renewcommand{\chaptermark}[1]{\markboth{#1}{}}
    \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
    \fancyhf{}
    \fancyhead[LE,RO]{pinco pallo}
    \fancyhead[RE,LO]{A.A::2009-10}
    \fancyhead[C]{Gr.: 2}
    \fancyfoot{LE,RO]{}
    \fancyfoot[RE,LO]{}
    \fancyfoot[C]{\Thepage}
    %\pagestyle{plain}

    \begin{document}
    \input{Pagina2.tex}
    \thispagestyle{empty}
    \cleardoublepage
    \newpage
    \thispagestyle{empty}
    \tableofcontents
    \thispagestyle{empty}
    \cleardoublepage
    \newpage
    \input{Esp1.tex}
    \end{document}

    con queste stringhe mi resta l’intestazione sulla pagina bianca che segue la “table of contents” e non mi appare nemmeno il numero di pagina.

    Spero di non abusare della vostra pazienza chiedendovi aiuto anche questa volta.
    Grazie

    Se usi la classe article non ridefinire \chaptermark, article non prevede capitoli.

    Per le testatine e le pagine bianche prova questo codice:

    `
    \documentclass[a4paper,11pt,twoside]{article}

    \usepackage[T1]{fontenc}
    \usepackage[latin1]{inputenc}
    \usepackage[italian]{babel}
    \usepackage{fancyhdr}
    \usepackage[version=3]{mhchem}
    \usepackage{graphicx}
    \usepackage{emptypage}
    \usepackage{lipsum}

    \author{pinco pallo}
    \title{Il mio titolo}

    \pagestyle{fancy}
    \renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}
    \fancyhf{}
    \fancyhead[LE,RO]{pinco pallo}
    \fancyhead[RE,LO]{A.A::2009-10}
    \fancyhead[C]{Gr.: 2}
    \fancyfoot[LE,RO]{}
    \fancyfoot[RE,LO]{}
    \fancyfoot[C]{\thepage}

    \begin{document}

    \maketitle

    \tableofcontents

    \cleardoublepage
    \section{Paragrafo}
    \lipsum

    \end{document}
    `

    Leggi anche qui.

    Go to top