help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Indent region in LaTeX mode


From: Rodolfo Medina
Subject: Re: Indent region in LaTeX mode
Date: Wed, 26 Aug 2009 15:17:50 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.0.50 (gnu/linux)

Rodolfo wrote:

> I want a certain paragraph to be indented and filled, like this:
>
> \item{1)} The old lady pulled her spectacles down and looked over them about
>           the room; then she put them up and looked out under them. She seldom
>           or never looked through them for so small a thing as a boy;  were
>           her state pair, the pride of her heart, and were built for "style,"
>           not service -- she could have seen through a pair of stove-lids just
>
> .  I get this easily in text mode with `C-u 10 C-x TAB' and then `M-q'.
> Instead, in LaTeX mode, `M-q' does not fill the region.  I don't know why it
> works fine in text mode but not in LaTeX mode.
>
> Can anyone suggest a proper code to make those above commands work _also_
> under LaTeX mode?
>
> The issue looks important to me because, just in LaTeX, mode, you can often
> use such \item environments.



Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Make it an one-liner, i.e., fill-column set to 99999 or more.
> Every \item will have its own dedicated line. And so the paragraphs.


Then my example above becomes:

\item{1)} The old lady pulled her spectacles down and looked over them about 
the room; then she put them up and looked out under them. She seldom or never 
looked through them for so small a thing as a boy; they were her state pair, 
the pride of her heart, and were built for "style," not service -- she could 
have seen through a pair of stove-lids just

.  It's not what I want.  Maybe I misunderstood what you meant.

Rodolfo


reply via email to

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