Still on caption












2















I have another problem with figure caption. I have three figures that should be combined in one. At the bottom of each of them I want to put a simple letter (a), (b) and (c) and at the top of the entire figure I would like to put the title. I tried the following:



documentclass{article}
usepackage{graphicx}
usepackage[labelformat=simple]{subfig}
begin{document}
begin{figure}[h]
caption{Main caption dots}
centering
subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
label{fig:myfigure}
end{figure}
end{document}


However the subcaption are at the top and they are not in the bracket - a instead of (a).



Any hint on this? Thanks in advance.










share|improve this question





























    2















    I have another problem with figure caption. I have three figures that should be combined in one. At the bottom of each of them I want to put a simple letter (a), (b) and (c) and at the top of the entire figure I would like to put the title. I tried the following:



    documentclass{article}
    usepackage{graphicx}
    usepackage[labelformat=simple]{subfig}
    begin{document}
    begin{figure}[h]
    caption{Main caption dots}
    centering
    subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
    subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
    subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
    label{fig:myfigure}
    end{figure}
    end{document}


    However the subcaption are at the top and they are not in the bracket - a instead of (a).



    Any hint on this? Thanks in advance.










    share|improve this question



























      2












      2








      2








      I have another problem with figure caption. I have three figures that should be combined in one. At the bottom of each of them I want to put a simple letter (a), (b) and (c) and at the top of the entire figure I would like to put the title. I tried the following:



      documentclass{article}
      usepackage{graphicx}
      usepackage[labelformat=simple]{subfig}
      begin{document}
      begin{figure}[h]
      caption{Main caption dots}
      centering
      subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
      subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
      subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
      label{fig:myfigure}
      end{figure}
      end{document}


      However the subcaption are at the top and they are not in the bracket - a instead of (a).



      Any hint on this? Thanks in advance.










      share|improve this question
















      I have another problem with figure caption. I have three figures that should be combined in one. At the bottom of each of them I want to put a simple letter (a), (b) and (c) and at the top of the entire figure I would like to put the title. I tried the following:



      documentclass{article}
      usepackage{graphicx}
      usepackage[labelformat=simple]{subfig}
      begin{document}
      begin{figure}[h]
      caption{Main caption dots}
      centering
      subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
      subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
      subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
      label{fig:myfigure}
      end{figure}
      end{document}


      However the subcaption are at the top and they are not in the bracket - a instead of (a).



      Any hint on this? Thanks in advance.







      captions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 5 at 12:25







      Dario

















      asked Feb 5 at 11:57









      DarioDario

      646415




      646415






















          1 Answer
          1






          active

          oldest

          votes


















          2














          Please see that you should not place command label{} as you did in your shown code. command label should always follow command caption. I changed that in the following code.



          To get the caption at the beginning of the figure simply delete option labelformat=simple for subfig:



          documentclass{article}

          usepackage{graphicx}
          usepackage{subfig} % <=================================================


          begin{document}
          begin{figure}
          caption{Main caption}
          label{fig:myfigure} % <==============================================
          centering
          subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
          subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
          subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
          end{figure}
          end{document}


          and the resulting pdf:



          resulting pdf






          share|improve this answer
























          • Thanks Kurt. How can I move (a), (b) ad (c) at the bottom of each subfigure keeping the caption for the entire figure at the top?

            – Dario
            Feb 5 at 12:42











          • I was able to do it using usepackage[position=bottom]{subfig}. Thanks Kurt

            – Dario
            Feb 5 at 12:53






          • 1





            @Dario I feared you will ask that. Well, at last I think you should not do it. Best typography is to have captions under the figure and captions of tables at the beginning of the table. Never mix placing the caption (as you want to do for figures and subfigures) to be top or bottom. You can do by using option position=bottom for subfig, but I do not recommend it!

            – Kurt
            Feb 5 at 12:56











          • Thanks. Unfortunately, the journal I am going to submit my article is requiring that.

            – Dario
            Feb 5 at 12:57











          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%2f473468%2fstill-on-caption%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









          2














          Please see that you should not place command label{} as you did in your shown code. command label should always follow command caption. I changed that in the following code.



          To get the caption at the beginning of the figure simply delete option labelformat=simple for subfig:



          documentclass{article}

          usepackage{graphicx}
          usepackage{subfig} % <=================================================


          begin{document}
          begin{figure}
          caption{Main caption}
          label{fig:myfigure} % <==============================================
          centering
          subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
          subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
          subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
          end{figure}
          end{document}


          and the resulting pdf:



          resulting pdf






          share|improve this answer
























          • Thanks Kurt. How can I move (a), (b) ad (c) at the bottom of each subfigure keeping the caption for the entire figure at the top?

            – Dario
            Feb 5 at 12:42











          • I was able to do it using usepackage[position=bottom]{subfig}. Thanks Kurt

            – Dario
            Feb 5 at 12:53






          • 1





            @Dario I feared you will ask that. Well, at last I think you should not do it. Best typography is to have captions under the figure and captions of tables at the beginning of the table. Never mix placing the caption (as you want to do for figures and subfigures) to be top or bottom. You can do by using option position=bottom for subfig, but I do not recommend it!

            – Kurt
            Feb 5 at 12:56











          • Thanks. Unfortunately, the journal I am going to submit my article is requiring that.

            – Dario
            Feb 5 at 12:57
















          2














          Please see that you should not place command label{} as you did in your shown code. command label should always follow command caption. I changed that in the following code.



          To get the caption at the beginning of the figure simply delete option labelformat=simple for subfig:



          documentclass{article}

          usepackage{graphicx}
          usepackage{subfig} % <=================================================


          begin{document}
          begin{figure}
          caption{Main caption}
          label{fig:myfigure} % <==============================================
          centering
          subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
          subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
          subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
          end{figure}
          end{document}


          and the resulting pdf:



          resulting pdf






          share|improve this answer
























          • Thanks Kurt. How can I move (a), (b) ad (c) at the bottom of each subfigure keeping the caption for the entire figure at the top?

            – Dario
            Feb 5 at 12:42











          • I was able to do it using usepackage[position=bottom]{subfig}. Thanks Kurt

            – Dario
            Feb 5 at 12:53






          • 1





            @Dario I feared you will ask that. Well, at last I think you should not do it. Best typography is to have captions under the figure and captions of tables at the beginning of the table. Never mix placing the caption (as you want to do for figures and subfigures) to be top or bottom. You can do by using option position=bottom for subfig, but I do not recommend it!

            – Kurt
            Feb 5 at 12:56











          • Thanks. Unfortunately, the journal I am going to submit my article is requiring that.

            – Dario
            Feb 5 at 12:57














          2












          2








          2







          Please see that you should not place command label{} as you did in your shown code. command label should always follow command caption. I changed that in the following code.



          To get the caption at the beginning of the figure simply delete option labelformat=simple for subfig:



          documentclass{article}

          usepackage{graphicx}
          usepackage{subfig} % <=================================================


          begin{document}
          begin{figure}
          caption{Main caption}
          label{fig:myfigure} % <==============================================
          centering
          subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
          subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
          subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
          end{figure}
          end{document}


          and the resulting pdf:



          resulting pdf






          share|improve this answer













          Please see that you should not place command label{} as you did in your shown code. command label should always follow command caption. I changed that in the following code.



          To get the caption at the beginning of the figure simply delete option labelformat=simple for subfig:



          documentclass{article}

          usepackage{graphicx}
          usepackage{subfig} % <=================================================


          begin{document}
          begin{figure}
          caption{Main caption}
          label{fig:myfigure} % <==============================================
          centering
          subfloat{includegraphics[scale=0.5]{example-image-a}label{fig:a}} \
          subfloat{includegraphics[scale=0.5]{example-image-b}label{fig:b}} \
          subfloat{includegraphics[scale=0.5]{example-image-c}label{fig:c}}
          end{figure}
          end{document}


          and the resulting pdf:



          resulting pdf







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 5 at 12:40









          KurtKurt

          37.6k847162




          37.6k847162













          • Thanks Kurt. How can I move (a), (b) ad (c) at the bottom of each subfigure keeping the caption for the entire figure at the top?

            – Dario
            Feb 5 at 12:42











          • I was able to do it using usepackage[position=bottom]{subfig}. Thanks Kurt

            – Dario
            Feb 5 at 12:53






          • 1





            @Dario I feared you will ask that. Well, at last I think you should not do it. Best typography is to have captions under the figure and captions of tables at the beginning of the table. Never mix placing the caption (as you want to do for figures and subfigures) to be top or bottom. You can do by using option position=bottom for subfig, but I do not recommend it!

            – Kurt
            Feb 5 at 12:56











          • Thanks. Unfortunately, the journal I am going to submit my article is requiring that.

            – Dario
            Feb 5 at 12:57



















          • Thanks Kurt. How can I move (a), (b) ad (c) at the bottom of each subfigure keeping the caption for the entire figure at the top?

            – Dario
            Feb 5 at 12:42











          • I was able to do it using usepackage[position=bottom]{subfig}. Thanks Kurt

            – Dario
            Feb 5 at 12:53






          • 1





            @Dario I feared you will ask that. Well, at last I think you should not do it. Best typography is to have captions under the figure and captions of tables at the beginning of the table. Never mix placing the caption (as you want to do for figures and subfigures) to be top or bottom. You can do by using option position=bottom for subfig, but I do not recommend it!

            – Kurt
            Feb 5 at 12:56











          • Thanks. Unfortunately, the journal I am going to submit my article is requiring that.

            – Dario
            Feb 5 at 12:57

















          Thanks Kurt. How can I move (a), (b) ad (c) at the bottom of each subfigure keeping the caption for the entire figure at the top?

          – Dario
          Feb 5 at 12:42





          Thanks Kurt. How can I move (a), (b) ad (c) at the bottom of each subfigure keeping the caption for the entire figure at the top?

          – Dario
          Feb 5 at 12:42













          I was able to do it using usepackage[position=bottom]{subfig}. Thanks Kurt

          – Dario
          Feb 5 at 12:53





          I was able to do it using usepackage[position=bottom]{subfig}. Thanks Kurt

          – Dario
          Feb 5 at 12:53




          1




          1





          @Dario I feared you will ask that. Well, at last I think you should not do it. Best typography is to have captions under the figure and captions of tables at the beginning of the table. Never mix placing the caption (as you want to do for figures and subfigures) to be top or bottom. You can do by using option position=bottom for subfig, but I do not recommend it!

          – Kurt
          Feb 5 at 12:56





          @Dario I feared you will ask that. Well, at last I think you should not do it. Best typography is to have captions under the figure and captions of tables at the beginning of the table. Never mix placing the caption (as you want to do for figures and subfigures) to be top or bottom. You can do by using option position=bottom for subfig, but I do not recommend it!

          – Kurt
          Feb 5 at 12:56













          Thanks. Unfortunately, the journal I am going to submit my article is requiring that.

          – Dario
          Feb 5 at 12:57





          Thanks. Unfortunately, the journal I am going to submit my article is requiring that.

          – Dario
          Feb 5 at 12:57


















          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%2f473468%2fstill-on-caption%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

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?