LaTeX forum ⇒ MakeIndex, Nomenclature, Glossaries and Acronyms ⇒ High Index numbers are running into the title

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
marek_step
Posts: 25
Joined: Sun Aug 19, 2012 8:48 am

High Index numbers are running into the title

Hello all!

I have a little problem with my index numbers. The high numbers are running into the titles like follows (examples of the figures list):

Beginning:

1.1. Kaolin ......................................... 23
1.2. Plagioclase feldspar ................................. 24

Ending:

13.85.ShakunagaYukioPortrait .............................. 304
13.86.Shakunaga Yukio: Large Jar (No. 1), 2013, stoneware, h. 13 x dia. 15 1/4 in. (34x39cm) ..................................... 304

And in the pdf file the last points of high numbers are under the first letter and even not separated like here in this example with copy and paste.

Could somebody give me a hint? Is this a common problem? The document class I am using is:

\documentclass[twoside=false,BCOR=12mm,DIV=calc,headsepline=yes,draft=false]{scrreprt}

Best greetings

marek
Last edited by cgnieder on Wed Aug 13, 2014 6:20 pm, edited 1 time in total.

Tags:

Johannes_B
Site Moderator
Posts: 3803
Joined: Thu Nov 01, 2012 4:08 pm
Hi Marek, you need to prepare a minimal working example so we can reproduce the problem and test possible solutions. Please follow the link to get further hints.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

marek_step
Posts: 25
Joined: Sun Aug 19, 2012 8:48 am
Thank Johannes_B for your reply. I thought this is probably a known issue and I don't need a minimal example. So I made up an example; unfortunately it is a longer than expected for a "minimal" example. Sorry! At the end of the TOC you see the numbers of the chapters running into the titles like:

0.11.11.Under Chapter 11

\documentclass[]{scrreprt}\usepackage[ngerman,english]{babel}\usepackage[utf8]{inputenc}\usepackage{CJKutf8}\usepackage[T1]{fontenc} \usepackage{makeidx}\makeindex \begin{document} \titlehead{test}\subject{Test of indexed Titles}\title{Test Title}\author{Test writer} \date{\today}\publishers{Test Publisher} \maketitle  \tableofcontents  \part{Test Part 1} \section{Chapter 1}\subsection{Under Chapter 1}\subsubsection{Under Chapter 1, Section 1}\subsubsection{Under Chapter 1, Section 1}\subsubsection{Under Chapter 1, Section 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsection{Under Chapter 1}\subsubsection{Under Chapter 1, Section 11}\subsubsection{Under Chapter 1, Section 11}\subsubsection{Under Chapter 1, Section 11} \section{Chapter 2}\subsection{Under Chapter 2}\subsubsection{Under Chapter 2, Section 1}\subsubsection{Under Chapter 2, Section 1}\subsubsection{Under Chapter 2, Section 1}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsection{Under Chapter 2}\subsubsection{Under Chapter 2, Section 11}\subsubsection{Under Chapter 2, Section 11}\subsubsection{Under Chapter 2, Section 11} \section{Chapter 3}\subsection{Under Chapter 3}\subsubsection{Under Chapter 3, Section 1}\subsubsection{Under Chapter 3, Section 1}\subsubsection{Under Chapter 3, Section 1}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsection{Under Chapter 3}\subsubsection{Under Chapter 3, Section 11}\subsubsection{Under Chapter 3, Section 11}\subsubsection{Under Chapter 3, Section 11} \section{Chapter 4}\subsection{Under Chapter 4}\subsubsection{Under Chapter 4, Section 1}\subsubsection{Under Chapter 4, Section 1}\subsubsection{Under Chapter 4, Section 1}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsection{Under Chapter 4}\subsubsection{Under Chapter 4, Section 11}\subsubsection{Under Chapter 4, Section 11}\subsubsection{Under Chapter 4, Section 11} \section{Chapter 5}\subsection{Under Chapter 5}\subsubsection{Under Chapter 5, Section 1}\subsubsection{Under Chapter 5, Section 1}\subsubsection{Under Chapter 5, Section 1}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsection{Under Chapter 5}\subsubsection{Under Chapter 5, Section 11}\subsubsection{Under Chapter 5, Section 11}\subsubsection{Under Chapter 5, Section 11} \section{Chapter 6}\subsection{Under Chapter 6}\subsubsection{Under Chapter 6, Section 1}\subsubsection{Under Chapter 6, Section 1}\subsubsection{Under Chapter 6, Section 1}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsection{Under Chapter 6}\subsubsection{Under Chapter 6, Section 11}\subsubsection{Under Chapter 6, Section 11}\subsubsection{Under Chapter 6, Section 11} \section{Chapter 7}\subsection{Under Chapter 7}\subsubsection{Under Chapter 7, Section 1}\subsubsection{Under Chapter 7, Section 1}\subsubsection{Under Chapter 7, Section 1}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsection{Under Chapter 7}\subsubsection{Under Chapter 7, Section 11}\subsubsection{Under Chapter 7, Section 11}\subsubsection{Under Chapter 7, Section 11} \section{Chapter 8}\subsection{Under Chapter 8}\subsubsection{Under Chapter 8, Section 1}\subsubsection{Under Chapter 8, Section 1}\subsubsection{Under Chapter 8, Section 1}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsection{Under Chapter 8}\subsubsection{Under Chapter 8, Section 11}\subsubsection{Under Chapter 8, Section 11}\subsubsection{Under Chapter 8, Section 11} \section{Chapter 9}\subsection{Under Chapter 9}\subsubsection{Under Chapter 9, Section 1}\subsubsection{Under Chapter 9, Section 1}\subsubsection{Under Chapter 9, Section 1}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsection{Under Chapter 9}\subsubsection{Under Chapter 9, Section 11}\subsubsection{Under Chapter 9, Section 11}\subsubsection{Under Chapter 9, Section 11} \section{Chapter 10}\subsection{Under Chapter 10}\subsubsection{Under Chapter 10, Section 1}\subsubsection{Under Chapter 10, Section 1}\subsubsection{Under Chapter 10, Section 1}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsection{Under Chapter 10}\subsubsection{Under Chapter 10, Section 11}\subsubsection{Under Chapter 10, Section 11}\subsubsection{Under Chapter 10, Section 11} \section{Chapter 11}\subsection{Under Chapter 11}\subsubsection{Under Chapter 11, Section 1}\subsubsection{Under Chapter 11, Section 1}\subsubsection{Under Chapter 11, Section 1}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsection{Under Chapter 11}\subsubsection{Under Chapter 11, Section 11}\subsubsection{Under Chapter 11, Section 11}\subsubsection{Under Chapter 11, Section 11} \end{document}

Johannes_B
Site Moderator
Posts: 3803
Joined: Thu Nov 01, 2012 4:08 pm
I thought you were talking about an index done with makeindex.

What you described is indeed common, and we had this a few days ago.

To sum it up, use package tocstyle.

Btw: You are loading package cjkutf8, do you know why? If not, comment it out.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

marek_step
Posts: 25
Joined: Sun Aug 19, 2012 8:48 am
Thank you Johannes_B for the hint.

This package seems to be highly experimental, issuing a warning like:

Package tocstyle Warning: THIS IS AN ALPHA VERSION!
(tocstyle) USAGE OF THIS VERSION IS ON YOUR OWN RISK!
(tocstyle) EVERYTHING MAY HAPPEN!
(tocstyle) EVERYTHING MAY CHANGE IN FUTURE!
(tocstyle) THERE IS NO SUPPORT, IF YOU USE THIS PACKAGE!
(tocstyle) Maybe it would be better, not to load this package.

And the manual is one of those, which are eating up your lifetime with some hints only for the LaTeX gurus, not mentioning one concrete example, how to implement these styles in your document. For those, who are reading this thread:

\usepackage[toctextentriesindented]{tocstyle}