unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* customizing fill paragraph command in emacs latex mode
@ 2007-09-11 18:11 pawelg
  0 siblings, 0 replies; only message in thread
From: pawelg @ 2007-09-11 18:11 UTC (permalink / raw)
  To: Help-gnu-emacs


Hi

I need help in customizing fill paragraph action (M-q shortkey) in emacs
latex mode.
In latex I use my own environment, of the form

\beq{a_string}
....
\eeq

as abbreviation of the regular equation environment,

\begin{equation}
\label{a_string}
...
\end{equation}

My question is how to make fill paragraph (M-q) command to recognize that
"\beq{a_string}" is beginning of a new paragraph, like \begin{equation}? 
I want to avoid inlining this environment with the previous paragraph.

I experimented with "setq paragraph-start" in .emacs, but I was unsuccesful. 

Best regards,

PawelG
-- 
View this message in context: http://www.nabble.com/customizing-fill-paragraph-command-in-emacs-latex-mode-tf4422446.html#a12614115
Sent from the Emacs - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-11 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-11 18:11 customizing fill paragraph command in emacs latex mode pawelg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).