Skip to content

All Table of Content entries with three digit page numbers give Overfull hbox #125

Description

@atifraza

My thesis is more than 100 pages long and all the TOC entries that have three-digit page numbers have associated Overfull hbox warnings, even though these entries are not multiline.
Even the Bibliography entry has an associated Overfull hbox.

A snippet from the TOC file is pasted below.
Please let me know if any other information is required.

\defcounter {refsection}{0}\relax 
\contentsline {subsection}{\numberline {6.3.1}Results}{101}{subsection.6.3.1}% 
\defcounter {refsection}{0}\relax 
\contentsline {section}{\numberline {6.4}Conclusion}{102}{section.6.4}% 
\defcounter {refsection}{0}\relax 
...
\contentsline {chapter}{\nonumberline Bibliography}{111}{chapter*.43}% 

Activity

  1. atifraza commented on Jan 4, 2021

    @atifraza
    Author

    I have created a minimum working example with a very long first chapter.
    Another thing I noted is that even the list of figures/tables have this issue.

    min-working-example.zip

  2. dreua commented on Jan 4, 2021

    @dreua

    I get Overfull Hbox warnings even with the included example, does it compile clean on your platform?

  3. atifraza commented on Jan 5, 2021

    @atifraza
    Author

    There are other Overfull hbox warnings, however, these specific ones occur only when the entries in the table of contents/figures/tables have a page number with three digits.

    A MWE is attached as well CleanThesis-MWE.zip.

    I changed line 8 in chapter one (introduction) to make the document longer than 100 pages.
    Commenting line 8 and uncommenting line 9 should give the exact release version for 0.4.1.

  4. dreua commented on Jan 5, 2021

    @dreua

    As a workaround for your 3 digit page numbers put this in your cleanthesis.sty (comments optional of course 😉 )

    % Fix for 3 digit page numbers in TOC:
    % patch size used in komascript according to 
    % (german only) http://projekte.dante.de/DanteFAQ/Verzeichnisse#2
    \renewcommand\@pnumwidth{1.8em} % fits for 3 digit numbers

    Example: https://www.overleaf.com/read/dcfhnzckzpsk

  5. dreua commented on Jan 23, 2021

    @dreua

    Got an answer for the other Overfull hbox warnings on stackoverflow.

  6. atifraza commented on Jan 24, 2021

    @atifraza
    Author

    Hi @dreua, I suspect PR 110 is related to the other Overfull hbox warnings.
    I cannot confirm right now due to a looming deadline.

  7. dreua commented on Jan 24, 2021

    @dreua

    @atifraza oh snap, I only searched the issues for the hbox issue and didn't see that PR. Thanks for the info, sadly it's too late now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions