[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Ragged Left in Beamer Export?
From: |
Eric S Fraga |
Subject: |
Re: [O] Ragged Left in Beamer Export? |
Date: |
Thu, 15 May 2014 10:30:19 +0100 |
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