emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Loris Bennett <loris.bennett@fu-berlin.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Ragged Left in Beamer Export?
Date: Thu, 15 May 2014 10:30:19 +0100	[thread overview]
Message-ID: <87d2ffpexg.fsf@ucl.ac.uk> (raw)
In-Reply-To: 8738gbe9ad.fsf@hornfels.zedat.fu-berlin.de

On Thursday, 15 May 2014 at 10:27, Loris Bennett wrote:
> Hi,
> I am trying the following:
> "Getting ragged-left text in a Beamer presentation exported from Org does not
> seem as easy as I expected."
> \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
  From "Loris' Adventures in Orgland"

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}

as you can then use org syntax on the text elements.

: Eric S Fraga (0xFFFCF67D), Emacs, Org release_8.2.6-958-g7c8559-git

  reply	other threads:[~2014-05-15  9:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-15  8:27 Ragged Left in Beamer Export? Loris Bennett
2014-05-15  9:30 ` Eric S Fraga [this message]
2014-05-15 10:21   ` Loris Bennett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d2ffpexg.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=loris.bennett@fu-berlin.de \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).