Hi Nick, Nick Dokos wrote: > Bastien <bastiengue...@googlemail.com> wrote: >> Sébastien Vauban <wxhgmqzgw...@spammotel.com> writes: >> >>>> Maybe \linebreak is less context-sensitive than \newline, which would >>>> mean that there are more contexts (like \title and \author) in which it >>>> behaves as expected. Just a guess. >>> >>> I've asked the question on FCTT (fr.comp.text.tex) and already got an >>> answer of Maneul Pegourie-Gonnard (who is expert on that matter): >>> >>> http://groups.google.fr/group/fr.comp.text.tex/browse_thread/thread/1b1af2e5291270e2# > > Bastien, there is still one problem, I think, with > #+AUTHOR: > > \author{one \\ two} > > and > > \author{one \linebreak two} > > behave differently (the \linebreak has no effect), so if one wants the > first behavior, the exporter's penchant to change \\ to > \\textbackslash{} will not allow it. I'm not sure why \title and \author > behave differently: I guess it's because \author is expanded inside a > \tabular, whereas \title is not.
For sure, it'd be better if `\\' wasn't converted at all when exporting to LaTeX (for the ones in the TITLE and AUTHOR meta-tags, at least). But, in my case, --8<---------------cut here---------------start------------->8--- #+TITLE: YYY \linebreak XXX #+AUTHOR: YYY \linebreak XXX #+DATE: 2009-09-09 #+DESCRIPTION: #+KEYWORDS: #+LANGUAGE: en [...] --8<---------------cut here---------------end--------------->8--- is correctly converted into: --8<---------------cut here---------------start------------->8--- % Created 2009-09-09 Wed 11:37 \documentclass[final,book]{myreport} % <-- our company class \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{longtable} \usepackage{soul} \usepackage{xcolor} \usepackage{listings} \title{YYY \linebreak XXX} \author{YYY \linebreak XXX} \date{2009-09-09} \begin{document} [...] --8<---------------cut here---------------end--------------->8--- and the PDF output of both the Title line and the Author line is on two lines (perfectly centered, horizontally). Is your `\maketitle' redefined? Best regards, Seb -- Sébastien Vauban _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode