Posts

Showing posts from April 3, 2019

Table mislabeled as figure

Image
1 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-nitrobenzoni