[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-devel] indenting split long command lines
From: |
Julien Cubizolles |
Subject: |
[AUCTeX-devel] indenting split long command lines |
Date: |
Mon, 08 Apr 2013 21:04:04 +0200 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
As far as I know, AucTeX doesn't deal with pstricks in tikz code in any
special way. Very often in this environments one needs very long
lines, and some kind of splitting/indenting would be useful. What I
would like is something like:
--8<---------------cut here---------------start------------->8---
\begin{tikzpicture}
\draw (0,0) -- (1,1) -- (2,2) -- (3,3)
-- (4,4) -- (5,5);
\draw (0,1) circle [radius=1];
\end{tikzpicture}
--8<---------------cut here---------------end--------------->8---
To summarize: split long lines and add an indentation if not on a
semicolon otherwise keep indentation the same as the beginning of the
line.
At the moment I manually add a TAB (like in the second line of the
example) but I couldn't find a way to remove the indentation for the
third line. Is there a "go back one tab" command ?
Julien.
- [AUCTeX-devel] indenting split long command lines,
Julien Cubizolles <=