[texhax] Plain TeX: a question about \par before and after displayed equations

Rodolfo Medina rodolfo.medina at gmail.com
Sun Oct 12 20:23:48 CEST 2008


Rodolfo Medina wrote:

>> I wish to put a blank line before and after displayed equations, e.g.:
>> 
>> 
>> bla bla bla
>> 
>> $$x = y$$
>> 
>> bla bla
>> 
>> 
>> , but without being a new paragraph really begun.  In other words, I wish
>> that those two blank lines (before and after displayed equation) had no
>> effect.  Is that possible, and how?


>> I use Emacs as
>> text editor, and the command `M-q' fills a paragraph.  So I need that in my
>> .tex file paragraphs are separated by blank lines, else paragraphs will be
>> messed up by `M-q'.



Oleg Katsitadze <olegkat at gmail.com> writes:

> I use AUCTeX 11.83 and it fills paragraphs correctly with the % lines
> around displayed math.



I use AUCTeX 11.84.  Do you mean this:


bla bla bla
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
$$x = y$$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
bla bla


or this:


bla bla bla
%
$$x = y$$
%
bla bla



?  Because, this latter does not work for me, however the former could be a
possible (not very nice) solution.

Thanks
Rodolfo



More information about the texhax mailing list