[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

B.4.2 How to include additional environments like enumerate

By default, preview-latex is intended mainly for displaying mathematical formulas, so environments like enumerate or tabular (except where contained in a float) are not included. You can include them however manually by adding the lines:

 
\usepackage[displaymath,textmath,sections,graphics,floats]{preview}
\PreviewEnvironment{enumerate}

in your document header, that is before

 
\begin{document}

In general, ‘preview’ should be loaded as the last thing before the start of document.

Be aware that

 
\PreviewEnvironment{...}

does not accept a comma separated list! Also note that by putting more and more

 
\PreviewEnvironment{...}

in your document, it will look more and more like a DVI file preview when running preview-latex. Since each preview is treated as one large monolithic block by Emacs, one should really restrict previews to those elements where the improvement in visual representation more than makes up for the decreased editability.


This document was generated by Ralf Angeli on January 13, 2013 using texi2html 1.82.