From mboxrd@z Thu Jan 1 00:00:00 1970 From: Indraneel Majumdar Subject: Re: Header levels and section numbering > 3, in LaTeX export Date: Wed, 06 Oct 2010 09:52:46 +0530 Message-ID: <4CABF996.4090803@indraneel.info> References: <4CABEEA0.1070304@limist.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36840 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3LYs-0000wH-TW for emacs-orgmode@gnu.org; Wed, 06 Oct 2010 00:25:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3LYr-0005th-Aq for emacs-orgmode@gnu.org; Wed, 06 Oct 2010 00:25:02 -0400 Received: from mailout12.yourhostingaccount.com ([65.254.253.96]:49241) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3LYr-0005t1-98 for emacs-orgmode@gnu.org; Wed, 06 Oct 2010 00:25:01 -0400 Received: from mailscan17.yourhostingaccount.com ([10.1.15.17] helo=mailscan17.yourhostingaccount.com) by mailout12.yourhostingaccount.com with esmtp (Exim) id 1P3LYn-0006By-69 for emacs-orgmode@gnu.org; Wed, 06 Oct 2010 00:24:57 -0400 In-Reply-To: <4CABEEA0.1070304@limist.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Kai Cc: emacs-orgmode@gnu.org 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 >