Spacing between figure number and caption text in table of contentsHow to modify the space between the...

Replace character with another only if repeated and not part of a word

Is oxalic acid dihydrate considered a primary acid standard in analytical chemistry?

System.debug(JSON.Serialize(o)) Not longer shows full string

Is HostGator storing my password in plaintext?

Trouble understanding the speech of overseas colleagues

Crossing the line between justified force and brutality

Opposite of a diet

Method to test if a number is a perfect power?

A Rare Riley Riddle

Is a stroke of luck acceptable after a series of unfavorable events?

How did Doctor Strange see the winning outcome in Avengers: Infinity War?

What can we do to stop prior company from asking us questions?

Is there a korbon needed for conversion?

Where does the Z80 processor start executing from?

What is paid subscription needed for in Mortal Kombat 11?

How to be diplomatic in refusing to write code that breaches the privacy of our users

Why not increase contact surface when reentering the atmosphere?

What is the difference between "behavior" and "behaviour"?

Implement the Thanos sorting algorithm

Applicability of Single Responsibility Principle

Is expanding the research of a group into machine learning as a PhD student risky?

Escape a backup date in a file name

Arithmetic mean geometric mean inequality unclear

Large drywall patch supports



Spacing between figure number and caption text in table of contents


How to modify the space between the numbers and text of sectioning titles in the table of contents?













0















I want to have equal spaces between my caption number and caption text on the list of figures and list of tables. I tried modifying the lines as given Here But the list of figures have less space in the table of contents compared to the List of tables. Here is my MWE



   documentclass{report}
usepackage{etoolbox}
usepackage{lipsum}
usepackage{tocloft}
makeatletter
patchcmd{@caption}{csname the#1endcsname}{textbf{csnamefnum@#1endcsname:}}{}{}
renewcommand*l@figure{@dottedtocline{1}{1.5em}{5.6em}}
letl@tablel@figure
makeatother
begin{document}
listoffigures
listoftables
begin{figure}[h]
caption{A figure}
centering xyz
end{figure}
lipsum[1-1]
begin{table}[h]
caption{Some table}
centering abc
end{table}
end{document}


Is it possible to have equal spacing on both tables and figures?









share



























    0















    I want to have equal spaces between my caption number and caption text on the list of figures and list of tables. I tried modifying the lines as given Here But the list of figures have less space in the table of contents compared to the List of tables. Here is my MWE



       documentclass{report}
    usepackage{etoolbox}
    usepackage{lipsum}
    usepackage{tocloft}
    makeatletter
    patchcmd{@caption}{csname the#1endcsname}{textbf{csnamefnum@#1endcsname:}}{}{}
    renewcommand*l@figure{@dottedtocline{1}{1.5em}{5.6em}}
    letl@tablel@figure
    makeatother
    begin{document}
    listoffigures
    listoftables
    begin{figure}[h]
    caption{A figure}
    centering xyz
    end{figure}
    lipsum[1-1]
    begin{table}[h]
    caption{Some table}
    centering abc
    end{table}
    end{document}


    Is it possible to have equal spacing on both tables and figures?









    share

























      0












      0








      0








      I want to have equal spaces between my caption number and caption text on the list of figures and list of tables. I tried modifying the lines as given Here But the list of figures have less space in the table of contents compared to the List of tables. Here is my MWE



         documentclass{report}
      usepackage{etoolbox}
      usepackage{lipsum}
      usepackage{tocloft}
      makeatletter
      patchcmd{@caption}{csname the#1endcsname}{textbf{csnamefnum@#1endcsname:}}{}{}
      renewcommand*l@figure{@dottedtocline{1}{1.5em}{5.6em}}
      letl@tablel@figure
      makeatother
      begin{document}
      listoffigures
      listoftables
      begin{figure}[h]
      caption{A figure}
      centering xyz
      end{figure}
      lipsum[1-1]
      begin{table}[h]
      caption{Some table}
      centering abc
      end{table}
      end{document}


      Is it possible to have equal spacing on both tables and figures?









      share














      I want to have equal spaces between my caption number and caption text on the list of figures and list of tables. I tried modifying the lines as given Here But the list of figures have less space in the table of contents compared to the List of tables. Here is my MWE



         documentclass{report}
      usepackage{etoolbox}
      usepackage{lipsum}
      usepackage{tocloft}
      makeatletter
      patchcmd{@caption}{csname the#1endcsname}{textbf{csnamefnum@#1endcsname:}}{}{}
      renewcommand*l@figure{@dottedtocline{1}{1.5em}{5.6em}}
      letl@tablel@figure
      makeatother
      begin{document}
      listoffigures
      listoftables
      begin{figure}[h]
      caption{A figure}
      centering xyz
      end{figure}
      lipsum[1-1]
      begin{table}[h]
      caption{Some table}
      centering abc
      end{table}
      end{document}


      Is it possible to have equal spacing on both tables and figures?







      table-of-contents titlesec tocloft titletoc





      share












      share










      share



      share










      asked 3 mins ago









      Mafeni AlphaMafeni Alpha

      156




      156






















          0






          active

          oldest

          votes











          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%2f481839%2fspacing-between-figure-number-and-caption-text-in-table-of-contents%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f481839%2fspacing-between-figure-number-and-caption-text-in-table-of-contents%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

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          Castillo d'Acher Características Menú de navegación