emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Support for "parts"
@ 2014-11-20 22:11 Marcin Borkowski
  2014-11-20 22:56 ` Nick Dokos
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Borkowski @ 2014-11-20 22:11 UTC (permalink / raw)
  To: Org-Mode mailing list

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;-).

TIA,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Support for "parts"
  2014-11-20 22:11 Support for "parts" Marcin Borkowski
@ 2014-11-20 22:56 ` Nick Dokos
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2014-11-20 22:56 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-20 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-20 22:11 Support for "parts" Marcin Borkowski
2014-11-20 22:56 ` Nick Dokos

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).