5

I defined a table in LaTeX : \begin{tabular}....\end{tabular}.

Now i want to export that table to an image (PNG or something}.

It is possible? How can i do that?

chl
  • 8,890
  • Welcome to TeX.sx! Your question was migrated here from [so] site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. – Werner Jul 12 '12 at 18:48

1 Answers1

10

The easiest way to do that would be to enclose your tabular in a document, with the standalone class.

\documentclass[a4paper, 11pt]{standalone}
\begin{document}

    \begin{tabular}{}

    \end{tabular}       

\end{document}

Then compile it with dvipng or use ImageMagick to convert the div into a png.

The credits go to Martin Scharrer.

Laura
  • 478