emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Salazar <cycleofsong@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: heading numbering in LaTeX export?
Date: Sun, 8 Sep 2013 03:43:14 -0400	[thread overview]
Message-ID: <CAE+_6TzhsckgsceA5Kf2QYiwTYGv=88cqEKi96zriDRbbnhAug@mail.gmail.com> (raw)
In-Reply-To: <87ppsjsvs7.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 816 bytes --]

That appears to work perfectly. Thank you so much!

If I have 5 levels of heading, should I do it like this?

#+LATEX_HEADER: \setcounter{secnumdepth}{0}
#+LATEX_HEADER: \setcounter{tocdepth}{5}


On Sun, Sep 8, 2013 at 1:54 AM, Nick Dokos <ndokos@gmail.com> wrote:

> Peter Salazar <cycleofsong@gmail.com> writes:
>
> > Thank you! That solution is very promising indeed.
> >
> > I see why it's quick and dirty though - it appears to be generation
> > section numbers, but just making the numbers invisible, so that the
> > headings are not flush with the left margin:
> > http://i.imgur.com/G6drpmf.png
> >
> > Is there a solution to that, or is that just the way it is?
> >
>
> Here is a cleaner way:
>
> #+LATEX_HEADER: \setcounter{secnumdepth}{0}
> #+LATEX_HEADER: \setcounter{tocdepth}{3}
>
> --
> Nick
>
>
>
>

[-- Attachment #2: Type: text/html, Size: 1589 bytes --]

  reply	other threads:[~2013-09-08  7:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-06 19:43 heading numbering in LaTeX export? Peter Salazar
2013-09-06 20:30 ` John Hendy
2013-09-07 22:51   ` Peter Salazar
2013-09-08  4:05     ` Nick Dokos
2013-09-08  4:59       ` Peter Salazar
2013-09-08  5:54         ` Nick Dokos
2013-09-08  7:43           ` Peter Salazar [this message]
2013-09-08 11:47             ` Nick Dokos
2013-09-08 16:58               ` Peter Salazar
2013-09-08 14:26     ` John Hendy
2013-09-07 20:21 ` Richard Lawrence
2013-09-07 20:41   ` Rasmus

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='CAE+_6TzhsckgsceA5Kf2QYiwTYGv=88cqEKi96zriDRbbnhAug@mail.gmail.com' \
    --to=cycleofsong@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ndokos@gmail.com \
    /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).