Number of figure and description, between them “-”











up vote
0
down vote

favorite












I have the following problem, I have a figure with its number and description like this:



enter image description here



but I wish to delete the after the "2":



enter image description here



In order to have a thing like this:




Figure3.2 - Simple tables part one




I use this code:



begin{figure}[H]
centering
includegraphics[scale=0.75 ]{./imageName.png}
caption{Simple table part 2}
label{fig:exp:Lc3f3}
end{figure}


Have you some idea in order to replace this point with "-" in such away to separate them?










share|improve this question









New contributor




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




















  • Could you please turn your code fragment into a compilable minimal working example (MWE) by adding the documentclass and the relevant packages? In order to obtain the desired result, you might be interested in the labelsep option of the caption package.
    – leandriis
    Nov 14 at 18:42















up vote
0
down vote

favorite












I have the following problem, I have a figure with its number and description like this:



enter image description here



but I wish to delete the after the "2":



enter image description here



In order to have a thing like this:




Figure3.2 - Simple tables part one




I use this code:



begin{figure}[H]
centering
includegraphics[scale=0.75 ]{./imageName.png}
caption{Simple table part 2}
label{fig:exp:Lc3f3}
end{figure}


Have you some idea in order to replace this point with "-" in such away to separate them?










share|improve this question









New contributor




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




















  • Could you please turn your code fragment into a compilable minimal working example (MWE) by adding the documentclass and the relevant packages? In order to obtain the desired result, you might be interested in the labelsep option of the caption package.
    – leandriis
    Nov 14 at 18:42













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I have the following problem, I have a figure with its number and description like this:



enter image description here



but I wish to delete the after the "2":



enter image description here



In order to have a thing like this:




Figure3.2 - Simple tables part one




I use this code:



begin{figure}[H]
centering
includegraphics[scale=0.75 ]{./imageName.png}
caption{Simple table part 2}
label{fig:exp:Lc3f3}
end{figure}


Have you some idea in order to replace this point with "-" in such away to separate them?










share|improve this question









New contributor




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











I have the following problem, I have a figure with its number and description like this:



enter image description here



but I wish to delete the after the "2":



enter image description here



In order to have a thing like this:




Figure3.2 - Simple tables part one




I use this code:



begin{figure}[H]
centering
includegraphics[scale=0.75 ]{./imageName.png}
caption{Simple table part 2}
label{fig:exp:Lc3f3}
end{figure}


Have you some idea in order to replace this point with "-" in such away to separate them?







captions






share|improve this question









New contributor




Doe 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 question









New contributor




Doe 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 question




share|improve this question








edited Nov 14 at 18:55









Phelype Oleinik

20.4k54277




20.4k54277






New contributor




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









asked Nov 14 at 18:11









Doe

31




31




New contributor




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





New contributor





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






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












  • Could you please turn your code fragment into a compilable minimal working example (MWE) by adding the documentclass and the relevant packages? In order to obtain the desired result, you might be interested in the labelsep option of the caption package.
    – leandriis
    Nov 14 at 18:42


















  • Could you please turn your code fragment into a compilable minimal working example (MWE) by adding the documentclass and the relevant packages? In order to obtain the desired result, you might be interested in the labelsep option of the caption package.
    – leandriis
    Nov 14 at 18:42
















Could you please turn your code fragment into a compilable minimal working example (MWE) by adding the documentclass and the relevant packages? In order to obtain the desired result, you might be interested in the labelsep option of the caption package.
– leandriis
Nov 14 at 18:42




Could you please turn your code fragment into a compilable minimal working example (MWE) by adding the documentclass and the relevant packages? In order to obtain the desired result, you might be interested in the labelsep option of the caption package.
– leandriis
Nov 14 at 18:42










1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










The caption helps for that:



documentclass{book}
usepackage{graphicx}
usepackage{float, caption}
captionsetup[figure]{labelsep=endash}

begin{document}

setcounter{chapter}{3}
begin{figure}[H]
centering
includegraphics[scale=0.5 ]{traccia-table}
caption{Simple table part 1}
label{fig:exp:Lc3f3}
end{figure}

end{document}


enter image description here






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',
    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
    });


    }
    });






    Doe is a new contributor. Be nice, and check out our Code of Conduct.










     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459992%2fnumber-of-figure-and-description-between-them%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








    up vote
    2
    down vote



    accepted










    The caption helps for that:



    documentclass{book}
    usepackage{graphicx}
    usepackage{float, caption}
    captionsetup[figure]{labelsep=endash}

    begin{document}

    setcounter{chapter}{3}
    begin{figure}[H]
    centering
    includegraphics[scale=0.5 ]{traccia-table}
    caption{Simple table part 1}
    label{fig:exp:Lc3f3}
    end{figure}

    end{document}


    enter image description here






    share|improve this answer

























      up vote
      2
      down vote



      accepted










      The caption helps for that:



      documentclass{book}
      usepackage{graphicx}
      usepackage{float, caption}
      captionsetup[figure]{labelsep=endash}

      begin{document}

      setcounter{chapter}{3}
      begin{figure}[H]
      centering
      includegraphics[scale=0.5 ]{traccia-table}
      caption{Simple table part 1}
      label{fig:exp:Lc3f3}
      end{figure}

      end{document}


      enter image description here






      share|improve this answer























        up vote
        2
        down vote



        accepted







        up vote
        2
        down vote



        accepted






        The caption helps for that:



        documentclass{book}
        usepackage{graphicx}
        usepackage{float, caption}
        captionsetup[figure]{labelsep=endash}

        begin{document}

        setcounter{chapter}{3}
        begin{figure}[H]
        centering
        includegraphics[scale=0.5 ]{traccia-table}
        caption{Simple table part 1}
        label{fig:exp:Lc3f3}
        end{figure}

        end{document}


        enter image description here






        share|improve this answer












        The caption helps for that:



        documentclass{book}
        usepackage{graphicx}
        usepackage{float, caption}
        captionsetup[figure]{labelsep=endash}

        begin{document}

        setcounter{chapter}{3}
        begin{figure}[H]
        centering
        includegraphics[scale=0.5 ]{traccia-table}
        caption{Simple table part 1}
        label{fig:exp:Lc3f3}
        end{figure}

        end{document}


        enter image description here







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 14 at 18:56









        Bernard

        162k767192




        162k767192






















            Doe is a new contributor. Be nice, and check out our Code of Conduct.










             

            draft saved


            draft discarded


















            Doe is a new contributor. Be nice, and check out our Code of Conduct.













            Doe is a new contributor. Be nice, and check out our Code of Conduct.












            Doe is a new contributor. Be nice, and check out our Code of Conduct.















             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f459992%2fnumber-of-figure-and-description-between-them%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

            How to change which sound is reproduced for terminal bell?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

            Can I use Tabulator js library in my java Spring + Thymeleaf project?