From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: How to get \\ in title or author? Date: Tue, 08 Sep 2009 09:50:22 +0200 Message-ID: <87eiqhc1tt.fsf@mundaneum.com> References: <87ocpmc3mk.fsf@mundaneum.com> <87tyze4c7b.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Bastien, Bastien wrote: > S=C3=A9bastien Vauban writes: > >> I have a small problem when I want to put a double backslash in the list= of >> authors, for example. >> >> #+AUTHOR: Main author \\ Second one >> >> gets exported in LaTeX as >> >> \author{Main author \\textbackslash{} Second one} >> >> What's not the expected result... >> >> Is this a bug? Is there a workaround? > > The workaround I can think of is to use \linebreak instead of \\. > "\\" really means "new paragraph" and it doesn't really make sense in the > author or title environment, does it? Of course, starting a new paragraph has no sense. But (AFAIK) -- unlike `\p= ar' -- `\\' does mean "start a new line", doesn't it? Before sending this question, I had already tried a workaround with `\newline', but though the authors and the title were on 2 lines, their centering on the title page was completely broken. But your solution using `\linebreak': --8<---------------cut here---------------start------------->8--- #+TITLE: Main title \linebreak Subtitle #+AUTHOR: Main author \linebreak Second one --8<---------------cut here---------------end--------------->8--- DOES WORK. Thanks for your precious help! I'm not sure to understand the subtle differences between `\\', `\newline' = and `\linebreak', though... Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode