emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: bozongo@gmx.de
Cc: emacs-orgmode@gnu.org
Subject: Re: org-beamer: getting back to no indentation after a block
Date: Fri, 08 Apr 2011 19:29:52 +0100	[thread overview]
Message-ID: <87d3kwy4tb.fsf@ucl.ac.uk> (raw)
In-Reply-To: <4D9DE3F9.8000601@gmx.de> (bozongo@gmx.de's message of "Thu, 07 Apr 2011 18:19:05 +0200")

bozongo@gmx.de 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	other threads:[~2011-04-08 18:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 16:19 org-beamer: getting back to no indentation after a block bozongo
2011-04-08 18:29 ` Eric S Fraga [this message]

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87d3kwy4tb.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=bozongo@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).