all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: "Łukasz Stelmach" <lukasz.stelmach@iem.pw.edu.pl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: latex export and beamer columns
Date: Thu, 26 Nov 2009 18:25:19 +0000	[thread overview]
Message-ID: <87k4xdb0ts.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <87y6lu833v.fsf@dasa3.iem.pw.edu.pl>

At Thu, 26 Nov 2009 02:52:04 +0100,
Łukasz Stelmach wrote:
> 
> I've just tried something simplier and IMHO more flexible (widths).
> 
> --8<---------------cut here---------------start------------->8---
> * The Title
> ** The Section
> *** The Frame
> #+latex: \begin{columns}[t]
> #+latex: \column{.5\textwidth}
>    - My point
>    - Your point
> #+latex: \column{.5\textwidth}
> Conclusion
> #+latex: \end{columns}
> --8<---------------cut here---------------end--------------->8---
> 
> Unfortunately the the plain list is not recognized and converted to
> itemize. When I remove the "#+latex: \begin|end" stuff then the list
> looks as it should.


(note that my response has probably been superseded by Carsten's
recent message regarding beamer support in org mode but this still
might be of some interest)


I am not sure what to say!  IMO, it's not simpler although I guess it
could be more flexible.  However, you say it doesn't work?

One alternative based on your approach is to define begin and end
commands for the columns environment that avoid using "\begin" and
"\end" which org interprets.  Maybe something like this:

--8<---------------cut here---------------start------------->8---
#+LaTeX_CLASS: beamer 

#+latex: \newcommand{\BC}{\begin{columns}[t]}
#+latex: \newcommand{\EC}{\end{columns}}

* The main section
*** An interesting slide
    \BC
    #+latex: \column{0.4\textwidth}
    - an item with enough text to show the width of the column
    - another item
    #+latex: \column{0.6\textwidth}
    - an item with enough text to show the width of the column
    - and yet another
    \EC
--8<---------------cut here---------------end--------------->8---

which appears to work just fine.  Whether it's simpler or not depends
on what you want.  I like using org headlines to be able to hide
individual columns and to be able to move them around easily.

  reply	other threads:[~2009-11-26 18:25 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-21 12:49 latex export and beamer columns Eric S Fraga
2009-11-21 13:34 ` Carsten Dominik
2009-11-22 12:12   ` Eric S Fraga
2009-11-22 15:15     ` Eric S Fraga
2009-11-22 15:29       ` Matt Lundin
2009-11-22 19:31         ` Eric S Fraga
2009-11-23 13:55       ` Carsten Dominik
2009-11-23 22:15         ` Eric S Fraga
2009-11-24  0:02           ` Daniel Martins
2009-11-24  6:55           ` Carsten Dominik
2009-11-24  8:36             ` Eric S Fraga
2009-11-24  8:49             ` Eric S Fraga
2009-11-24  8:59               ` Carsten Dominik
2009-11-24 18:02                 ` Eric S Fraga
2009-11-25  6:28                   ` Carsten Dominik
2009-11-25  9:27                     ` Eric S Fraga
2009-11-25 18:03                     ` Eric S Fraga
2009-11-25 23:25                       ` Carsten Dominik
2009-11-26  8:16                         ` Eric S Fraga
2009-11-26  9:05                           ` Carsten Dominik
2009-11-26 10:33                             ` Eric S Fraga
2009-11-23 14:53     ` Sébastien Vauban
2009-11-21 16:33 ` Thomas S. Dye
2009-11-22 12:00   ` Eric S Fraga
2009-11-26  1:52 ` Łukasz Stelmach
2009-11-26 18:25   ` Eric S Fraga [this message]
2009-11-26 19:54     ` Darlan Cavalcante Moreira

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

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

  git send-email \
    --in-reply-to=87k4xdb0ts.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=lukasz.stelmach@iem.pw.edu.pl \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.