1

Possible Duplicate:
Avoid paragraph due to trailing empty line in standalone file
How to make a standalone document with one equation?

Below is a MWE of a table that keeps outputting errors although it does display but not correctly.

\documentclass{standalone}
\usepackage{booktabs}
\begin{document}
\begin{table}[htbp]
\caption{An Tabl\'a Shiompal}
\begin{tabular}{rrrr}
\addlinespace
\toprule
A     & B     & C     & D \\
\midrule
1     & x     & j     & suas \\
2     & y     & k     & s\'ios \\
3     & z     & l     & deis \\
4     & u     & m     & cl\'e \\
\bottomrule
\end{tabular}
\end{table}
\end{document}

When I replace Standalone with article it works ok. Am I missing something for the standalone usage?

Using TexnicCenter and MikTeX, latest versions.

2
  • Also related : algorithmicx crashes standalone
    – percusse
    Jul 12, 2012 at 11:12
  • @percusse thanks for that. [preview] option with standalone fixes it. I was getting the same errors as in the 2nd link above
    – Leeser
    Jul 12, 2012 at 11:40

0

Browse other questions tagged .