0

I'm typesetting a document using the nature document class. I'm having trouble specifying the desired location of a table float in the document. Concretely, I do the following:

\documentclass{nature}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{table}[htb]
    \begin{tabular}{cc}
        A & B \\
        1 & 6 \\ 
        2 & 10\\ 
    \end{tabular}
\end{table}
\end{document}

However, this results in the location specifier being printed verbatim before the table:

Table

What can I do to specify the location like I would in any other document type?

  • 1
    From Nature.cls: "%% Redefine the figure and table environments. %% The new figure environment defers printing of all figure captions %% until the end of the document and prints them in sans serif font. [...] %% The table environment was just changed to print on a separate page in %% sans serif font. Tables should all be moved to the end of the document %% manually. " – leandriis May 8 '20 at 11:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.