auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] Indenting behavior


From: David Kastrup
Subject: Re: [AUCTeX] Indenting behavior
Date: Sun, 09 Oct 2005 23:56:37 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

David Arnold <address@hidden> writes:

> All,
>
> When I use C-M-\ on this environment, I get this result:
>
> \begin{exercise}*Consider the functions
>    $$f(x)=x^2-2x-3\qquad\text{and}\qquad g(x)=3x-4$$
>    and answer each of the questions that follow.
>
>    \begin{parts}[2]
>    \item $f(-3)$ &
>    \item $g(4)$ \\
>    \item $f(g(a))$ &
>    \item $g(f(a))$\\
>    \end{parts}
>
> \end{exercise}
>
> I hope the indentation shows in this post. I was hoping for:
>
> \begin{exercise}*Consider the functions
>    $$f(x)=x^2-2x-3\qquad\text{and}\qquad g(x)=3x-4$$
>    and answer each of the questions that follow.
>
>    \begin{parts}[2]
>      \item $f(-3)$ &
>      \item $g(4)$ \\
>      \item $f(g(a))$ &
>      \item $g(f(a))$\\
>    \end{parts}
>
> \end{exercise}
>
> Any thoughts, fixes, addenda?

$$...$$ is not a LaTeX construct, and use

M-x customize-variable RET LaTeX-item-indent RET

if you are not happy about the default indentation of \item.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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