emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Support for "parts"
Date: Thu, 20 Nov 2014 17:56:23 -0500	[thread overview]
Message-ID: <87ioi9trag.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 877fypr08w.fsf@wmi.amu.edu.pl

Marcin Borkowski <mbork@wmi.amu.edu.pl> writes:

> Hi there,
>
> just wondering: in LaTeX, there is a concept of a "part", which is above
> "chapter" in the hierarchy.  Is there any way to do something similar in
> Org?  To be more precise: I'd want something like this:
>
> \chapter{Introduction}
>
> \part{For beginners}
>
> \chapter{One}
> \chapter{Two}
>
> \part{For advanced users}
>
> \chapter{Three}
> \chapter{Four}
>
>
> I guess it's not possible, but who knows?  It's Org, after all;-).
>

Almost but not quite: as you say, \part is above \chapter in the
hierarchy, so you cannot have a separate introduction chapter outside a
part. But you can have three parts:

> \part{Introduction}
> \chapter{Introduction}
>
> \part{For beginners}
>
> \chapter{One}
> \chapter{Two}
>
> \part{For advanced users}
>
> \chapter{Three}
> \chapter{Four}

Just use the book class:

#+LATEX_CLASS: book

Then one-star headings become parts, two-star headings become chapters,
etc.

--
Nick

      reply	other threads:[~2014-11-20 22:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-20 22:11 Support for "parts" Marcin Borkowski
2014-11-20 22:56 ` Nick Dokos [this message]

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=87ioi9trag.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.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).