emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Julien Cubizolles <j.cubizolles@free.fr>
To: emacs-orgmode@gnu.org
Subject: Different kinds of enumerate in the same latex export
Date: Tue, 05 Sep 2017 11:41:00 +0200	[thread overview]
Message-ID: <8737811o0j.fsf@free.fr> (raw)

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.

             reply	other threads:[~2017-09-05  9:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-05  9:41 Julien Cubizolles [this message]
2017-09-05  9:52 ` Different kinds of enumerate in the same latex export Rasmus
2017-09-05  9:58 ` Eric S Fraga
2017-09-05 13:09   ` Julien Cubizolles

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=8737811o0j.fsf@free.fr \
    --to=j.cubizolles@free.fr \
    --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).