all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* formatting of latex documents
@ 2008-03-25 10:48 Alain Muls
  0 siblings, 0 replies; 2+ messages in thread
From: Alain Muls @ 2008-03-25 10:48 UTC (permalink / raw)
  To: emacs list

[-- Attachment #1: Type: text/plain, Size: 2012 bytes --]

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 #2: alain_muls.vcf --]
[-- Type: text/x-vcard, Size: 242 bytes --]

begin:vcard
fn:Alain Muls
n:Muls;Alain
org:RMA;CISS
adr:;;Renaissance Avenue 30;Brussems;;1000;Belgium
email;internet:alain.muls@telenet.be
title:Prof
tel;work:+32.2.7376340
tel;cell:+32.477.675091
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: formatting of latex documents
       [not found] <mailman.9403.1206442124.18990.help-gnu-emacs@gnu.org>
@ 2008-03-25 17:40 ` Ralf Angeli
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Angeli @ 2008-03-25 17:40 UTC (permalink / raw)
  To: help-gnu-emacs

* Alain Muls (2008-03-25) writes:

> 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.

Longlines mode?

-- 
Ralf


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-03-25 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.9403.1206442124.18990.help-gnu-emacs@gnu.org>
2008-03-25 17:40 ` formatting of latex documents Ralf Angeli
2008-03-25 10:48 Alain Muls

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.