- Questo topic ha 7 risposte, 3 partecipanti ed è stato aggiornato l'ultima volta 5 anni, 11 mesi fa da .
-
Topic
-
Salve a tutti, ho un problema molto semplice che però non riesco a risolvere. Sto usando Clean Thesis per scrivere la tesi magistrale. A parole (dopo metterò il codice) ciò che vorrei risolvere è questo: nell’indice generale compaiono, come voglio che succeda, i nomi delle sezioni, delle sottosezioni e delle sottosottosezioni. Le sezioni (che hanno nome in grassetto) sono numerate con 1, 2, 3, ecc. Mentre le sottosezioni sono numerate in una maniera strana: per esempio, le tre sottosezioni del capitolo 1 sono numerato come 1.0.1, 1.0.2, 1.0.3. Mentre le sottosottosezioni della prima sottosezione sono numerate come 1.0.1.1, 1.0.1.2.
È chiaro che non vorrei quello zero tra i piedi! Vorrei che le subsection fossero 1.1, 1.2, 1.3 e le subsubsection fossero 1.1.1, 1.1.2, ecc.Vi metto in allegato una foto del problema. [attachment]C:\fakepath\Immagine.png[/attachment]
Qui sotto copio il file .tex (ce ne sarebbero due, ma penso sia questo quello da usare) in cui ci sono tra le altre cose le varie opzioni per l’indice.`
% **************************************************
% Document Class Definition
% **************************************************
\documentclass[%
paper=A4, % paper size –> A4 is default in Germany
twoside=true, % onesite or twoside printing
openright, % doublepage cleaning ends up right side
parskip=half, % spacing value / method for paragraphs
chapterprefix=true, % prefix for chapter marks
11pt, % font size
headings=normal, % size of headings
bibliography=totoc, % include bib in toc
listof=totoc, % include listof entries in toc
titlepage=on, % own page for each title page
captions=tableabove, % display table captions above the float env
chapterprefix=false, % do not display a prefix for chapters
appendixprefix=false, % but display a prefix for appendix chapter
draft=false, % value for draft version
]{scrreprt}%% **************************************************
% Setup YOUR thesis document in this file !
% **************************************************
\input{my-thesis-setup}% **************************************************
% Document CONTENT
% **************************************************
\begin{document}% uncomment the following command to fill up pages with
% whitespace instead of aligning the first and last lines
% of a page (see \raggedbottom vs. \flushbottom)
%\raggedbottom% ————————–
% rename document parts
% ————————–
%\renewcaptionname{ngerman}{\figurename}{Abb.}
%\renewcaptionname{ngerman}{\tablename}{Tab.}
\renewcaptionname{english}{\figurename}{Fig.}
\renewcaptionname{english}{\tablename}{Tab.}% ————————–
% Front matter
% ————————–
\pagenumbering{roman} % roman page numbing (invisible for empty page style)
\pagestyle{empty} % no header or footers
\input{content/titlepages} % INCLUDE: all titlepages
\cleardoublepage\pagestyle{plain} % display just page numbers
\input{content/abstract} % INCLUDE: the abstracts (english and german)
\cleardoublepage
%
\input{content/acknowledgement} % INCLUDE: acknowledgement
\cleardoublepage
%
\currentpdfbookmark{\contentsname}{toc}
\setcounter{tocdepth}{3} % define depth of toc
\setcounter{secnumdepth}{3}
\tableofcontents % display table of contents
\cleardoublepage\input{content/chapter-introduction} % INCLUDE: introduction
% ————————–
% Body matter
% ————————–
\pagenumbering{arabic} % arabic page numbering
\setcounter{page}{1} % set page counter
\pagestyle{scrheadings} % header and footer style%% Uncomment the following lines using the \part command
%% to add part sections
%\part{Example Part}\input{content/chapter1} % INCLUDE: chapter 1
\input{content/chapter2} % INCLUDE: chapter 2%\part{Additional Example Part}
\input{content/chapter3} % INCLUDE: chapter 3
\input{content/chapter4} % INCLUDE: chapter 4
\input{content/chapter-conclusion} % INCLUDE: conclusion% ————————–
% Back matter
% ————————–
%
{%
\setstretch{1.1}
\renewcommand{\bibfont}{\normalfont\small}
\setlength{\biblabelsep}{0pt}
\setlength{\bibitemsep}{0.5\baselineskip plus 0.5\baselineskip}
\printbibliography[nottype=online]
\newrefcontext[labelprefix={@}]
\printbibliography[heading=subbibliography,title={Webpages},type=online]
}
\cleardoublepage%\listoffigures
%\cleardoublepage%\listoftables
%\cleardoublepage\appendix\cleardoublepage
\input{content/chapter-appendix} % INCLUDE: appendix%\cleardoublepage
%\input{content/declaration}
%\clearpage\newpage
\mbox{}% **************************************************
% End of Document CONTENT
% **************************************************
\end{document}`
Grazie se saprete aiutarmi, spero di avervi dato tutte le informazioni per poter cercare di risolvere il problema.
Francesco
- Devi essere connesso per rispondere a questo topic.