Re: Collegamenti a voci con lo stesso nome nell’indice

#67796
LuglioM26
Partecipante
    Up
    0
    Down
    ::


    Questo è il codice

    \documentclass[a4paper,10pt,openright,twoside]{book}

    % FORMATTAZIONE INTESTAZIONE E PIE’ DI PAGINA
    \usepackage{lmodern}
    \usepackage{fancyhdr}
    \usepackage[clearempty]{titlesec}
    \pagestyle{fancy}
    %\clearpage{\pagestyle{empty}\cleardoublepage} inserire questo comando prima del nuovo capitolo
    %\fancyhead[LE,RO]{\slshape \rightmark \thechapter \thesection}
    %\fancyhead[RE,LO]{\slshape \rightmark}
    %\fancyhead[LO,RE]{\slshape \leftmark}
    %\fancyfoot[C]{\thepage}
    \lhead{}
    \chead{}
    \rhead{}
    \lfoot{}
    \cfoot{\thepage}
    \rfoot{}

    \setlength{\headheight}{15pt}

    \usepackage[latin1]{inputenc}
    \usepackage[italian]{babel}
    \usepackage[T1]{fontenc}
    \usepackage{indentfirst}
    \usepackage{eurosym}
    \usepackage{graphicx}
    \graphicspath{{./image/}}
    \usepackage{amsmath,amssymb} % per utilizzare i simboli matematici
    \usepackage{frontespizio}

    \usepackage{hyperref}
    \hypersetup{%
    pdftitle={},%
    pdfauthor={},%
    pdfsubject={},%
    pdfkeywords={},%
    colorlinks=true,%
    linkcolor=blue,%
    linktocpage=true,%
    pageanchor=true,%
    }

    %TEOREMI
    \usepackage{amsthm}

    \theoremstyle{plain}
    \newtheorem{thm}{Teorema}[section]
    \newtheorem{cor}[thm]{Corollario}
    \newtheorem{lem}[thm]{Lemma}
    \newtheorem{prop}[thm]{Proposizione}

    \theoremstyle{definition}
    \newtheorem{defn}{Definizione}[chapter]

    \theoremstyle{remark}
    \newtheorem{oss}{Osservazione}

    \begin{document}

    \frontmatter

    \begin{frontespizio}
    \Universita{}
    \Istituzione{}
    \Logo{}
    \Facolta{}
    \Corso[Laurea]{Matematica}
    \Annoaccademico{}
    \Titoletto{}
    \Titolo{}
    % \Sottotitolo{}
    \Candidato[]{}
    \Relatore{}
    % \Relatore{}
    % \Correlatore{}
    % \Correlatore{}
    \end{frontespizio}

    \tableofcontents
    {\hypersetup{hidelinks}\listoffigures}

    \mainmatter

    \chapter{Cap1}
    \section*{Introduzione}
    \addcontentsline{toc}{section}{Introduzione}
    altre section

    \chapter{Cap2}
    \section*{Introduzione}
    \addcontentsline{toc}{section}{Introduzione}
    altre section

    \chapter{Cap3}
    \section*{Introduzione}
    \addcontentsline{toc}{section}{Introduzione}
    altre section

    \chapter{Cap4}
    \section*{Introduzione}
    \addcontentsline{toc}{section}{Introduzione}
    altre section

    \end{document}

    Faccio inoltre presente una leggera ma visibile differenza cromatica e cioè compilando con MiKTeX 2009 il nero è “sbiadito” mentre con TeXLive 2011 è normale. (?)

    Stefano

    Go to top