emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] export to LaTeX with TOC but without numbers


From: Andreas Leha
Subject: Re: [O] export to LaTeX with TOC but without numbers
Date: Wed, 05 Jun 2013 09:09:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Nick Dokos <address@hidden> writes:

> Andreas Leha <address@hidden> writes:
>
>>> Instead of adding toc entries, you can use latex to delete section
>>> numbers:
>>>
>>> #+LATEX_HEADER: \setcounter{secnumdepth}{0}
>>> ...
>>>
>>> The problem might be that the sections are not numbered in the TOC
>>> either. But if you don't care about that, this is certainly simpler
>>> than adding toc entries by hand.
>>
>> Thanks for that!  That is really cool and having the entries in the TOC
>> un-numbered is exactly what I want!
>>
>> As a follow-up, it would be nice if I could mix
>> that now again with num:1.  That way I could add a TOC with depth 1
>> (only sections) and have them un-numbered.
>>
>
> There is a tocdepth counter that you can set similarly. Will that
> do what you want?
>
> #+LATEX_HEADER: \setcounter{tocdepth}{1}
> #+LATEX_HEADER: \setcounter{secnumdepth}{0}
>
>

That does what I want.  Thanks a lot!

Best,
Andreas

PS: I will come back when I need a cross-backend-solution, that work for
odt as well....




reply via email to

[Prev in Thread] Current Thread [Next in Thread]