jfbu
2016-02-16 14:00:48 UTC
Hi,
here is some code I copied pasted from the net (I didn't hardwrap the long lines:
\documentclass{article}
\begin{document}
\(\frac{x}{\begin{vmatrix}b_1&c_1\\ b_2&c_2 \end{vmatrix}}=\frac{y}{\begin{vmatrix} c_1&a_1 \\ c_2&a_2 \end{vmatrix}}=\frac{1}{\begin{vmatrix} a_1&b_1\\a_2&b_2 \end{vmatrix}}\)
$\displaystyle\frac{x}{\begin{vmatrix}b_1&c_1\\ b_2&c_2 \end{vmatrix}}=\frac{y}{\begin{vmatrix} c_1&a_1 \\ c_2&a_2 \end{vmatrix}}=\frac{1}{\begin{vmatrix} a_1&b_1\\a_2&b_2 \end{vmatrix}}$
\end{document}
Originally both lines where with dollars. I changed to \(..\) the first one.
Then it benefits from syntax highlighting but not the second line,
which is highlighted as verbatim.
Is highlighting like for \(..\) possible ?
Jean-François
here is some code I copied pasted from the net (I didn't hardwrap the long lines:
\documentclass{article}
\begin{document}
\(\frac{x}{\begin{vmatrix}b_1&c_1\\ b_2&c_2 \end{vmatrix}}=\frac{y}{\begin{vmatrix} c_1&a_1 \\ c_2&a_2 \end{vmatrix}}=\frac{1}{\begin{vmatrix} a_1&b_1\\a_2&b_2 \end{vmatrix}}\)
$\displaystyle\frac{x}{\begin{vmatrix}b_1&c_1\\ b_2&c_2 \end{vmatrix}}=\frac{y}{\begin{vmatrix} c_1&a_1 \\ c_2&a_2 \end{vmatrix}}=\frac{1}{\begin{vmatrix} a_1&b_1\\a_2&b_2 \end{vmatrix}}$
\end{document}
Originally both lines where with dollars. I changed to \(..\) the first one.
Then it benefits from syntax highlighting but not the second line,
which is highlighted as verbatim.
Is highlighting like for \(..\) possible ?
Jean-François