emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-beamer: getting back to no indentation after a block


From: Eric S Fraga
Subject: Re: [O] org-beamer: getting back to no indentation after a block
Date: Fri, 08 Apr 2011 19:29:52 +0100
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux)

address@hidden writes:

> I've just given a presentation using org-beamer and it worked really
> well. Thanks, guys!
>
> During preparation I ran into the problem described in the toy
> presentation below. I'm aware of why the second slide looks how it
> looks (the last line "belongs" to the block header).  Still, I wonder
> if there's a simpler solution for telling org that I want to get back
> to no indentation after the block, similar to the way on the very
> first slide.
>
> I realise that using the solition on the last slide is not a big deal,
> so I'm fine if that's the answer.
>
>       michael
>
>
> #+STARTUP: beamer
> #+LaTeX_CLASS: beamer
> #+LaTeX_CLASS_OPTIONS: [presentation]
> #+BEAMER_HEADER_EXTRA: 
> \usetheme{Warsaw}\usefonttheme[onlysmall]{structurebold}
> #+BEAMER_FRAME_LEVEL: 2
> * My question in three slides
> ** A slide
> Some unindented text
> - item
> - another item
> back to unindented text
> ** The same slide, but with a block
> Some unindented text
> *** the only way to get a block is to add a heading, right?       :B_block:
>     :PROPERTIES:
>     :BEAMER_env: block
>     :END:
>     - item
>     - another item
> back to unindented text -- but no, this doesn't work, I'm still in
> the block
> ** The same slide, but with a block
> Some unindented text
> *** the only way to get a block is to add a heading, right?       :B_block:
>     :PROPERTIES:
>     :BEAMER_env: block
>     :END:
>     - item
>     - another item
> *** This is the only way I can get what I want                           
> :B_normal:
>     :PROPERTIES:
>     :BEAMER_env: normal

Change this one to:

    :BEAMER_env: ignoreheading

if you want the heading to be ignored.

>     :END:
> but the fact that I'm forced to use a *** heading in the org file although
> I specifically don't want any bullets makes me wonder if there isn't a
> simpler way to achieve what I want?

Yes, the only way to end a block is to start a new "block" but, as I
show above, you can have a block that is essentially a no-op if you tell
org to ignore the heading (C-c C-b i): it does nothing other than end
the previous block and start a new logical group of text.

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.142.g4168)



reply via email to

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