bug-auctex
[Top][All Lists]
Advanced

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

[Bug-AUCTeX] 11.83; tabular formatting/indenting weirdness, part II: abs


From: Frank Küster
Subject: [Bug-AUCTeX] 11.83; tabular formatting/indenting weirdness, part II: absurd paragraph reformatting
Date: Wed, 04 Oct 2006 18:09:14 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Hi,

here's the next one.  In the following document, try the following:

  Put point into the first line within the tabularx environment and
  press M-q.  The result for this and the next line will be

  & {\abschnittfont{}Berufstätigkeit} \tabularnewline seit 10/2004
  & % \textsf

  This doesn't make sense:  "seit 10/2004" should be in a new line.  If
  you remove the commented \textsf, this is what you get:

  & {\abschnittfont{}Berufstätigkeit} \tabularnewline seit 10/2004 &
  \textbf{Postdoktorand} an der Universität Zürich, Prof. Schuler\\

  although I see no reason to start a new line after the second &.

This is the document:

\documentclass[parskip,11pt]{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{ngerman}
\usepackage{ragged2e}

\usepackage{tabularx}

\newcolumntype{R}{>{\raggedright\hspace{0pt}}X}
\begin{document}

\newcommand{\abschnittfont}{\Large\bfseries}

\vspace*{\baselineskip}
\noindent{}  
\begin{tabularx}{\linewidth}{>{\RaggedLeft}p{3.5cm}R}
               & {\abschnittfont{}Berufstätigkeit} \tabularnewline
  seit 10/2004 & % \textsf
  \textbf{Postdoktorand} an der Universität Zürich, Prof. Schuler\\
  % \hspace*{\texteinrueckung}\parbox[t]{\tabtextwidth}{
  %   \setlength{\parskip}{0.25\baselineskip}
                   Forschung:
                   \begin{itemize}
                     \item Proteinfaltung, unstrukturierte Proteine
                     \item Fluoreszenzmikroskopie,
                       Lebensdauermessungen, FCS
                     \item Optimierung und Automatisierung von statistischen
                       Auswertemethoden für die Forschungsgruppe
                     \end{itemize}
                   Geräteentwicklung in der Einzelmolekülspektroskopie
                   \begin{itemize}
                     \item Entwicklung und Validierung eines Aufbaus zur
                       Probentemperierung im Konfokalmikroskop
                     \item Kontakte zu Firmen und Kooperationspartnern
                   \end{itemize}
                   Teamverantwortung, Qualitätssicherung
                   \begin{itemize}
                   \item Koordination von Gerätewartung und Wissenstransfer 
innerhalb der
                     Gruppe, Betreuung von Doktoranden
                   \item Mitarbeit an der Entwicklung einer
                     in-house-Software zur Datenanalyse
                   \end{itemize}
                   Lehre
                   \begin{itemize}
                   \item Konzipierung und Durchführung von Praktika
                   \item begleitende Vorlesung% }\\
                 \end{itemize}
  \end{tabularx}

\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: t
%%% End: 



Emacs  : GNU Emacs 22.0.50.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2006-09-02 on pacem, modified by Debian
Package: 11.83

current state:
==============
(setq
 AUCTeX-date "2006-06-07"
 window-system 'x
 LaTeX-version "2e"
 TeX-style-path '("style" "auto" "/home/frank/texmf/tex/latex/style" 
"/home/frank/texmf/tex/latex/auto"
                  "/usr/share/emacs/22.0.50/site-lisp/auctex/style" 
"/var/lib/auctex/emacs-snapshot"
                  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" 
"/home/frank/.auctex-styles/"
                  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" 
"/home/frank/.auctex-styles/"
                  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" 
"/home/frank/.auctex-styles/"
                  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" 
"/home/frank/.auctex-styles/"
                  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" 
"/home/frank/.auctex-styles/"
                  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" 
"/home/frank/.auctex-styles/"
                  "/home/frank/.auctex-styles/" "/home/frank/.auctex-styles/" 
"/home/frank/.auctex-styles/")
 TeX-auto-save t
 TeX-parse-self t
 TeX-master t
 TeX-command-list '(("TeX" "%(PDF)%(tex) %S%(PDFout) \"%(mode)\\input %t\"" 
TeX-run-TeX nil
                     (plain-tex-mode texinfo-mode ams-tex-mode) :help "Run 
plain TeX")
                    ("LaTeX" "%l \"%(mode)\\input{%t}\"" TeX-run-TeX nil 
(latex-mode doctex-mode) :help "Run LaTeX")
                    ("MakePDF" "make %s.pdf" TeX-run-TeX nil t) ("MakeTeil1" 
"make teil1" TeX-run-command nil t)
                    ("MakeTeil2" "make teil2" TeX-run-command nil t)
                    ("Makeinfo" "makeinfo %t" TeX-run-compile nil 
(texinfo-mode) :help "Run Makeinfo with Info output")
                    ("Makeinfo HTML" "makeinfo --html %t" TeX-run-compile nil 
(texinfo-mode) :help
                     "Run Makeinfo with HTML output")
                    ("AmSTeX" "%(PDF)amstex %S%(PDFout) \"%(mode)\\input %t\"" 
TeX-run-TeX nil (ams-tex-mode) :help
                     "Run AMSTeX")
                    ("ConTeXt" "texexec --once --texutil %(execopts)%t" 
TeX-run-TeX nil (context-mode) :help
                     "Run ConTeXt once")
                    ("ConTeXt Full" "texexec %(execopts)%t" TeX-run-TeX nil 
(context-mode) :help
                     "Run ConTeXt until completion")
                    ("ConTeXt Clean" "texutil --purgeall" TeX-run-interactive 
nil (context-mode) :help
                     "Clean temporary ConTeXt files")
                    ("BibTeX" "bibtex %s" TeX-run-BibTeX nil t :help "Run 
BibTeX")
                    ("View" "%V" TeX-run-discard t t :help "Run Viewer")
                    ("Print" "%p" TeX-run-command t t :help "Print the file")
                    ("Queue" "%q" TeX-run-background nil t :help "View the 
printer queue" :visible TeX-queue-command)
                    ("File" "%(o?)dvips %d -o %f " TeX-run-command t t :help 
"Generate PostScript file")
                    ("Index" "makeindex %s" TeX-run-command nil t :help "Create 
index file")
                    ("Check" "lacheck %s" TeX-run-compile nil (latex-mode) 
:help "Check LaTeX file for correctness")
                    ("Spell" "<ignored>" TeX-run-ispell-on-document nil t :help 
"Spell-check the document")
                    ("Other" "" TeX-run-command t t :help "Run an arbitrary 
command"))
 )
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)




reply via email to

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