Warning, /office/kile/src/internal-testing/preview.tex is written in an unsupported language. File is not indexed.

0001 \documentclass{article}
0002 \usepackage{amsmath}
0003 %     begin                : Sat 11 august 2007
0004 %     copyright            : (C) 2007 by Thomas Braun
0005 %  ***************************************************************************/
0006 % 
0007 % /***************************************************************************
0008 %  *                                                                         *
0009 %  *   This program is free software; you can redistribute it and/or modify  *
0010 %  *   it under the terms of the GNU General Public License as published by  *
0011 %  *   the Free Software Foundation; either version 2 of the License, or     *
0012 %  *   (at your option) any later version.                                   *
0013 %  *                                                                         *
0014 %  ***************************************************************************/
0015 %  description: test if quickpreview is working
0016 %  compiles:    yes
0017 % 
0018 \begin{document}
0019 
0020 % math groups
0021 $1$
0022 \$ $asd$ \$
0023 $$222$$ % does not work because it is difficult to realize and is considered bad practice see ftp://ftp.ams.org/pub/tex/doc/amsmath/short-math-guide.pdf
0024 \( 1231 \)
0025 \[ 1231 \]
0026 \ensuremath{4}
0027 
0028 % environments
0029 \begin{equation}
0030         4
0031 \end{equation}
0032 \begin{displaymath}
0033         5
0034 \end{displaymath}
0035 \begin{align}
0036         6 &=6
0037 \end{align}
0038 
0039 \begin{math}
0040         7       
0041 \end{math}
0042 
0043 \begin{eqnarray}
0044         8
0045 \end{eqnarray}
0046 
0047 % \begin{mathtest} % has to be defined in configure-kile-commands to work
0048 %       asdasdasd
0049 % \end{mathtest}
0050 
0051 \end{document}
0052