Aligning Multi-line Caption in list of figures The 2019 Stack Overflow Developer Survey...

The variadic template constructor of my class cannot modify my class members, why is that so?

Match Roman Numerals

Are my PIs rude or am I just being too sensitive?

How did the audience guess the pentatonic scale in Bobby McFerrin's presentation?

The following signatures were invalid: EXPKEYSIG 1397BC53640DB551

In horse breeding, what is the female equivalent of putting a horse out "to stud"?

system() function string length limit

Can a novice safely splice in wire to lengthen 5V charging cable?

Do working physicists consider Newtonian mechanics to be "falsified"?

Did God make two great lights or did He make the great light two?

How do I add random spotting to the same face in cycles?

"... to apply for a visa" or "... and applied for a visa"?

Wall plug outlet change

Does Parliament hold absolute power in the UK?

Change bounding box of math glyphs in LuaTeX

Was credit for the black hole image misattributed?

Problems with Ubuntu mount /tmp

How many people can fit inside Mordenkainen's Magnificent Mansion?

How to split my screen on my Macbook Air?

How do you keep chess fun when your opponent constantly beats you?

Segmentation fault output is suppressed when piping stdin into a function. Why?

How are presidential pardons supposed to be used?

Difference between "generating set" and free product?

First use of “packing” as in carrying a gun



Aligning Multi-line Caption in list of figures



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Indent problem in list of tables (and figures) captionsHow do I control the space between the figure number (or table number) and the caption on the list of figures (list of tables) page?Combined List of Figures and Tables?List of Figures Citation IssueInclude both short and long caption in list of figureshow can i give a figure an extended caption without it going in my table of figures?list of figures and tables when there are no figures or tables?A series of diagrams in the list of figuresOne caption for multi page figureManipulating list of figures












1















I have modified my list of figures so that it includes Fig. figure number before each caption in List of Figures. This done by using the following code.



{%
letoldnumberlinenumberline%
renewcommand{numberline}{tablename~oldnumberline}%
listoftables%
}


However, I am not able to align figure caption which extends to second line. What should be done to align the multi-line figure caption in list of figures.










share|improve this question














bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 7





    Can you make a minimal working example (MWE)?

    – user36296
    Mar 18 '18 at 13:56











  • You would have better luck modifying l@figure and l@table, which set the indentation,

    – John Kormylo
    Mar 18 '18 at 17:21











  • See tex.stackexchange.com/questions/326573/… (although it has other modifications you may not need).

    – John Kormylo
    Mar 18 '18 at 17:33











  • I tried the suggestion in above comment. However its showing following error ! Undefined control sequence. l@figure ->@tocline

    – S.Dev
    Mar 19 '18 at 4:13













  • The first step is finding the current definition of l@figure, which usually depends on the document class. meaningl@figure would belp. (don't forget makeatletter ... makeatother)

    – John Kormylo
    Mar 19 '18 at 16:53


















1















I have modified my list of figures so that it includes Fig. figure number before each caption in List of Figures. This done by using the following code.



{%
letoldnumberlinenumberline%
renewcommand{numberline}{tablename~oldnumberline}%
listoftables%
}


However, I am not able to align figure caption which extends to second line. What should be done to align the multi-line figure caption in list of figures.










share|improve this question














bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 7





    Can you make a minimal working example (MWE)?

    – user36296
    Mar 18 '18 at 13:56











  • You would have better luck modifying l@figure and l@table, which set the indentation,

    – John Kormylo
    Mar 18 '18 at 17:21











  • See tex.stackexchange.com/questions/326573/… (although it has other modifications you may not need).

    – John Kormylo
    Mar 18 '18 at 17:33











  • I tried the suggestion in above comment. However its showing following error ! Undefined control sequence. l@figure ->@tocline

    – S.Dev
    Mar 19 '18 at 4:13













  • The first step is finding the current definition of l@figure, which usually depends on the document class. meaningl@figure would belp. (don't forget makeatletter ... makeatother)

    – John Kormylo
    Mar 19 '18 at 16:53
















1












1








1








I have modified my list of figures so that it includes Fig. figure number before each caption in List of Figures. This done by using the following code.



{%
letoldnumberlinenumberline%
renewcommand{numberline}{tablename~oldnumberline}%
listoftables%
}


However, I am not able to align figure caption which extends to second line. What should be done to align the multi-line figure caption in list of figures.










share|improve this question














I have modified my list of figures so that it includes Fig. figure number before each caption in List of Figures. This done by using the following code.



{%
letoldnumberlinenumberline%
renewcommand{numberline}{tablename~oldnumberline}%
listoftables%
}


However, I am not able to align figure caption which extends to second line. What should be done to align the multi-line figure caption in list of figures.







table-of-contents captions align






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Mar 18 '18 at 13:53









S.DevS.Dev

256




256





bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 13 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 7





    Can you make a minimal working example (MWE)?

    – user36296
    Mar 18 '18 at 13:56











  • You would have better luck modifying l@figure and l@table, which set the indentation,

    – John Kormylo
    Mar 18 '18 at 17:21











  • See tex.stackexchange.com/questions/326573/… (although it has other modifications you may not need).

    – John Kormylo
    Mar 18 '18 at 17:33











  • I tried the suggestion in above comment. However its showing following error ! Undefined control sequence. l@figure ->@tocline

    – S.Dev
    Mar 19 '18 at 4:13













  • The first step is finding the current definition of l@figure, which usually depends on the document class. meaningl@figure would belp. (don't forget makeatletter ... makeatother)

    – John Kormylo
    Mar 19 '18 at 16:53
















  • 7





    Can you make a minimal working example (MWE)?

    – user36296
    Mar 18 '18 at 13:56











  • You would have better luck modifying l@figure and l@table, which set the indentation,

    – John Kormylo
    Mar 18 '18 at 17:21











  • See tex.stackexchange.com/questions/326573/… (although it has other modifications you may not need).

    – John Kormylo
    Mar 18 '18 at 17:33











  • I tried the suggestion in above comment. However its showing following error ! Undefined control sequence. l@figure ->@tocline

    – S.Dev
    Mar 19 '18 at 4:13













  • The first step is finding the current definition of l@figure, which usually depends on the document class. meaningl@figure would belp. (don't forget makeatletter ... makeatother)

    – John Kormylo
    Mar 19 '18 at 16:53










7




7





Can you make a minimal working example (MWE)?

– user36296
Mar 18 '18 at 13:56





Can you make a minimal working example (MWE)?

– user36296
Mar 18 '18 at 13:56













You would have better luck modifying l@figure and l@table, which set the indentation,

– John Kormylo
Mar 18 '18 at 17:21





You would have better luck modifying l@figure and l@table, which set the indentation,

– John Kormylo
Mar 18 '18 at 17:21













See tex.stackexchange.com/questions/326573/… (although it has other modifications you may not need).

– John Kormylo
Mar 18 '18 at 17:33





See tex.stackexchange.com/questions/326573/… (although it has other modifications you may not need).

– John Kormylo
Mar 18 '18 at 17:33













I tried the suggestion in above comment. However its showing following error ! Undefined control sequence. l@figure ->@tocline

– S.Dev
Mar 19 '18 at 4:13







I tried the suggestion in above comment. However its showing following error ! Undefined control sequence. l@figure ->@tocline

– S.Dev
Mar 19 '18 at 4:13















The first step is finding the current definition of l@figure, which usually depends on the document class. meaningl@figure would belp. (don't forget makeatletter ... makeatother)

– John Kormylo
Mar 19 '18 at 16:53







The first step is finding the current definition of l@figure, which usually depends on the document class. meaningl@figure would belp. (don't forget makeatletter ... makeatother)

– John Kormylo
Mar 19 '18 at 16:53












1 Answer
1






active

oldest

votes


















0














I am able to get alignment using this code



contentsmargin{1cm}
titlecontents{figure}
[2.5cm]
{}
{makebox[0pt][r]{%
makebox[2.5cm][l]{Figure~thecontentslabel}%
}%
}
{hspace{-2.5cm}}
{titlerule*[6pt]{}contentspage}


However, in some cases the page number comes down






share|improve this answer
























    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%2f421832%2faligning-multi-line-caption-in-list-of-figures%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









    0














    I am able to get alignment using this code



    contentsmargin{1cm}
    titlecontents{figure}
    [2.5cm]
    {}
    {makebox[0pt][r]{%
    makebox[2.5cm][l]{Figure~thecontentslabel}%
    }%
    }
    {hspace{-2.5cm}}
    {titlerule*[6pt]{}contentspage}


    However, in some cases the page number comes down






    share|improve this answer




























      0














      I am able to get alignment using this code



      contentsmargin{1cm}
      titlecontents{figure}
      [2.5cm]
      {}
      {makebox[0pt][r]{%
      makebox[2.5cm][l]{Figure~thecontentslabel}%
      }%
      }
      {hspace{-2.5cm}}
      {titlerule*[6pt]{}contentspage}


      However, in some cases the page number comes down






      share|improve this answer


























        0












        0








        0







        I am able to get alignment using this code



        contentsmargin{1cm}
        titlecontents{figure}
        [2.5cm]
        {}
        {makebox[0pt][r]{%
        makebox[2.5cm][l]{Figure~thecontentslabel}%
        }%
        }
        {hspace{-2.5cm}}
        {titlerule*[6pt]{}contentspage}


        However, in some cases the page number comes down






        share|improve this answer













        I am able to get alignment using this code



        contentsmargin{1cm}
        titlecontents{figure}
        [2.5cm]
        {}
        {makebox[0pt][r]{%
        makebox[2.5cm][l]{Figure~thecontentslabel}%
        }%
        }
        {hspace{-2.5cm}}
        {titlerule*[6pt]{}contentspage}


        However, in some cases the page number comes down







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 19 '18 at 16:59









        S.DevS.Dev

        256




        256






























            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%2f421832%2faligning-multi-line-caption-in-list-of-figures%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

            Can't compile dgruyter and caption packagesLaTeX templates/packages for writing a patent specificationLatex...

            Schneeberg (Smreczany) Bibliografia | Menu...

            Hans Bellmer Spis treści Życiorys | Upamiętnienie | Przypisy | Bibliografia | Linki zewnętrzne |...