Projekt

Allgemein

Profil

Aktionen

Headings

General Markup

\begin{heading}[<opt>]{<level>}
  %% heading information:
  \tpTitle{…}
  \tpAuthor{…}
  \tpSubtitle{…}
  \tpNumber{…}
  \tpQuote{…}
  \tpQuoteSource{…}
  %% overrides for ToC-entries:
  \tpTocTitle{…}
  \tpTocAuthor{…}
  \tpTocSubtitle{…}
  \tpTocNumber{…}
  %% overrides for running header:
  \tpRunTitle{…}
  \tpRunAuthor{…}
  \tpRunSubtitle{…}
  \tpRunNumber{…}
\end{heading}
  • <level> should include the name of the heading level such as chapter, section, subsubsection
  • <opt> optional argument for headings. If there are none, then omit the brackets.
    • notoc: heading is not included in the table of contents
    • noBM: heading is not included in bookmarks
  • \tpTitle{} contains the heading title. This instruction is mandatory, the commands below are optional
  • \tpAuthor{} the author
  • \tpSubtitle{} subtitle
  • \tpNumber{} the counter of the heading, e.g. "Chapter 2", "2.2.1" etc.
  • \tpQuote{} epigraph
  • \tpQuoteSource{} author or source of the epigraph
  • \tpNumber{} override for automatic heading numbering
Some headings may have additional Components:
  • \tpAbstract{} Abstract
  • \tpAbstractTitle{} Abstract heading, default: “Abstract”
  • \tpKeywords{} Keywords
  • \tpKeywordsTitle{} Keyword heading, default: “Keywords”
  • \tpDOI{} DOI
  • \tpDOITitle{} Title for DOI, default: <empty>.

These headings can have different names from project to project, but by convention the level is usually called contribution and inherits their characteristics from chapter.

\tpBreak or \TitleBreak (alias of the former) can be used to create a line break inside each heading Component.

Overrides for Table of Contents, Running Headers and PDF bookmarks

There are three overrides for each of the macros \tp<Macro> with <Macro> := (Author | Number | Subtitle | Title):
  • \tpRun<Macro> for running headers,
  • \tpToc<Macro> for table of contents, and
  • \tpBM<Macro> for the PDF bookmarks.

The Overrides are generated by the following rules:

<Macro> » Run<Macro>
<Macro> » Toc<Macro> » BM<Macro>
where the macro right of » is assigned the value of the macro left of », unless they are explicitly assigned a value to inside the heading environment.

If \tp(Run|Toc|BM)<Makro>{} is given with an empty argument, the corresponding macro is not used, i.e. this can be used to completely suppress the respective ToC-entry, running header, or bookmark for a given heading.

Example:

\begin{heading}{chapter}
  \tpTitle{Title of the heading}
  \tpAuthor{Jane Doe}
  \tpTocAuthor{The incredible Jane Doe}
  \tpRunTitle{Title of the running header}
  \tpRunAuthor{Author of the running header}
\end{heading}

Note on PDF-Bookmarks

There should be no TeX markup within \tpBM{}. This applies also to language markup like \foreignlanguage. Just use plain text with Unicode characters here.

List of Figures and List of Tables

These two listings are marked as normal headings according to the hierarchy level and then the macro for creating the listing follows.

\begin{heading}{section}
\tpTitle{My List of Figures}
\tpTocTitle{Figures}
\tpRunTitle{Lots of Figures}
\end{heading}

\listoffigures

Von Patrick Schulz vor etwa 1 Monat aktualisiert · 11 Revisionen