emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: William Denton <wtd@pobox.com>
To: emacs-orgmode@gnu.org
Subject: In LaTeX export, can I control what heading type a headline goes to?
Date: Wed, 28 Nov 2018 14:42:10 -0500 (EST)	[thread overview]
Message-ID: <alpine.DEB.2.02.1811281426220.18307@shell.miskatonic.org> (raw)

By default the LaTeX export uses the article class, and headline levels are 
mapped to headings this way:  top level becomes section, second level becomes 
subsection, third level becomes subsubsection.  That's simple and works very 
well.

If the book class is used, then the top level becomes part, the second level 
becomes chapter, the third level becomes section, the fourth level becomes 
subsection, etc.  That works well too, of course, but what if I don't want to 
use "part"?

Is there a way, exporting as a book, to make Org skip "part" and make a 
top-level Org headline turn into a chapter?  Is there a built-in way, or do I 
need to make my own class in org-latex-classes that has the structure I want?

(In LaTeX the problem doesn't arise, of course:  don't use \part{} and just 
start with \chapter{}.)

Bill
--
William Denton :: Toronto, Canada   ---   Listening to Art: https://listeningtoart.org/
https://www.miskatonic.org/         ---   GHG.EARTH: http://ghg.earth/
Caveat lector.                      ---   STAPLR: http://staplr.org/

             reply	other threads:[~2018-11-28 19:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-28 19:42 William Denton [this message]
2018-11-28 19:56 ` In LaTeX export, can I control what heading type a headline goes to? Ken Mankoff
2018-11-28 21:19   ` Diego Zamboni
2018-11-29  8:55 ` Richard Lawrence

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=alpine.DEB.2.02.1811281426220.18307@shell.miskatonic.org \
    --to=wtd@pobox.com \
    --cc=emacs-orgmode@gnu.org \
    /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).