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

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

formatting of latex documents


From: Alain Muls
Subject: formatting of latex documents
Date: Tue, 25 Mar 2008 11:48:49 +0100
User-agent: Thunderbird 2.0.0.12 (X11/20080227)

Hi,

I use emacs and auctex/reftex/cdlatex to create my source latex files.
Recently the formatting changed of my documents.

1. I have some macros for inserting specific environments, such as

;; add support for paralist and define the shortcuts for them
(setq cdlatex-env-alist
'(("asparaenum" "\\begin{asparaenum}\n\\item ?\n\\end{asparaenum}\n" nil) ("inparaenum" "\\begin{inparaenum}[(a)]\n\\item ?\n\\end{inparaenum}\n" nil) ("compactenum" "\\begin{compactenum}\n\\item ?\n\\end{compactenum}\n" nil) ("asparaitem" "\\begin{asparaitem}\n\\item ?\n\\end{asparaitem}\n" nil) ("inparaitem" "\\begin{inparaitem}\n\\item ?\n\\end{inparaitem}\n" nil) ("compactitem" "\\begin{compactitem}\n\\item ?\n\\end{compactitem}\n" nil) ("compactdesc" "\\begin{compactdesc}\n\\item \[?\]\n\\end{compactdesc}\n" nil)
       ("am" "\%\% begin AM\n?\n\%\% end AM\n" nil)
       ("frame" "\\begin{frame}\n  \\frametitle{?}\n\\end{frame}\n" nil)
       ("taal" "\\taal{?}{}" nil)
))

If I type eg.

fra<tab>; then the frame stuff is inserted. Previously it was formatted as below

\begin{frame} \frametitle{}
\end{frame}

Recently it changed to the following format:

\begin{frame}   \frametitle{} \end{frame}

What could be the cause of this.

2. The paragraph formatting also changed but only when I edit in the paragraph. Normal formatting was as follows

\begin{frame}
 \frametitle{Geodetic Positioning Techniques}

 \begin{itemize}
 \item \cbl{Global Navigation Satellite Systems} (GNSS)
   \begin{itemize}
\item proliferation os systems ans signals will take us into the next decade
     with a lot to choose from ...

where the size of each indent is 2 spaces.
Now when I edit the last \item, the formatting changes to

\item proliferation os systems ans signals will take us into the next decade
with a lot to choose from ...

which I find very annoying since you loose overview of the levels.

Any help is much appreciated
Tx/Alain





Attachment: alain_muls.vcf
Description: Vcard


reply via email to

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