Hello Auctex Users,

I would like to keep some commands in their own line, like this:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mc{1}{l}{bla}

% this is from pgfpltstable

col sep=comma,
            header=true,

columns={Nr,MengeST,Preis,MengeP,MengeKum,WertGes,WertP,WertKum,ABC},
            skip rows between index={0}{1},
            font={\sffamily},
            empty cells with={--},
            every last row/.style={after row=\hline},
            every odd row/.style={before row={\rowcolor[gray]{.8}}},
            % Spalte 1
            display columns/0/.style={%
column name={\rowcolor[gray]{.8}\bfseries Nr.}, column type={c}, string
              type},

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

I found the variable LaTeX-paragraph-commands and set:

(setq LaTeX-paragraph-commands
    (quote
    ("draw" "sqForms" "addplot")))

this works fine for simple commands like \section or \medskip. But how can I do this for the above code to prevent Auctex from disarranging my code?


Regards Th. Grothe



_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to