Table mislabeled as figure

Examples of smooth manifolds admitting inbetween one and a continuum of complex structures

What about the virus in 12 Monkeys?

A category-like structure without composition?

What killed these X2 caps?

Why are the 737's rear doors unusable in a water landing?

One verb to replace 'be a member of' a club

Why is consensus so controversial in Britain?

How to show a landlord what we have in savings?

What is the most common color to indicate the input-field is disabled?

Is there an expression that means doing something right before you will need it rather than doing it in case you might need it?

Can a virus destroy the BIOS of a modern computer?

Why doesn't using multiple commands with a || or && conditional work?

Assassin's bullet with mercury

How to Recreate this in LaTeX? (Unsure What the Notation is Called)

Cursor Replacement for Newbies

Could the museum Saturn V's be refitted for one more flight?

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

Reverse dictionary where values are lists

Bullying boss launched a smear campaign and made me unemployable

Size of subfigure fitting its content (tikzpicture)

Unlock My Phone! February 2018

ssTTsSTtRrriinInnnnNNNIiinngg

Do scales need to be in alphabetical order?

What's the in-universe reasoning behind sorcerers needing material components?



Table mislabeled as figure














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 31 secs 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

          El tren de la libertad Índice Antecedentes "Porque yo decido" Desarrollo de la...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...

          Castillo d'Acher Características Menú de navegación