emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Header levels and section numbering > 3, in LaTeX export


From: Indraneel Majumdar
Subject: Re: [Orgmode] Header levels and section numbering > 3, in LaTeX export
Date: Wed, 06 Oct 2010 09:52:46 +0530
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100915 Lightning/1.0b2 Thunderbird/3.1.4

 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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode




reply via email to

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