Overfull hbox in tocminitoc package: overfull hboxRoman chapter numbers cause overfull hbox in...

Reverse the word in a string with the same order in javascript

When India mathematicians did know Euclid's Elements?

Python "triplet" dictionary?

get exit status from system() call

When and why did journal article titles become descriptive, rather than creatively allusive?

Why does processed meat contain preservatives, while canned fish needs not?

Why does nature favour the Laplacian?

Pressure to defend the relevance of one's area of mathematics

Is thermodynamics only applicable to systems in equilibrium?

How to verbalise code in Mathematica?

Why is current rating for multicore cable lower than single core with the same cross section?

Will tsunami waves travel forever if there was no land?

Has any spacecraft ever had the ability to directly communicate with civilian air traffic control?

How to set the font color of quantity objects (Version 11.3 vs version 12)?

Illegal assignment from SObject to Contact

How to delegate to implementing class

Can fracking help reduce CO2?

Toggle Overlays shortcut?

How can Republicans who favour free markets, consistently express anger when they don't like the outcome of that choice?

Confused by notation of atomic number Z and mass number A on periodic table of elements

Was there a Viking Exchange as well as a Columbian one?

Why do Ichisongas hate elephants and hippos?

In gnome-terminal only 2 out of 3 zoom keys work

How to determine the actual or "true" resolution of a digital photograph?



Overfull hbox in toc


minitoc package: overfull hboxRoman chapter numbers cause overfull hbox in titletoc-ToCChange title of Table of ContentsPage number on the left with book classMemoir: Custom Table of Contents with “veelo” Chapter StyleList of figures hbox overfullInvisible Overfull hbox in tocHow to show Mini table only sections in a chapter not other chapter?Warnings when changing chapter's appearence in TOC with tocloftOverfull hbox in table of contents page numbers with kpfonts













1















While compiling the code:



documentclass[draft]{book}
% ---------------------------------------------
usepackage{titletoc}
contentsmargin{0pt}
titlecontents{chapter}[0pc]%
{addvspace{2.7ex}fontsize{14}{14}selectfont}%
{contentslabel[thecontentslabel]{0pc}hspace{1pc}}%
{}%
{nolinebreakhfillthecontentspage}
% ---------------------------------------------
begin{document}
tableofcontents
chapter{A chapter}
end{document}


I get the warning:



Overfull hbox (7.04991pt too wide) detected at line 1


What should I change to remove the warning?










share|improve this question



























    1















    While compiling the code:



    documentclass[draft]{book}
    % ---------------------------------------------
    usepackage{titletoc}
    contentsmargin{0pt}
    titlecontents{chapter}[0pc]%
    {addvspace{2.7ex}fontsize{14}{14}selectfont}%
    {contentslabel[thecontentslabel]{0pc}hspace{1pc}}%
    {}%
    {nolinebreakhfillthecontentspage}
    % ---------------------------------------------
    begin{document}
    tableofcontents
    chapter{A chapter}
    end{document}


    I get the warning:



    Overfull hbox (7.04991pt too wide) detected at line 1


    What should I change to remove the warning?










    share|improve this question

























      1












      1








      1








      While compiling the code:



      documentclass[draft]{book}
      % ---------------------------------------------
      usepackage{titletoc}
      contentsmargin{0pt}
      titlecontents{chapter}[0pc]%
      {addvspace{2.7ex}fontsize{14}{14}selectfont}%
      {contentslabel[thecontentslabel]{0pc}hspace{1pc}}%
      {}%
      {nolinebreakhfillthecontentspage}
      % ---------------------------------------------
      begin{document}
      tableofcontents
      chapter{A chapter}
      end{document}


      I get the warning:



      Overfull hbox (7.04991pt too wide) detected at line 1


      What should I change to remove the warning?










      share|improve this question














      While compiling the code:



      documentclass[draft]{book}
      % ---------------------------------------------
      usepackage{titletoc}
      contentsmargin{0pt}
      titlecontents{chapter}[0pc]%
      {addvspace{2.7ex}fontsize{14}{14}selectfont}%
      {contentslabel[thecontentslabel]{0pc}hspace{1pc}}%
      {}%
      {nolinebreakhfillthecontentspage}
      % ---------------------------------------------
      begin{document}
      tableofcontents
      chapter{A chapter}
      end{document}


      I get the warning:



      Overfull hbox (7.04991pt too wide) detected at line 1


      What should I change to remove the warning?







      table-of-contents titletoc






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 49 mins ago









      noibenoibe

      596113




      596113






















          1 Answer
          1






          active

          oldest

          votes


















          1














          With 0pc there is not enough room for the chapter number. For the MWE 7.1pt seems to be enough to accommodate the 1, in your real document, the required space may be larger.



          documentclass[draft]{book}
          % ---------------------------------------------
          usepackage{titletoc}
          contentsmargin{0pt}
          titlecontents{chapter}[7.1pt]% <------------------------- change here
          {addvspace{2.7ex}fontsize{14}{14}selectfont}%
          {contentslabel[thecontentslabel]{7.1pt}hspace{1pc}}% <- and here
          {}%
          {nolinebreakhfillthecontentspage}
          % ---------------------------------------------
          begin{document}
          tableofcontents
          chapter{A chapter}
          end{document}





          share|improve this answer








          New contributor




          Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488146%2foverfull-hbox-in-toc%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            With 0pc there is not enough room for the chapter number. For the MWE 7.1pt seems to be enough to accommodate the 1, in your real document, the required space may be larger.



            documentclass[draft]{book}
            % ---------------------------------------------
            usepackage{titletoc}
            contentsmargin{0pt}
            titlecontents{chapter}[7.1pt]% <------------------------- change here
            {addvspace{2.7ex}fontsize{14}{14}selectfont}%
            {contentslabel[thecontentslabel]{7.1pt}hspace{1pc}}% <- and here
            {}%
            {nolinebreakhfillthecontentspage}
            % ---------------------------------------------
            begin{document}
            tableofcontents
            chapter{A chapter}
            end{document}





            share|improve this answer








            New contributor




            Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              1














              With 0pc there is not enough room for the chapter number. For the MWE 7.1pt seems to be enough to accommodate the 1, in your real document, the required space may be larger.



              documentclass[draft]{book}
              % ---------------------------------------------
              usepackage{titletoc}
              contentsmargin{0pt}
              titlecontents{chapter}[7.1pt]% <------------------------- change here
              {addvspace{2.7ex}fontsize{14}{14}selectfont}%
              {contentslabel[thecontentslabel]{7.1pt}hspace{1pc}}% <- and here
              {}%
              {nolinebreakhfillthecontentspage}
              % ---------------------------------------------
              begin{document}
              tableofcontents
              chapter{A chapter}
              end{document}





              share|improve this answer








              New contributor




              Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                1












                1








                1







                With 0pc there is not enough room for the chapter number. For the MWE 7.1pt seems to be enough to accommodate the 1, in your real document, the required space may be larger.



                documentclass[draft]{book}
                % ---------------------------------------------
                usepackage{titletoc}
                contentsmargin{0pt}
                titlecontents{chapter}[7.1pt]% <------------------------- change here
                {addvspace{2.7ex}fontsize{14}{14}selectfont}%
                {contentslabel[thecontentslabel]{7.1pt}hspace{1pc}}% <- and here
                {}%
                {nolinebreakhfillthecontentspage}
                % ---------------------------------------------
                begin{document}
                tableofcontents
                chapter{A chapter}
                end{document}





                share|improve this answer








                New contributor




                Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                With 0pc there is not enough room for the chapter number. For the MWE 7.1pt seems to be enough to accommodate the 1, in your real document, the required space may be larger.



                documentclass[draft]{book}
                % ---------------------------------------------
                usepackage{titletoc}
                contentsmargin{0pt}
                titlecontents{chapter}[7.1pt]% <------------------------- change here
                {addvspace{2.7ex}fontsize{14}{14}selectfont}%
                {contentslabel[thecontentslabel]{7.1pt}hspace{1pc}}% <- and here
                {}%
                {nolinebreakhfillthecontentspage}
                % ---------------------------------------------
                begin{document}
                tableofcontents
                chapter{A chapter}
                end{document}






                share|improve this answer








                New contributor




                Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 44 mins ago









                JonathanJonathan

                1949




                1949




                New contributor




                Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Jonathan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f488146%2foverfull-hbox-in-toc%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Installing LyX: “No textclass is found.”LyX installation error- text class not found- 'Reconfigure' or...

                    (1602) Indiana Índice Designación y nombre Características orbitales Véase...

                    Universidad Autónoma de Occidente Índice Historia Campus Facultades Programas Académicos Medios de...