Warning, /office/kile/src/internal-testing/syntax-math2.tex is written in an unsupported language. File is not indexed.
0001 % /*************************************************************************** 0002 % begin : Mon 9 october 2006 0003 % copyright : (C) 2006 by Holger Danielsson, Thomas Braun 0004 % ***************************************************************************/ 0005 % 0006 % /*************************************************************************** 0007 % * * 0008 % * This program is free software; you can redistribute it and/or modify * 0009 % * it under the terms of the GNU General Public License as published by * 0010 % * the Free Software Foundation; either version 2 of the License, or * 0011 % * (at your option) any later version. * 0012 % * * 0013 % ***************************************************************************/ 0014 % description: test document for syntax file latex.xml 0015 % (syntax highlighting for mathmode) 0016 % compiles: no 0017 % 0018 0019 \newcommand{\abc}{def} 0020 \renewcommand{\ghi}{jkl} 0021 \definecolor{refkey}{rgb}{1,0,0} 0022 0023 \newcommandasd{\mno}{pqr} 0024 \renewcommandasd{\stu}{vwx} 0025 \definecolorasd{labelkey}{rgb}{0,0,1} 0026 0027 $50 \$abc\\text{qwe}xyz$xyz \par 0028 0029 $50 \$abc\text{qwe}xyz$xyz \par 0030 $50 \$abc\text{qwe}$xyz \par 0031 $50 \$abc\mbox{qw\,e}xyz$xyz \par 0032 $50 \$abc\mbox{qw\enskip}xyz$xyz \par 0033 $50 \$abc\text{qw\cmd{def}}xyz$xyz \par 0034 $50 \$abc\text{qw\cmd{def\textbf{ghi}}}xyz$xyz \par 0035 $50 \$abc\text{qw\cmd{def\{\%ghi}}xyz$xyz \par 0036 $50 \$abc\text{qw\cmd{def\}\$ghi}}xyz$xyz \par 0037 $50 \$abc\text{qwe}\alpha$xyz \par 0038 0039 $50 \$abc\text{qw%\cmd{def\textbf{ghi}}}xyz$xyz \par 0040 \cmd{def\textbf{ghi}}}xyz$xyz \par 0041 0042 $$50 \$abc\text{qwe}xyz$$xyz \par 0043 $$50 \$abc\text{qwe}$$xyz \par 0044 $$50 \$abc\text{qwe}\alpha$$xyz \par 0045 0046 \[50%\alpha\mbox{qwe}xyz\]xyz \par 0047 \[50\%\alpha\mbox{qwe}\alpha\]xyz \par 0048 \test{yfasdf} %asf 0049 \begin{equation}50\%\alpha \intertext{qwe}xyz\end{equation}xyz \par 0050 \begin{equation}50\%\alpha \intertext{qwe}\alpha\end{equation}xyz \par 0051 0052 $50\%\mbox{abc\textbf{def}}$xyz \par 0053 0054 \begin{align} 0055 a &=b \\ 0056 c & b 0057 \text{asd} 0058 \end{align} 0059 0060 \begin{align*} 0061 a &=b \\ 0062 c & b 0063 \text{asd} 0064 \end{align*} 0065 0066 \begin{alignat}{3} 0067 a &= b \\ 0068 c & b 0069 \text{asd} 0070 \end{alignat} 0071 0072 \begin{alignat*}{3} 0073 a &= b \\ 0074 c & b 0075 \text{asd} 0076 \end{alignat*} 0077 0078 \begin{alignat}{3} 0079 a &= b \\ 0080 c & b 0081 \text{asd} 0082 \end{alignat} 0083 0084 \begin{xalignat}{3} 0085 a &= b \\ 0086 c & b 0087 \text{asd} 0088 \end{xalignat} 0089 0090 \begin{xalignat*}{3} 0091 a &= b \\ 0092 c & b 0093 \text{asd} 0094 \end{xalignat*} 0095 0096 \begin{xalignat}{3} 0097 a &= b \\ 0098 c & b 0099 \text{asd} 0100 \end{xalignat} 0101 0102 \begin{xxalignat*}{3} 0103 a &= b \\ 0104 c & b 0105 \text{asd} 0106 \end{xxalignat*} 0107 0108 \ensuremath{a+b} \text test $test$ % test 0109 0110 \ensuremath{a+b = \text{asdasd} {asd} asd } test $test$ % test 0111 0112 \ensuremath{a+b} test $test$ % test 0113 test 0114 0115 \ensuremath{asdasd} test