- Questo topic ha 0 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 8 anni, 11 mesi fa da .
-
Topic
-
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.