Table mislabeled as figureTable caption not appearing in PNAS document classProblem with figure and table...

What exploit Are these user agents trying to use?

Avoiding direct proof while writing proof by induction

What does “the session was packed” mean in this context?

GFCI outlets - can they be repaired? Are they really needed at the end of a circuit?

Is it inappropriate for a student to attend their mentor's dissertation defense?

Unlock My Phone! February 2018

What about the virus in 12 Monkeys?

Why is it a bad idea to hire a hitman to eliminate most corrupt politicians?

Can we compute the area of a quadrilateral with one right angle when we only know the lengths of any three sides?

Why can't we play rap on piano?

Mathematica command that allows it to read my intentions

In 'Revenger,' what does 'cove' come from?

How can I deal with my CEO asking me to hire someone with a higher salary than me, a co-founder?

How would I stat a creature to be immune to everything but the Magic Missile spell? (just for fun)

I would say: "You are another teacher", but she is a woman and I am a man

How can saying a song's name be a copyright violation?

Reverse dictionary where values are lists

What do you call someone who asks many questions?

What does the expression "A Mann!" means

Should I tell management that I intend to leave due to bad software development practices?

A category-like structure without composition?

Can compressed videos be decoded back to their uncompresed original format?

Can I run a new neutral wire to repair a broken circuit?

Bullying boss launched a smear campaign and made me unemployable



Table mislabeled as figure


Table caption not appearing in PNAS document classProblem with figure and table captionFormatting table and figure number and title separatelyChange autoref and caption name for only one figureAdd figure caption in tableStyle figure captions and table captions differentlyFigure and table captions in capital lettersref jumps not to the right figure in appendixWhy table reference numbers are incorrect?Can I change caption of a figure from “Figure” to “Table”













0















I have an image and a table and they need to appear in the same page. The way I'm doing that right now is by wrapping them both in a figure. The problem I'm having is I'm trying to reference the table and LaTex keeps on labeling it as a figure.



documentclass[12pt]{article}
usepackage[margin=1in]{geometry}
usepackage[colorlinks]{hyperref}
usepackage[singlelinecheck=false]{caption}
usepackage{booktabs}
usepackage{threeparttable}
usepackage{graphicx}
graphicspath{ {./images/} }

begin{document}

stuff stuff autoref{table:nmr_nitro} blah blah.

begin{figure}
includegraphics[scale=0.4]{3-nitrobenzonitrile.png}
captionof{figure}{3-Nitrobenzonitrile with hydrogens assignments}
label{figure:nmr_fig_nitro}

begin{threeparttable}
addtocounter{footnote}{1}
captionof{table}{NMR of 3-nitrobenzonitrile}
label{table:nmr_nitro}

begin{tabular}{ c c }
toprule
textbf{Some Data} & textbf{Assignment} \
midrule
8.542; 2.0 (2H); m; & A, B \
7.960; 2.1 (2H); m; & C, D \
bottomrule
end{tabular}
end{threeparttable}

end{figure}

end{document}


enter image description here



I found two solutions-ish to this problem. The first is to use manual instead of autoref and just manually label all my links. The other is to put captionsetup{type=table} above my table caption but this seems like a hack. Is there any builtin, smooth way to do this?









share







New contributor




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

























    0















    I have an image and a table and they need to appear in the same page. The way I'm doing that right now is by wrapping them both in a figure. The problem I'm having is I'm trying to reference the table and LaTex keeps on labeling it as a figure.



    documentclass[12pt]{article}
    usepackage[margin=1in]{geometry}
    usepackage[colorlinks]{hyperref}
    usepackage[singlelinecheck=false]{caption}
    usepackage{booktabs}
    usepackage{threeparttable}
    usepackage{graphicx}
    graphicspath{ {./images/} }

    begin{document}

    stuff stuff autoref{table:nmr_nitro} blah blah.

    begin{figure}
    includegraphics[scale=0.4]{3-nitrobenzonitrile.png}
    captionof{figure}{3-Nitrobenzonitrile with hydrogens assignments}
    label{figure:nmr_fig_nitro}

    begin{threeparttable}
    addtocounter{footnote}{1}
    captionof{table}{NMR of 3-nitrobenzonitrile}
    label{table:nmr_nitro}

    begin{tabular}{ c c }
    toprule
    textbf{Some Data} & textbf{Assignment} \
    midrule
    8.542; 2.0 (2H); m; & A, B \
    7.960; 2.1 (2H); m; & C, D \
    bottomrule
    end{tabular}
    end{threeparttable}

    end{figure}

    end{document}


    enter image description here



    I found two solutions-ish to this problem. The first is to use manual instead of autoref and just manually label all my links. The other is to put captionsetup{type=table} above my table caption but this seems like a hack. Is there any builtin, smooth way to do this?









    share







    New contributor




    FailureGod 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








      I have an image and a table and they need to appear in the same page. The way I'm doing that right now is by wrapping them both in a figure. The problem I'm having is I'm trying to reference the table and LaTex keeps on labeling it as a figure.



      documentclass[12pt]{article}
      usepackage[margin=1in]{geometry}
      usepackage[colorlinks]{hyperref}
      usepackage[singlelinecheck=false]{caption}
      usepackage{booktabs}
      usepackage{threeparttable}
      usepackage{graphicx}
      graphicspath{ {./images/} }

      begin{document}

      stuff stuff autoref{table:nmr_nitro} blah blah.

      begin{figure}
      includegraphics[scale=0.4]{3-nitrobenzonitrile.png}
      captionof{figure}{3-Nitrobenzonitrile with hydrogens assignments}
      label{figure:nmr_fig_nitro}

      begin{threeparttable}
      addtocounter{footnote}{1}
      captionof{table}{NMR of 3-nitrobenzonitrile}
      label{table:nmr_nitro}

      begin{tabular}{ c c }
      toprule
      textbf{Some Data} & textbf{Assignment} \
      midrule
      8.542; 2.0 (2H); m; & A, B \
      7.960; 2.1 (2H); m; & C, D \
      bottomrule
      end{tabular}
      end{threeparttable}

      end{figure}

      end{document}


      enter image description here



      I found two solutions-ish to this problem. The first is to use manual instead of autoref and just manually label all my links. The other is to put captionsetup{type=table} above my table caption but this seems like a hack. Is there any builtin, smooth way to do this?









      share







      New contributor




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












      I have an image and a table and they need to appear in the same page. The way I'm doing that right now is by wrapping them both in a figure. The problem I'm having is I'm trying to reference the table and LaTex keeps on labeling it as a figure.



      documentclass[12pt]{article}
      usepackage[margin=1in]{geometry}
      usepackage[colorlinks]{hyperref}
      usepackage[singlelinecheck=false]{caption}
      usepackage{booktabs}
      usepackage{threeparttable}
      usepackage{graphicx}
      graphicspath{ {./images/} }

      begin{document}

      stuff stuff autoref{table:nmr_nitro} blah blah.

      begin{figure}
      includegraphics[scale=0.4]{3-nitrobenzonitrile.png}
      captionof{figure}{3-Nitrobenzonitrile with hydrogens assignments}
      label{figure:nmr_fig_nitro}

      begin{threeparttable}
      addtocounter{footnote}{1}
      captionof{table}{NMR of 3-nitrobenzonitrile}
      label{table:nmr_nitro}

      begin{tabular}{ c c }
      toprule
      textbf{Some Data} & textbf{Assignment} \
      midrule
      8.542; 2.0 (2H); m; & A, B \
      7.960; 2.1 (2H); m; & C, D \
      bottomrule
      end{tabular}
      end{threeparttable}

      end{figure}

      end{document}


      enter image description here



      I found two solutions-ish to this problem. The first is to use manual instead of autoref and just manually label all my links. The other is to put captionsetup{type=table} above my table caption but this seems like a hack. Is there any builtin, smooth way to do this?







      tables hyperref captions ref autoref





      share







      New contributor




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










      share







      New contributor




      FailureGod 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




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









      asked 7 mins ago









      FailureGodFailureGod

      132




      132




      New contributor




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





      New contributor





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






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






















          0






          active

          oldest

          votes












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


          }
          });






          FailureGod 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%2f483087%2ftable-mislabeled-as-figure%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








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










          draft saved

          draft discarded


















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













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












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
















          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%2f483087%2ftable-mislabeled-as-figure%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

          Paper upload error, “Upload failed: The top margin is 0.715 in on page 3, which is below the required...

          Emraan Hashmi Filmografia | Linki zewnętrzne | Menu nawigacyjneGulshan GroverGulshan...

          How can I write this formula?newline and italics added with leqWhy does widehat behave differently if I...