3

For my thesis, I am making a table using deluxetable and the aastex class but need all my tables and figures to go at the end of the document. The endfloat package seemed to be perfect for this, but for some reason the deluxetable table will not move to the end of the document. Figures and normal tables will just fine, but not deluxetabes. Is deluxetable not compatible with endfloat?

Example code:

\documentclass{aastex}
\usepackage{endfloat}

\begin{document}


\begin{deluxetable}{ll}
\tablecolumns{2} 
\tablewidth{0pt} 
\tablecaption{Sample Table}
\tablehead{\colhead{Column 1}   &
           \colhead{Column 2} 
           }
\startdata
a & b \\
c & d \\
\enddata
\end{deluxetable}

\end{document}

Thanks!!

3
  • 1
    Welcome to TeX.SX! Please help us to help you and add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}.
    – LaRiFaRi
    Apr 27, 2015 at 14:20
  • Also have a look, if \documentclass{article} results in the same problem. It is always easier for us to test issues on standard classes. Personally, I do not know and have aastex
    – LaRiFaRi
    Apr 27, 2015 at 14:21
  • 1
    The deluxetable environment is built into aastex and I'm not sure if it's possible to download it separately for use in the normal article class. Thanks though!
    – Guest122
    Apr 27, 2015 at 14:34

1 Answer 1

2

endfloat does not know the environment deluxetable and therefore has no idea of how to handle it. I just defined deluxteable to be treated as a table.

% arara: pdflatex

\documentclass{aastex}
\usepackage{endfloat}
\DeclareDelayedFloatFlavor{deluxetable}{table}

\begin{document}    
\begin{deluxetable}{ll}
    \tablecolumns{2} 
    \tablewidth{0pt} 
    \tablecaption{Sample Table}
    \tablehead{\colhead{Column 1}   &
        \colhead{Column 2} 
    }
    \startdata
    a & b \\
    c & d \\
    \enddata
\end{deluxetable}   
\end{document}

This tells the endfloat package that [...] should be treated as table, at least from endfloat ’s point of view. If you keep your fingers crossed this may actually work. - endloat manual p. 8

1
  • @Guest122 You are welcome.
    – LaRiFaRi
    Apr 27, 2015 at 15:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .