auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] Syntax highlighting between dollar signs


From: jfbu
Subject: [AUCTeX] Syntax highlighting between dollar signs
Date: Tue, 16 Feb 2016 15:00:48 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

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

Attachment: Capture d’écran 2016-02-16 à 14.56.51.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]