emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Different kinds of enumerate in the same latex export
@ 2017-09-05  9:41 Julien Cubizolles
  2017-09-05  9:52 ` Rasmus
  2017-09-05  9:58 ` Eric S Fraga
  0 siblings, 2 replies; 4+ messages in thread
From: Julien Cubizolles @ 2017-09-05  9:41 UTC (permalink / raw)
  To: emacs-orgmode

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-09-05 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-05  9:41 Different kinds of enumerate in the same latex export Julien Cubizolles
2017-09-05  9:52 ` Rasmus
2017-09-05  9:58 ` Eric S Fraga
2017-09-05 13:09   ` Julien Cubizolles

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