emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Søren Mikkelsen" <sorenaamikkelsen@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org-mode using enumerate properties to export to LaTeX
Date: Sun, 11 Sep 2011 22:12:14 +0200	[thread overview]
Message-ID: <j4j4mv$jf0$1@dough.gmane.org> (raw)
In-Reply-To: <87obyq3nma.fsf@ucl.ac.uk>

On 2011-09-11 21:06, Eric S Fraga wrote:
> Søren Mikkelsen<sorenaamikkelsen@gmail.com>  writes:
>
>> On 2011-09-11 15:18, Eric S Fraga wrote:
>>> Søren Mikkelsen<sorenaamikkelsen@gmail.com>   writes:
>>>
>>
>>>> I am currently struggling with enumerating my numbered list with a
>>>> prefix. In org-mode I have
>>>>
>>>>    1. This
>>>>    2. is
>>>>    3. a
>>>>    4. numbered
>>>>    5. list
>>>
>>> Try putting the line
>>>
>>> #+latex: \renewcommand{\theenumi}{R\arabic{enumi}}
>>>
>>> before the start of the list.  This changes how latex outputs the first
>>> level (i) enumeration counter.  Set it back afterwards to the same thing
>>> *without* the =R= to get the default behaviour.
>>>
>>> This is obviously a latex issue not specific to org.  For these cases,
>>> there are some very good resources online.  e.g.
>>>
>>>     https://secure.wikimedia.org/wikibooks/en/wiki/LaTeX/
>>>
>>> and my all time favourite:
>>>
>>>     http://www.tex.ac.uk/tex-archive/info/visualFAQ/visualFAQ.pdf
>>>
>>> one of the best things about org as a writing mode is that you still
>>> have access to most latex (and other export target) features in a
>>> straightforward manner!
>>>
>>> HTH,
>>> eric
>>
>> Thanks, I thought something like renewing a command could do the
>> job. However it could be nice, if it was possible to export a list
>> with a generic prefix on the lists.
>>
>> ---
>> /aagaard
>
> I'm not sure what you mean?  Doesn't what I posted above do the job?
> This is the standard latex means of doing this, at least with the
> default latex enumeration environment.
>
> You may wish to check out other list environments; there are a few out
> there, e.g. paralist.  However, I am not sure how the latex exporter
> could be configured to pass the extra information that some of these
> need to achieve what you want.
>
> HTH,
> eric
>
>

Yes, it works perfectly when I export it into latex (and thank you for 
that). Just wondering if it was possible to do something similar within 
org-mode; a enumerate list with a prefix, e.g.:

  R1. One
  R2. Two


-- 
---
Søren Mikkelsen

  reply	other threads:[~2011-09-11 20:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-11 10:27 Org-mode using enumerate properties to export to LaTeX Søren Mikkelsen
2011-09-11 13:18 ` Eric S Fraga
2011-09-11 16:48   ` Søren Mikkelsen
2011-09-11 19:06     ` Eric S Fraga
2011-09-11 20:12       ` Søren Mikkelsen [this message]
2011-09-12  9:30         ` Eric S Fraga
2011-09-12 20:25           ` Søren Mikkelsen
2011-09-12 21:04             ` Eric S Fraga

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='j4j4mv$jf0$1@dough.gmane.org' \
    --to=sorenaamikkelsen@gmail.com \
    --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).