all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Indraneel Majumdar <indraneel@indraneel.info>
To: Kai <k@limist.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Header levels and section numbering > 3, in LaTeX export
Date: Wed, 06 Oct 2010 09:52:46 +0530	[thread overview]
Message-ID: <4CABF996.4090803@indraneel.info> (raw)
In-Reply-To: <4CABEEA0.1070304@limist.com>

  Hi,

If you're 4 levels down, it'll be a sub sub sub section, same as a paragraph
* Section
** Sub section
*** Sub Sub section
**** Paragraph
***** Sub paragraph

H:5 will give you the levels but you have to enable numbering explicitly 
with
\setcounter{secnumdepth}{5}

paragraph is actually a sectioning command. If you want to use it as sub 
sub sub section do this:

**** Sub sub sub section heading
       Paragraph starts here...

If you simply want numbered paragraphs, do this:

****
       Paragraph starts here...
And \includepackage{titlesec} to iron out the redundant spaces that 
would otherwise appear.


HTH,
Indraneel

On 2010-10-06 9:06, Kai wrote:
> With a .org file having headers 4-5 levels deep (e.g. **** This 
> Section), I'd like the LaTeX export to treat it as a subsubsubsection 
> with numbering, e.g. 1.1.1.1.  But no luck, and I'm not sure whether 
> I'm doing something wrong with org-mode, or need to customize my LaTeX 
> template.  In the org file I have:
>
> #+OPTIONS: H:5 num:t
>
> ...which does give the TeX markup of \label{sec-1_1_1_1} in the .tex 
> file, but the header text is wrapped in a \paragraph{The Header}, 
> instead of \subsubsubsection{The Header}.
>
> Is there a way to have the org-mode LaTeX export mark that up as a 
> subsubsubsection?  I'm using the org-mode trunk.  Thanks in advance 
> for any help,
>
> K
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

  reply	other threads:[~2010-10-06  4:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <k@limist.com>
2010-10-06  3:36 ` Header levels and section numbering > 3, in LaTeX export Kai
2010-10-06  4:22   ` Indraneel Majumdar [this message]
2010-10-06  5:38   ` Nick Dokos
2010-10-06 21:45     ` Scot Becker
2010-10-07  1:06       ` Indraneel Majumdar
2010-10-07  9:55         ` Scot Becker
2010-10-08 10:24           ` Indraneel Majumdar

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4CABF996.4090803@indraneel.info \
    --to=indraneel@indraneel.info \
    --cc=emacs-orgmode@gnu.org \
    --cc=k@limist.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.