puntini nell’indice

  • Creatore
    Topic
  • #111487
    samiel
    Partecipante
      Up
      0
      Down
      ::


      Mi sto perdendo, probabilmente in un bicchier d’acqua.
      Perché con questo codice:
      `\documentclass[a4paper,12pt]{report}
      \usepackage[T1]{fontenc}
      \usepackage[utf8]{inputenc}
      \usepackage[italian]{babel}
      \usepackage[type1]{ebgaramond}
      \usepackage{microtype}

      \usepackage{titlesec}
      \usepackage[rightlabels,dotinlabels]{titletoc}

      \renewcommand{\thechapter}{\scshape\roman{chapter}}
      \renewcommand{\thesection}{\arabic{section}}

      \titleformat{\chapter}[display]
      {\normalfont\fontsize{11pt}{12pt}\selectfont}{\thechapter}{0pt}{}
      \renewcommand\thesection{\arabic{section}}
      \titleformat{\section}
      {\normalfont\fontsize{11pt}{12pt}\selectfont}{\thesection}{1em}{}
      \titleformat{\subsection}
      {\normalfont\fontsize{11pt}{12pt}\selectfont\itshape}{}{1em}{}
      \titlespacing{\chapter}{0pt}{0pt}{3cm}

      \titlecontents{chapter}
      [1.5em]
      {}
      {\contentslabel{2.3em}}
      {}
      {\hfill\contentspage}
      {}

      \setcounter{tocdepth}{0}

      \begin{document}

      \tableofcontents

      \chapter{L'età napoleonica}

      \chapter{Il congresso di Vienna}

      \chapter{L'Europa nell'età della Restaurazione}

      \chapter{L'economia nella prima metà dell'Ottocento}
      \end{document}`
      non ottengo i puntini fra titolo capitolo e numero di pagina nel’indice?

      grazie
      m

    • Devi essere connesso per rispondere a questo topic.

    Go to top