From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: How to get \\ in title or author? Date: Wed, 09 Sep 2009 10:26:28 -0400 Message-ID: <5605.1252506388@gamaville.dokosmarshall.org> References: <87ocpmc3mk.fsf@mundaneum.com> <87tyze4c7b.fsf@bzg.ath.cx> <87eiqhc1tt.fsf@mundaneum.com> <877hwadsb0.fsf@bzg.ath.cx> <87my55rw1b.fsf@mundaneum.com> <878wgou706.fsf@bzg.ath.cx> <23362.1252472459@gamaville.dokosmarshall.org> <873a6wmoux.fsf@mundaneum.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlOA3-00064o-1r for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 10:28:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlO9y-00061j-77 for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 10:28:38 -0400 Received: from [199.232.76.173] (port=33990 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlO9x-00061f-VT for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 10:28:34 -0400 Received: from vms173001pub.verizon.net ([206.46.173.1]:33748) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlO9x-0008CA-83 for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 10:28:33 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173001.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KPP00J2KK43MFO8@vms173001.mailsrvcs.net> for emacs-orgmode@gnu.org; Wed, 09 Sep 2009 09:26:32 -0500 (CDT) In-reply-to: Message from =?utf-8?Q?S=C3=A9bastien_Vauban?= of "Wed, 09 Sep 2009 11:47:18 +0200." <873a6wmoux.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien_Vauban?= Cc: emacs-orgmode@gnu.org =?utf-8?Q?S=C3=A9bastien_Vauban?= wrote: > ... > 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 lin= > es > (perfectly centered, horizontally). > > Is your `\maketitle' redefined? > Hi Seb & Bastien, The org->latex translation is no problem, but the resulting latex file does not give me a two-line authorship, either through pdflatex (tested with xpdf) or through latex->dvi (tested with xdvi) and then through dvi->ps (tested with gv). And \maketitle is not redefined. I append the complete LaTeX file in case you'd like to test. If you do, I'd be interested in the results. I'm wondering whether the ``myreport'' class does things differently for you, but I don't really know. It might be time to get my (very rudimentary) LaTeX debugging skills out of the attic, dust them off, oil them and put them to work again. Thanks much, Nick --8<---------------cut here---------------start------------->8--- % Created 2009-09-09 Wed 00:43 \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{longtable} \usepackage{soul} \usepackage{hyperref} \title{newlines} \author{one \linebreak two} \date{09 September 2009} \begin{document} \maketitle \setcounter{tocdepth}{3} \tableofcontents \vspace*{1cm} \section{foo} \label{sec-1} \section{bar} \label{sec-2} \end{document} --8<---------------cut here---------------end--------------->8---