Suppress Numbering of Subfigures












5















Is there a way to supress the numberings of subfigures within subfigures?



Currently, I have something like the following:



begin{figure}
subfigure{
subfigure{...}
subfigure{...}
subfigure{...}
}
subfigure {
...
}
...
end{figure}


So I have the entire figure, within which I have subfigures, which consist of more figures (i.e. subsubfigures). Each subfigure contains 9 subsubfigures and I have 5 subfigures. Because each subsubfigure and each subfigure get numbered and labeled, I get a Counter too large error because there are more than a-z figures.



I only really care about the numbering and labeling on the subfigures (i.e. I don't care about the numbering on the subsubfigures). Is there a way to suppress the numbering on the subsubfigures so that I only have subfigures a through e that are labeled and thus also avoid the error?










share|improve this question

























  • You didn't mention which package you're using to get subfigures. Which one is it?

    – Stefan Kottwitz
    Dec 10 '10 at 0:50
















5















Is there a way to supress the numberings of subfigures within subfigures?



Currently, I have something like the following:



begin{figure}
subfigure{
subfigure{...}
subfigure{...}
subfigure{...}
}
subfigure {
...
}
...
end{figure}


So I have the entire figure, within which I have subfigures, which consist of more figures (i.e. subsubfigures). Each subfigure contains 9 subsubfigures and I have 5 subfigures. Because each subsubfigure and each subfigure get numbered and labeled, I get a Counter too large error because there are more than a-z figures.



I only really care about the numbering and labeling on the subfigures (i.e. I don't care about the numbering on the subsubfigures). Is there a way to suppress the numbering on the subsubfigures so that I only have subfigures a through e that are labeled and thus also avoid the error?










share|improve this question

























  • You didn't mention which package you're using to get subfigures. Which one is it?

    – Stefan Kottwitz
    Dec 10 '10 at 0:50














5












5








5








Is there a way to supress the numberings of subfigures within subfigures?



Currently, I have something like the following:



begin{figure}
subfigure{
subfigure{...}
subfigure{...}
subfigure{...}
}
subfigure {
...
}
...
end{figure}


So I have the entire figure, within which I have subfigures, which consist of more figures (i.e. subsubfigures). Each subfigure contains 9 subsubfigures and I have 5 subfigures. Because each subsubfigure and each subfigure get numbered and labeled, I get a Counter too large error because there are more than a-z figures.



I only really care about the numbering and labeling on the subfigures (i.e. I don't care about the numbering on the subsubfigures). Is there a way to suppress the numbering on the subsubfigures so that I only have subfigures a through e that are labeled and thus also avoid the error?










share|improve this question
















Is there a way to supress the numberings of subfigures within subfigures?



Currently, I have something like the following:



begin{figure}
subfigure{
subfigure{...}
subfigure{...}
subfigure{...}
}
subfigure {
...
}
...
end{figure}


So I have the entire figure, within which I have subfigures, which consist of more figures (i.e. subsubfigures). Each subfigure contains 9 subsubfigures and I have 5 subfigures. Because each subsubfigure and each subfigure get numbered and labeled, I get a Counter too large error because there are more than a-z figures.



I only really care about the numbering and labeling on the subfigures (i.e. I don't care about the numbering on the subsubfigures). Is there a way to suppress the numbering on the subsubfigures so that I only have subfigures a through e that are labeled and thus also avoid the error?







floats numbering subfloats






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 '11 at 0:07









lockstep

191k52590720




191k52590720










asked Dec 10 '10 at 0:12









MyxMyx

12814




12814













  • You didn't mention which package you're using to get subfigures. Which one is it?

    – Stefan Kottwitz
    Dec 10 '10 at 0:50



















  • You didn't mention which package you're using to get subfigures. Which one is it?

    – Stefan Kottwitz
    Dec 10 '10 at 0:50

















You didn't mention which package you're using to get subfigures. Which one is it?

– Stefan Kottwitz
Dec 10 '10 at 0:50





You didn't mention which package you're using to get subfigures. Which one is it?

– Stefan Kottwitz
Dec 10 '10 at 0:50










3 Answers
3






active

oldest

votes


















4














Because you don't need labels and numbers of subsubfigures, and I guess you don't need captions as well, you could simply use minipage environments or parbox for those figures instead of nesting subfigures.



Further, if you use the subfigure package, which is outdated, you might consider to use the newer subfig or subcaption package instead.






share|improve this answer































    2














    A possible solution with the already mentioned »subcaption« package (shipped with caption).



    documentclass[11pt,a4paper,english]{article}
    usepackage[T1]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage{babel}
    usepackage[includeheadfoot,margin=3cm]{geometry}
    usepackage[font=small,labelfont=bf,tableposition=top]{caption}
    usepackage[font=footnotesize]{subcaption}
    usepackage{blindtext}

    %DeclareCaptionSubType*[arabic]{figure}
    %captionsetup[subfigure]{labelformat=simple,labelsep=colon}

    title{Two subfigures without a caption}
    author{Myx}

    begin{document}
    maketitle

    blindtext

    begin{figure}[!ht]
    centering
    begin{subfigure}[b]{0.45textwidth}
    centering
    rule{6.4cm}{3.6cm}
    end{subfigure}
    hfill
    begin{subfigure}[b]{0.45textwidth}
    centering
    rule{6.4cm}{3.6cm}
    end{subfigure}
    caption{Dummy figures}label{fig:dummy}
    end{figure}

    blindtext
    end{document}





    share|improve this answer
























    • If you don't use caption inside the subfigure environments, you don't need subfigure environments (and therefore the subcaption package) at all. Just use minipages instead.

      – Axel Sommerfeldt
      Aug 24 '11 at 14:36



















    0














    A very simple solution to suppress numbering in captions is to use caption*{} instead of caption{}. This works in figures and in subfigures also.





    share








    New contributor




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




















      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%2f6841%2fsuppress-numbering-of-subfigures%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









      4














      Because you don't need labels and numbers of subsubfigures, and I guess you don't need captions as well, you could simply use minipage environments or parbox for those figures instead of nesting subfigures.



      Further, if you use the subfigure package, which is outdated, you might consider to use the newer subfig or subcaption package instead.






      share|improve this answer




























        4














        Because you don't need labels and numbers of subsubfigures, and I guess you don't need captions as well, you could simply use minipage environments or parbox for those figures instead of nesting subfigures.



        Further, if you use the subfigure package, which is outdated, you might consider to use the newer subfig or subcaption package instead.






        share|improve this answer


























          4












          4








          4







          Because you don't need labels and numbers of subsubfigures, and I guess you don't need captions as well, you could simply use minipage environments or parbox for those figures instead of nesting subfigures.



          Further, if you use the subfigure package, which is outdated, you might consider to use the newer subfig or subcaption package instead.






          share|improve this answer













          Because you don't need labels and numbers of subsubfigures, and I guess you don't need captions as well, you could simply use minipage environments or parbox for those figures instead of nesting subfigures.



          Further, if you use the subfigure package, which is outdated, you might consider to use the newer subfig or subcaption package instead.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 10 '10 at 0:55









          Stefan KottwitzStefan Kottwitz

          177k63571759




          177k63571759























              2














              A possible solution with the already mentioned »subcaption« package (shipped with caption).



              documentclass[11pt,a4paper,english]{article}
              usepackage[T1]{fontenc}
              usepackage[utf8]{inputenc}
              usepackage{babel}
              usepackage[includeheadfoot,margin=3cm]{geometry}
              usepackage[font=small,labelfont=bf,tableposition=top]{caption}
              usepackage[font=footnotesize]{subcaption}
              usepackage{blindtext}

              %DeclareCaptionSubType*[arabic]{figure}
              %captionsetup[subfigure]{labelformat=simple,labelsep=colon}

              title{Two subfigures without a caption}
              author{Myx}

              begin{document}
              maketitle

              blindtext

              begin{figure}[!ht]
              centering
              begin{subfigure}[b]{0.45textwidth}
              centering
              rule{6.4cm}{3.6cm}
              end{subfigure}
              hfill
              begin{subfigure}[b]{0.45textwidth}
              centering
              rule{6.4cm}{3.6cm}
              end{subfigure}
              caption{Dummy figures}label{fig:dummy}
              end{figure}

              blindtext
              end{document}





              share|improve this answer
























              • If you don't use caption inside the subfigure environments, you don't need subfigure environments (and therefore the subcaption package) at all. Just use minipages instead.

                – Axel Sommerfeldt
                Aug 24 '11 at 14:36
















              2














              A possible solution with the already mentioned »subcaption« package (shipped with caption).



              documentclass[11pt,a4paper,english]{article}
              usepackage[T1]{fontenc}
              usepackage[utf8]{inputenc}
              usepackage{babel}
              usepackage[includeheadfoot,margin=3cm]{geometry}
              usepackage[font=small,labelfont=bf,tableposition=top]{caption}
              usepackage[font=footnotesize]{subcaption}
              usepackage{blindtext}

              %DeclareCaptionSubType*[arabic]{figure}
              %captionsetup[subfigure]{labelformat=simple,labelsep=colon}

              title{Two subfigures without a caption}
              author{Myx}

              begin{document}
              maketitle

              blindtext

              begin{figure}[!ht]
              centering
              begin{subfigure}[b]{0.45textwidth}
              centering
              rule{6.4cm}{3.6cm}
              end{subfigure}
              hfill
              begin{subfigure}[b]{0.45textwidth}
              centering
              rule{6.4cm}{3.6cm}
              end{subfigure}
              caption{Dummy figures}label{fig:dummy}
              end{figure}

              blindtext
              end{document}





              share|improve this answer
























              • If you don't use caption inside the subfigure environments, you don't need subfigure environments (and therefore the subcaption package) at all. Just use minipages instead.

                – Axel Sommerfeldt
                Aug 24 '11 at 14:36














              2












              2








              2







              A possible solution with the already mentioned »subcaption« package (shipped with caption).



              documentclass[11pt,a4paper,english]{article}
              usepackage[T1]{fontenc}
              usepackage[utf8]{inputenc}
              usepackage{babel}
              usepackage[includeheadfoot,margin=3cm]{geometry}
              usepackage[font=small,labelfont=bf,tableposition=top]{caption}
              usepackage[font=footnotesize]{subcaption}
              usepackage{blindtext}

              %DeclareCaptionSubType*[arabic]{figure}
              %captionsetup[subfigure]{labelformat=simple,labelsep=colon}

              title{Two subfigures without a caption}
              author{Myx}

              begin{document}
              maketitle

              blindtext

              begin{figure}[!ht]
              centering
              begin{subfigure}[b]{0.45textwidth}
              centering
              rule{6.4cm}{3.6cm}
              end{subfigure}
              hfill
              begin{subfigure}[b]{0.45textwidth}
              centering
              rule{6.4cm}{3.6cm}
              end{subfigure}
              caption{Dummy figures}label{fig:dummy}
              end{figure}

              blindtext
              end{document}





              share|improve this answer













              A possible solution with the already mentioned »subcaption« package (shipped with caption).



              documentclass[11pt,a4paper,english]{article}
              usepackage[T1]{fontenc}
              usepackage[utf8]{inputenc}
              usepackage{babel}
              usepackage[includeheadfoot,margin=3cm]{geometry}
              usepackage[font=small,labelfont=bf,tableposition=top]{caption}
              usepackage[font=footnotesize]{subcaption}
              usepackage{blindtext}

              %DeclareCaptionSubType*[arabic]{figure}
              %captionsetup[subfigure]{labelformat=simple,labelsep=colon}

              title{Two subfigures without a caption}
              author{Myx}

              begin{document}
              maketitle

              blindtext

              begin{figure}[!ht]
              centering
              begin{subfigure}[b]{0.45textwidth}
              centering
              rule{6.4cm}{3.6cm}
              end{subfigure}
              hfill
              begin{subfigure}[b]{0.45textwidth}
              centering
              rule{6.4cm}{3.6cm}
              end{subfigure}
              caption{Dummy figures}label{fig:dummy}
              end{figure}

              blindtext
              end{document}






              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Dec 10 '10 at 18:33









              Thorsten DonigThorsten Donig

              36.8k590119




              36.8k590119













              • If you don't use caption inside the subfigure environments, you don't need subfigure environments (and therefore the subcaption package) at all. Just use minipages instead.

                – Axel Sommerfeldt
                Aug 24 '11 at 14:36



















              • If you don't use caption inside the subfigure environments, you don't need subfigure environments (and therefore the subcaption package) at all. Just use minipages instead.

                – Axel Sommerfeldt
                Aug 24 '11 at 14:36

















              If you don't use caption inside the subfigure environments, you don't need subfigure environments (and therefore the subcaption package) at all. Just use minipages instead.

              – Axel Sommerfeldt
              Aug 24 '11 at 14:36





              If you don't use caption inside the subfigure environments, you don't need subfigure environments (and therefore the subcaption package) at all. Just use minipages instead.

              – Axel Sommerfeldt
              Aug 24 '11 at 14:36











              0














              A very simple solution to suppress numbering in captions is to use caption*{} instead of caption{}. This works in figures and in subfigures also.





              share








              New contributor




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

























                0














                A very simple solution to suppress numbering in captions is to use caption*{} instead of caption{}. This works in figures and in subfigures also.





                share








                New contributor




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























                  0












                  0








                  0







                  A very simple solution to suppress numbering in captions is to use caption*{} instead of caption{}. This works in figures and in subfigures also.





                  share








                  New contributor




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










                  A very simple solution to suppress numbering in captions is to use caption*{} instead of caption{}. This works in figures and in subfigures also.






                  share








                  New contributor




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








                  share


                  share






                  New contributor




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









                  answered 4 mins ago









                  varshvarsh

                  1035




                  1035




                  New contributor




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





                  New contributor





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






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






























                      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%2f6841%2fsuppress-numbering-of-subfigures%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)