From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Ragged Left in Beamer Export? Date: Thu, 15 May 2014 10:30:19 +0100 Message-ID: <87d2ffpexg.fsf@ucl.ac.uk> References: <8738gbe9ad.fsf@hornfels.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkrzo-0002oa-Dq for emacs-orgmode@gnu.org; Thu, 15 May 2014 05:30:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wkrzc-0002nv-Sf for emacs-orgmode@gnu.org; Thu, 15 May 2014 05:30:36 -0400 Received: from mail-db3lp0083.outbound.protection.outlook.com ([213.199.154.83]:22536 helo=emea01-db3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wkrzc-0002lp-Mp for emacs-orgmode@gnu.org; Thu, 15 May 2014 05:30:24 -0400 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Loris Bennett Cc: emacs-orgmode@gnu.org On Thursday, 15 May 2014 at 10:27, Loris Bennett wrote: > Hi, > > I am trying the following: > > > #+BEGIN_QUOTE > "Getting ragged-left text in a Beamer presentation exported from Org does not > seem as easy as I expected." > #+END_QUOTE > > #+BEGIN_LaTeX > \begin{raggedleft} > From "Loris' Adventures in Orgland" > \end{raggedleft} > #+END_LaTeX > > > This seems to get exported to the latex file OK, but the text after the > quote is justified left in the final Beamer PDF. > > What am I doing wrong? The ragged left only takes place when a paragraph ends so simply put "\par" before the end: #+begin_src org ,#+BEGIN_LaTeX \begin{raggedleft} From "Loris' Adventures in Orgland" \par\end{raggedleft} ,#+END_LaTeX #+end_src Your code might look better this way, by the way: #+begin_src org ,#+latex: \begin{raggedleft} From "Loris' Adventures in Orgland" ,#+latex: \par\end{raddedleft} #+end_src as you can then use org syntax on the text elements. HTH, eric -- : Eric S Fraga (0xFFFCF67D), Emacs 24.4.50.2, Org release_8.2.6-958-g7c8559-git