[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Different kinds of enumerate in the same latex export
From: |
Julien Cubizolles |
Subject: |
[O] Different kinds of enumerate in the same latex export |
Date: |
Tue, 05 Sep 2017 11:41:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
I have to use two different enumerate items in the same document, one
numbered (the default enumerate) and the other one ordered
alphabetically (which I will now call "plickers"). In my LaTeX class,
I've defined the "plickers" environment
--8<---------------cut here---------------start------------->8---
\RequirePackage{enumitem}
\newlist{plickers}{enumerate}{2}
\setlist[plickers]{label=\alph*.}
--8<---------------cut here---------------end--------------->8---
But I don't know how to have org-mode use one or the other to export an
ordered list. With:
--8<---------------cut here---------------start------------->8---
(setq org-beamer-environments-extra
'(
("Plickers" "P" "\\begin{plickers}%a%U" "\\end{plickers}")))
--8<---------------cut here---------------end--------------->8---
The following obviously creates a enumerate environment nested within a
plickers one, not what's intended.
--8<---------------cut here---------------start------------->8---
**** essai :B_Plickers:
:PROPERTIES:
:BEAMER_env: Plickers
:END:
1. 1st item
2. 2nd item
--8<---------------cut here---------------end--------------->8---
Does orgmode allow to pass some properties to a list that could be used
to alter its formatĀ ?
Julien.
- [O] Different kinds of enumerate in the same latex export,
Julien Cubizolles <=