No caption number for figures and tables












18















I want to make some of my figures just without a number.



Instead of Fig. 1: Caption. I want simply Caption.



I tried to do caption*, but it doesn't work for me even after using the caption package upgrade.



Maybe there are another ways to do this?










share|improve this question





























    18















    I want to make some of my figures just without a number.



    Instead of Fig. 1: Caption. I want simply Caption.



    I tried to do caption*, but it doesn't work for me even after using the caption package upgrade.



    Maybe there are another ways to do this?










    share|improve this question



























      18












      18








      18


      5






      I want to make some of my figures just without a number.



      Instead of Fig. 1: Caption. I want simply Caption.



      I tried to do caption*, but it doesn't work for me even after using the caption package upgrade.



      Maybe there are another ways to do this?










      share|improve this question
















      I want to make some of my figures just without a number.



      Instead of Fig. 1: Caption. I want simply Caption.



      I tried to do caption*, but it doesn't work for me even after using the caption package upgrade.



      Maybe there are another ways to do this?







      floats captions






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 14 '16 at 17:14









      Null

      1,09831223




      1,09831223










      asked Sep 3 '14 at 1:19









      Mihail KondratyevMihail Kondratyev

      139118




      139118






















          3 Answers
          3






          active

          oldest

          votes


















          32














          You could use captionsetup from the package caption that way:



          documentclass{article}

          usepackage{caption}

          usepackage{graphicx}

          begin{document}

          begin{figure}[h!]
          centering
          includegraphics[height=2cm]{figure}
          caption{Une figure.}
          end{figure}

          begin{figure}[h!]
          centering
          includegraphics[height=2cm]{figure1}
          captionsetup{labelformat=empty}
          caption{Une figure.}
          end{figure}

          end{document}


          This gives:



          screenshot






          share|improve this answer


























          • Thanks for quick answer. But it doesn't help. I see Fig.1: before the caption whether I use captionsetup or not.

            – Mihail Kondratyev
            Sep 3 '14 at 2:25











          • I got it. I used caption2 instead of caption. Now it works. Thanks.

            – Mihail Kondratyev
            Sep 3 '14 at 2:58






          • 4





            With this setup, the next (numbered) figure will be numbered 3 rather than 2. To counteract this presumably unwanted effect, you could type addtocounter{figure}{-1} before the start of the next figure environment.

            – Mico
            Sep 3 '14 at 7:54



















          13














          You can also use caption* when using the caption package which keeps only the caption title.



          You may do something else what did not work, but this example works as desired:



          documentclass{article}
          usepackage{caption}
          usepackage[demo]{graphicx}
          begin{document}
          begin{figure}[ht]
          centering
          includegraphics{figure1}
          caption*{Caption.}
          end{figure}
          end{document}





          share|improve this answer

































            0














            I think the simplest way is to enter the caption not enclosed in the caption{} command.



            MWE



            documentclass{article}
            usepackage{graphicx}
            begin{document}
            begin{figure}
            centering
            includegraphics[width=0.5textwidth]{Fig_test.png}
            caption{This with float name and number}
            end{figure}
            begin{figure}
            centering
            includegraphics[width=0.5textwidth]{Fig_test.png}par
            This with just the caption
            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',
              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%2f199207%2fno-caption-number-for-figures-and-tables%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              3 Answers
              3






              active

              oldest

              votes








              3 Answers
              3






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              32














              You could use captionsetup from the package caption that way:



              documentclass{article}

              usepackage{caption}

              usepackage{graphicx}

              begin{document}

              begin{figure}[h!]
              centering
              includegraphics[height=2cm]{figure}
              caption{Une figure.}
              end{figure}

              begin{figure}[h!]
              centering
              includegraphics[height=2cm]{figure1}
              captionsetup{labelformat=empty}
              caption{Une figure.}
              end{figure}

              end{document}


              This gives:



              screenshot






              share|improve this answer


























              • Thanks for quick answer. But it doesn't help. I see Fig.1: before the caption whether I use captionsetup or not.

                – Mihail Kondratyev
                Sep 3 '14 at 2:25











              • I got it. I used caption2 instead of caption. Now it works. Thanks.

                – Mihail Kondratyev
                Sep 3 '14 at 2:58






              • 4





                With this setup, the next (numbered) figure will be numbered 3 rather than 2. To counteract this presumably unwanted effect, you could type addtocounter{figure}{-1} before the start of the next figure environment.

                – Mico
                Sep 3 '14 at 7:54
















              32














              You could use captionsetup from the package caption that way:



              documentclass{article}

              usepackage{caption}

              usepackage{graphicx}

              begin{document}

              begin{figure}[h!]
              centering
              includegraphics[height=2cm]{figure}
              caption{Une figure.}
              end{figure}

              begin{figure}[h!]
              centering
              includegraphics[height=2cm]{figure1}
              captionsetup{labelformat=empty}
              caption{Une figure.}
              end{figure}

              end{document}


              This gives:



              screenshot






              share|improve this answer


























              • Thanks for quick answer. But it doesn't help. I see Fig.1: before the caption whether I use captionsetup or not.

                – Mihail Kondratyev
                Sep 3 '14 at 2:25











              • I got it. I used caption2 instead of caption. Now it works. Thanks.

                – Mihail Kondratyev
                Sep 3 '14 at 2:58






              • 4





                With this setup, the next (numbered) figure will be numbered 3 rather than 2. To counteract this presumably unwanted effect, you could type addtocounter{figure}{-1} before the start of the next figure environment.

                – Mico
                Sep 3 '14 at 7:54














              32












              32








              32







              You could use captionsetup from the package caption that way:



              documentclass{article}

              usepackage{caption}

              usepackage{graphicx}

              begin{document}

              begin{figure}[h!]
              centering
              includegraphics[height=2cm]{figure}
              caption{Une figure.}
              end{figure}

              begin{figure}[h!]
              centering
              includegraphics[height=2cm]{figure1}
              captionsetup{labelformat=empty}
              caption{Une figure.}
              end{figure}

              end{document}


              This gives:



              screenshot






              share|improve this answer















              You could use captionsetup from the package caption that way:



              documentclass{article}

              usepackage{caption}

              usepackage{graphicx}

              begin{document}

              begin{figure}[h!]
              centering
              includegraphics[height=2cm]{figure}
              caption{Une figure.}
              end{figure}

              begin{figure}[h!]
              centering
              includegraphics[height=2cm]{figure1}
              captionsetup{labelformat=empty}
              caption{Une figure.}
              end{figure}

              end{document}


              This gives:



              screenshot







              share|improve this answer














              share|improve this answer



              share|improve this answer








              edited May 15 '15 at 8:39









              Will Vousden

              350212




              350212










              answered Sep 3 '14 at 1:30









              MelianMelian

              653612




              653612













              • Thanks for quick answer. But it doesn't help. I see Fig.1: before the caption whether I use captionsetup or not.

                – Mihail Kondratyev
                Sep 3 '14 at 2:25











              • I got it. I used caption2 instead of caption. Now it works. Thanks.

                – Mihail Kondratyev
                Sep 3 '14 at 2:58






              • 4





                With this setup, the next (numbered) figure will be numbered 3 rather than 2. To counteract this presumably unwanted effect, you could type addtocounter{figure}{-1} before the start of the next figure environment.

                – Mico
                Sep 3 '14 at 7:54



















              • Thanks for quick answer. But it doesn't help. I see Fig.1: before the caption whether I use captionsetup or not.

                – Mihail Kondratyev
                Sep 3 '14 at 2:25











              • I got it. I used caption2 instead of caption. Now it works. Thanks.

                – Mihail Kondratyev
                Sep 3 '14 at 2:58






              • 4





                With this setup, the next (numbered) figure will be numbered 3 rather than 2. To counteract this presumably unwanted effect, you could type addtocounter{figure}{-1} before the start of the next figure environment.

                – Mico
                Sep 3 '14 at 7:54

















              Thanks for quick answer. But it doesn't help. I see Fig.1: before the caption whether I use captionsetup or not.

              – Mihail Kondratyev
              Sep 3 '14 at 2:25





              Thanks for quick answer. But it doesn't help. I see Fig.1: before the caption whether I use captionsetup or not.

              – Mihail Kondratyev
              Sep 3 '14 at 2:25













              I got it. I used caption2 instead of caption. Now it works. Thanks.

              – Mihail Kondratyev
              Sep 3 '14 at 2:58





              I got it. I used caption2 instead of caption. Now it works. Thanks.

              – Mihail Kondratyev
              Sep 3 '14 at 2:58




              4




              4





              With this setup, the next (numbered) figure will be numbered 3 rather than 2. To counteract this presumably unwanted effect, you could type addtocounter{figure}{-1} before the start of the next figure environment.

              – Mico
              Sep 3 '14 at 7:54





              With this setup, the next (numbered) figure will be numbered 3 rather than 2. To counteract this presumably unwanted effect, you could type addtocounter{figure}{-1} before the start of the next figure environment.

              – Mico
              Sep 3 '14 at 7:54











              13














              You can also use caption* when using the caption package which keeps only the caption title.



              You may do something else what did not work, but this example works as desired:



              documentclass{article}
              usepackage{caption}
              usepackage[demo]{graphicx}
              begin{document}
              begin{figure}[ht]
              centering
              includegraphics{figure1}
              caption*{Caption.}
              end{figure}
              end{document}





              share|improve this answer






























                13














                You can also use caption* when using the caption package which keeps only the caption title.



                You may do something else what did not work, but this example works as desired:



                documentclass{article}
                usepackage{caption}
                usepackage[demo]{graphicx}
                begin{document}
                begin{figure}[ht]
                centering
                includegraphics{figure1}
                caption*{Caption.}
                end{figure}
                end{document}





                share|improve this answer




























                  13












                  13








                  13







                  You can also use caption* when using the caption package which keeps only the caption title.



                  You may do something else what did not work, but this example works as desired:



                  documentclass{article}
                  usepackage{caption}
                  usepackage[demo]{graphicx}
                  begin{document}
                  begin{figure}[ht]
                  centering
                  includegraphics{figure1}
                  caption*{Caption.}
                  end{figure}
                  end{document}





                  share|improve this answer















                  You can also use caption* when using the caption package which keeps only the caption title.



                  You may do something else what did not work, but this example works as desired:



                  documentclass{article}
                  usepackage{caption}
                  usepackage[demo]{graphicx}
                  begin{document}
                  begin{figure}[ht]
                  centering
                  includegraphics{figure1}
                  caption*{Caption.}
                  end{figure}
                  end{document}






                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Jan 15 '16 at 11:40









                  Stefan Kottwitz

                  178k65572761




                  178k65572761










                  answered Jan 14 '16 at 16:48









                  suppysuppy

                  13112




                  13112























                      0














                      I think the simplest way is to enter the caption not enclosed in the caption{} command.



                      MWE



                      documentclass{article}
                      usepackage{graphicx}
                      begin{document}
                      begin{figure}
                      centering
                      includegraphics[width=0.5textwidth]{Fig_test.png}
                      caption{This with float name and number}
                      end{figure}
                      begin{figure}
                      centering
                      includegraphics[width=0.5textwidth]{Fig_test.png}par
                      This with just the caption
                      end{figure}
                      end{document}


                      enter image description here






                      share|improve this answer




























                        0














                        I think the simplest way is to enter the caption not enclosed in the caption{} command.



                        MWE



                        documentclass{article}
                        usepackage{graphicx}
                        begin{document}
                        begin{figure}
                        centering
                        includegraphics[width=0.5textwidth]{Fig_test.png}
                        caption{This with float name and number}
                        end{figure}
                        begin{figure}
                        centering
                        includegraphics[width=0.5textwidth]{Fig_test.png}par
                        This with just the caption
                        end{figure}
                        end{document}


                        enter image description here






                        share|improve this answer


























                          0












                          0








                          0







                          I think the simplest way is to enter the caption not enclosed in the caption{} command.



                          MWE



                          documentclass{article}
                          usepackage{graphicx}
                          begin{document}
                          begin{figure}
                          centering
                          includegraphics[width=0.5textwidth]{Fig_test.png}
                          caption{This with float name and number}
                          end{figure}
                          begin{figure}
                          centering
                          includegraphics[width=0.5textwidth]{Fig_test.png}par
                          This with just the caption
                          end{figure}
                          end{document}


                          enter image description here






                          share|improve this answer













                          I think the simplest way is to enter the caption not enclosed in the caption{} command.



                          MWE



                          documentclass{article}
                          usepackage{graphicx}
                          begin{document}
                          begin{figure}
                          centering
                          includegraphics[width=0.5textwidth]{Fig_test.png}
                          caption{This with float name and number}
                          end{figure}
                          begin{figure}
                          centering
                          includegraphics[width=0.5textwidth]{Fig_test.png}par
                          This with just the caption
                          end{figure}
                          end{document}


                          enter image description here







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 25 mins ago









                          Marco StamazzaMarco Stamazza

                          20624




                          20624






























                              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%2f199207%2fno-caption-number-for-figures-and-tables%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

                              A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks

                              Calculate evaluation metrics using cross_val_predict sklearn

                              Insert data from modal to MySQL (multiple modal on website)