[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Ragged Left in Beamer Export?

From: Loris Bennett
Subject: Re: [O] Ragged Left in Beamer Export?
Date: Thu, 15 May 2014 12:21:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Eric S Fraga <address@hidden> writes:

> 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_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

Thanks, Eric, that did the trick.

The hint regarding 


is also useful - I had forgotten about that possibility and your point
about being able to use Org syntax on the text is a good one.

I tried searching for some relevant documentation on "#+LaTeX:", but
failed to find anything other that the Easy Template (Google's
"verbatim" search seems to use a different definition of "verbatim" to
mine).  Maybe it should be mentioned in the manual somewhere in the
chapter "Embedded LaTeX".



This signature is currently under construction.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]