# How to use deluxetable.sty?

I'm writing a lab report and it was recommended to use the deluxetable package, which is used by physics journals, etc. Despite the popularity of it, I am having trouble finding any tutorial on it. Can anyone briefly explain how to use deluxetable, i.e the structure and options available?

Thank you.

• Execute texdoc deluxetable on a command line. Additionally, you might want to click on the deluxetable tag under your question to see related questionns and answers. – Johannes_B Nov 5 '17 at 12:23
• @Johannes_B I have already checked questions with the tag. I'm talking about the actual code structure, like between the \begin and \end. How do I define the columns? How do I put the cell entries? etc. I'm very new. Started Latex less than 2 months ago. That also means I don't know what executing texdoc means. – Zachary Nov 5 '17 at 12:32
• @Zachary For information on how to execute texdoc see Class and Package Documentation. If you're using Windows, there should be a GUI version which you can access through the Start menu in your TeX distribution's folder. – Nicola Talbot Nov 5 '17 at 16:20

The structure is similar to a regular table with a few exceptions such as column headers.

A simple table:

\documentclass{amsart}

\usepackage{deluxetable}

\begin{document}

\begin{deluxetable}{cccccccc}

\tabletypesize{\footnotesize}
\tablewidth{0pt}

\tablecaption{ Sample Title \label{tab:sample}}

}

\startdata

sample 1 & sample 2 & sample 3 & sample 4 & sample 5 & sample 6 & sample 7 & sample 8\\

\enddata

\vspace{-0.5cm}

• @Zachary yes, just change \begin{deluxetable}{cccccccc} to \begin{deluxetable}{cc}. The data will also have to be two columns as well (only one & per line). – Dan Nov 9 '17 at 13:00