| 1 |
% ====================================================================== |
| 2 |
% common-titles-en.tex |
| 3 |
% Copyright (c) Markus Kohm, 2001-2022 |
| 4 |
% |
| 5 |
% This file is part of the LaTeX2e KOMA-Script bundle. |
| 6 |
% |
| 7 |
% This work may be distributed and/or modified under the conditions of |
| 8 |
% the LaTeX Project Public License, version 1.3c of the license. |
| 9 |
% The latest version of this license is in |
| 10 |
% http://www.latex-project.org/lppl.txt |
| 11 |
% and version 1.3c or later is part of all distributions of LaTeX |
| 12 |
% version 2005/12/01 or later and of this work. |
| 13 |
% |
| 14 |
% This work has the LPPL maintenance status "author-maintained". |
| 15 |
% |
| 16 |
% The Current Maintainer and author of this work is Markus Kohm. |
| 17 |
% |
| 18 |
% This work consists of all files listed in MANIFEST.md. |
| 19 |
% ====================================================================== |
| 20 |
% |
| 21 |
% Paragraphs that are common for several chapters of the KOMA-Script guide |
| 22 |
% Maintained by Markus Kohm |
| 23 |
% |
| 24 |
% ====================================================================== |
| 25 |
|
| 26 |
\KOMAProvidesFile{common-titles-en.tex} |
| 27 |
[$Date: 2022-06-05 12:40:11 +0200 (So, 05. Jun 2022) $ |
| 28 |
KOMA-Script guide (common paragraphs)] |
| 29 |
|
| 30 |
\translator{Gernot Hassenpflug\and Markus Kohm\and Krickette Murabayashi\and |
| 31 |
Karl Hagen} |
| 32 |
|
| 33 |
\section{Document Titles} |
| 34 |
\seclabel{titlepage}% |
| 35 |
\BeginIndexGroup |
| 36 |
\BeginIndex{}{title}% |
| 37 |
|
| 38 |
\IfThisCommonFirstRun{}{% |
| 39 |
This information in \autoref{sec:\ThisCommonFirstLabelBase.titlepage} |
| 40 |
largely applies to this chapter. So if you have already read and understood |
| 41 |
\autoref{sec:\ThisCommonFirstLabelBase.titlepage}, you can skip to |
| 42 |
\autoref{sec:\ThisCommonLabelBase.titlepage.next}, |
| 43 |
\autopageref{sec:\ThisCommonLabelBase.titlepage.next}.% |
| 44 |
}% |
| 45 |
\IfThisCommonLabelBase{scrextend}{\iftrue}{\csname iffalse\endcsname}% |
| 46 |
\ However,\textnote{Attention!} the capabilities of \Package{scrextend} |
| 47 |
for handling the document title are part of the optional, advanced |
| 48 |
features. Therfore they are only available, if |
| 49 |
\OptionValueRef{\ThisCommonLabelBase}{extendedfeature}{title} is |
| 50 |
selected while loading the package (see |
| 51 |
\autoref{sec:\ThisCommonLabelBase.optionalFeatures}, |
| 52 |
\DescRef{\ThisCommonLabelBase.option.extendedfeature}). |
| 53 |
|
| 54 |
Furthermore, \Package{scrextend} cannot be used with a \KOMAScript{} |
| 55 |
class. Because of this, you should replace |
| 56 |
\begin{lstcode} |
| 57 |
\documentclass{scrbook} |
| 58 |
\end{lstcode} |
| 59 |
with |
| 60 |
\begin{lstcode} |
| 61 |
\documentclass{book} |
| 62 |
\usepackage[extendedfeature=title]{scrextend} |
| 63 |
\end{lstcode} |
| 64 |
for all examples from \autoref{sec:maincls.titlepage}, if you want to |
| 65 |
try them with \Package{scrextend}. |
| 66 |
\fi |
| 67 |
|
| 68 |
\IfThisCommonLabelBase{scrextend}{}{% |
| 69 |
In general, we distinguish two kinds of document titles. First, there are |
| 70 |
title pages. These include title of the document, together with additional |
| 71 |
information such as the author, on a separate page. In addition to the main |
| 72 |
title page, there may be several other title pages, such as the half-title |
| 73 |
or bastard title, publisher data, dedication, and so on. Second, there is |
| 74 |
the in-page title. This kind of title appears at the top of a new page, |
| 75 |
usually the first, and is specially emphasized. It too may be accompanied by |
| 76 |
additional information, but it will be followed by more material on the same |
| 77 |
page, for example by an abstract, the table of contents, or even a section.% |
| 78 |
}% |
| 79 |
|
| 80 |
\begin{Declaration} |
| 81 |
\OptionVName{titlepage}{simple switch}% |
| 82 |
\OptionValue{titlepage}{firstiscover} |
| 83 |
\Macro{coverpagetopmargin} |
| 84 |
\Macro{coverpageleftmargin} |
| 85 |
\Macro{coverpagerightmargin} |
| 86 |
\Macro{coverpagebottommargin} |
| 87 |
\end{Declaration}% |
| 88 |
This option\IfThisCommonLabelBase{maincls}{% |
| 89 |
\ChangedAt{v3.00}{\Class{scrbook}\and \Class{scrreprt}\and |
| 90 |
\Class{scrartcl}}% |
| 91 |
}{} determines whether to use document title pages\Index{title>pages} or |
| 92 |
in-page titles\Index{title>in-page} when using |
| 93 |
\DescRef{\ThisCommonLabelBase.cmd.maketitle} (see |
| 94 |
\DescPageRef{\ThisCommonLabelBase.cmd.maketitle}). Any value from |
| 95 |
\autoref{tab:truefalseswitch}, \autopageref{tab:truefalseswitch} can be used |
| 96 |
for \PName{simple switch}. |
| 97 |
|
| 98 |
With the \OptionValue{titlepage}{true}% |
| 99 |
\important{\OptionValue{titlepage}{true}} |
| 100 |
\IfThisCommonLabelBase{scrextend}{}{or \Option{titlepage}} option, |
| 101 |
invoking \DescRef{\ThisCommonLabelBase.cmd.maketitle} creates titles on |
| 102 |
separate pages. These pages are set inside a |
| 103 |
\DescRef{\ThisCommonLabelBase.env.titlepage} environment, and they |
| 104 |
normally have neither header nor footer. Compared to standard {\LaTeX}, |
| 105 |
{\KOMAScript} significantly expands the handling of the titles. These |
| 106 |
additional elements can be found on the following pages. |
| 107 |
|
| 108 |
In contrast, with the |
| 109 |
\OptionValue{titlepage}{false}\important{\OptionValue{titlepage}{false}} |
| 110 |
option, invoking \DescRef{\ThisCommonLabelBase.cmd.maketitle} creates an |
| 111 |
\emph{in-page} title. This means that the title is specially emphasized, but |
| 112 |
it may be followed by more material on the same page, for instance an abstract |
| 113 |
or a section.% |
| 114 |
|
| 115 |
The third choice,% |
| 116 |
\IfThisCommonLabelBase{maincls}{% |
| 117 |
\ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and |
| 118 |
\Class{scrartcl}}% |
| 119 |
}{% |
| 120 |
\IfThisCommonLabelBase{scrextend}{% |
| 121 |
\ChangedAt{v3.12}{\Package{scrextend}}% |
| 122 |
}{\InternalCommonFileUseError}% |
| 123 |
} \OptionValue{titlepage}{firstiscover}% |
| 124 |
\important{\OptionValue{titlepage}{firstiscover}} not only activates title |
| 125 |
pages but also prints the first title page of |
| 126 |
\DescRef{\ThisCommonLabelBase.cmd.maketitle}\IndexCmd{maketitle}, i.\,e. |
| 127 |
either the half-title or the main title, as a cover\Index{cover} page. Any |
| 128 |
other setting of the \Option{titlepage} option will cancel this setting. The |
| 129 |
margins\important{\Macro{coverpage\dots margin}} of the cover page are given |
| 130 |
by \Macro{coverpagetopmargin}, \Macro{coverpageleftmargin}, |
| 131 |
\Macro{coverpagerightmargin}, and \Macro{coverpagebottommargin}. The defaults |
| 132 |
of these depend on the lengths of \Length{topmargin}\IndexLength{topmargin} |
| 133 |
and \Length{evensidemargin}\IndexLength{evensidemargin} and can be changed |
| 134 |
with \Macro{renewcommand}. |
| 135 |
|
| 136 |
\IfThisCommonLabelBase{maincls}{% |
| 137 |
The default of the \Class{scrbook} and \Class{scrreprt} classes is to use |
| 138 |
title pages. The \Class{scrartcl} class, on the other hand, uses in-page |
| 139 |
titles by default.% |
| 140 |
}{% |
| 141 |
\IfThisCommonLabelBase{scrextend}{% |
| 142 |
The default depends on the class used and \Package{scrextend} recognizes |
| 143 |
it in a way that compatible with the standard class. If a class does not |
| 144 |
set up a comparable default, it will be an in-page title.% |
| 145 |
}{\InternalCommonFileUsageError}% |
| 146 |
}% |
| 147 |
% |
| 148 |
\EndIndexGroup |
| 149 |
|
| 150 |
|
| 151 |
\begin{Declaration} |
| 152 |
\begin{Environment}{titlepage}\end{Environment}% |
| 153 |
\end{Declaration}% |
| 154 |
The standard classes and {\KOMAScript} set all title pages in a special |
| 155 |
environment: the \Environment{titlepage} environment. This environment always |
| 156 |
starts a new page\,---\,in two-sided printing a new right-hand page\,---\,and |
| 157 |
in single-column mode. For this page, the style is changed to |
| 158 |
\DescRef{maincls.cmd.thispagestyle}% |
| 159 |
\PParameter{\DescRef{maincls.pagestyle.empty}}, so that neither page number |
| 160 |
nor running head is output. At the end of the environment, the page is |
| 161 |
automatically shipped out. Should you not be able to use the automatic layout |
| 162 |
of the title pages provided by \DescRef{\ThisCommonLabelBase.cmd.maketitle}, |
| 163 |
described next, you should design a new one with the help of this environment. |
| 164 |
|
| 165 |
\IfThisCommonFirstRun{\iftrue}{% |
| 166 |
A simple example for a title page with \Environment{titlepage} is shown in |
| 167 |
\autoref{sec:\ThisCommonFirstLabelBase.titlepage} on |
| 168 |
\PageRefxmpl{\ThisCommonFirstLabelBase.env.titlepage}% |
| 169 |
\csname iffalse\endcsname% |
| 170 |
}% |
| 171 |
\begin{Example} |
| 172 |
\phantomsection\xmpllabel{env.titlepage} |
| 173 |
Suppose you want a title page on which only the word ``Me'' stands at |
| 174 |
the top on the left, as large as possible and in bold\,---\,no |
| 175 |
author, no date, nothing else. The following document creates just |
| 176 |
that: |
| 177 |
\begin{lstcode} |
| 178 |
\documentclass{scrbook} |
| 179 |
\begin{document} |
| 180 |
\begin{titlepage} |
| 181 |
\textbf{\Huge Me} |
| 182 |
\end{titlepage} |
| 183 |
\end{document} |
| 184 |
\end{lstcode} |
| 185 |
It's simple, isn't it? |
| 186 |
\end{Example} |
| 187 |
\fi% |
| 188 |
\EndIndexGroup |
| 189 |
|
| 190 |
|
| 191 |
\begin{Declaration} |
| 192 |
\Macro{maketitle}\OParameter{page number} |
| 193 |
\end{Declaration}% |
| 194 |
While\textnote{\KOMAScript{} vs. standard classes} the standard classes |
| 195 |
produce at most one title page that can have three items (title, author, and |
| 196 |
date), with \KOMAScript{} \Macro{maketitle} can produce up to six pages. In |
| 197 |
contrast to the standard classes, \Macro{maketitle} in {\KOMAScript} accepts |
| 198 |
an optional numeric argument. If it is used, this number is the page number of |
| 199 |
the first title page. This page number is not output, but it affects the |
| 200 |
subsequent numbering. You should definitely choose an odd number, because |
| 201 |
otherwise the whole count gets mixed up. In my opinion, there are only two |
| 202 |
useful applications for the optional argument. On the one hand, you could give |
| 203 |
the the logical page number -1 to the half-title\Index[indexmain]{half-title} |
| 204 |
in order to give the full title page the number 1. On the other hand, you |
| 205 |
could use it to start at a higher page number, for example, 3, 5, or 7, to |
| 206 |
accommodate other title pages added by the publishing house. The optional |
| 207 |
argument is ignored for \emph{in-page} titles. You can change the page style |
| 208 |
of such a title page by redefining the |
| 209 |
\DescRef{\ThisCommonLabelBase.cmd.titlepagestyle} macro (see |
| 210 |
\autoref{sec:maincls.pagestyle}, \DescPageRef{maincls.cmd.titlepagestyle}). |
| 211 |
|
| 212 |
The following commands do not lead immediately to the ship-out of the titles. |
| 213 |
The typesetting and ship-out of the title pages are always done by |
| 214 |
\Macro{maketitle}. Note also that \Macro{maketitle} should not be used inside |
| 215 |
a \DescRef{\ThisCommonLabelBase.env.titlepage} environment. |
| 216 |
As\textnote{Attention!} shown in the examples, you should use either |
| 217 |
\Macro{maketitle} or \DescRef{\ThisCommonLabelBase.env.titlepage}, but not |
| 218 |
both. |
| 219 |
|
| 220 |
The following commands only define the contents of the title. Therefore they |
| 221 |
must be used before \Macro{maketitle}. It is, however, not necessary and, when |
| 222 |
using the \Package{babel} package\IndexPackage{babel} not recommended, to |
| 223 |
include these in the preamble before \Macro{begin}\PParameter{document} (see |
| 224 |
\cite{package:babel}). You can find examples |
| 225 |
\IfThisCommonFirstRun{in the descriptions of the other commands in this |
| 226 |
section}{in \autoref{sec:\ThisCommonFirstLabelBase.titlepage}, starting on |
| 227 |
\PageRefxmpl{\ThisCommonFirstLabelBase.cmd.extratitle}}. |
| 228 |
|
| 229 |
|
| 230 |
\begin{Declaration} |
| 231 |
\Macro{extratitle}\Parameter{half-title} |
| 232 |
\Macro{frontispiece}\Parameter{frontispiece} |
| 233 |
\end{Declaration}% |
| 234 |
\begin{Explain}% |
| 235 |
In earlier times the inner book was often not protected from dirt by a |
| 236 |
cover. This function was then assumed by the first page of the book, which |
| 237 |
usually had just a short title, known as the \emph{half-title}. Nowadays the |
| 238 |
extra page often appears before the real main title and contains information |
| 239 |
about the publisher, series number, and similar information. |
| 240 |
\end{Explain} |
| 241 |
With {\KOMAScript}, it is possible to include a page before the real title |
| 242 |
page. The \PName{half-title} can be arbitrary text\,---\,even several |
| 243 |
paragraphs. The contents of the \PName{half-title} are output by {\KOMAScript} |
| 244 |
without additional formatting. Their organisation is completely left to the |
| 245 |
user. The verso of the half-title\IfThisCommonLabelBase{maincls}{% |
| 246 |
\ChangedAt{v3.25}{\Class{scrbook}\and\Class{scrreprt}\and\Class{scrartcl}}% |
| 247 |
}{% |
| 248 |
\IfThisCommonLabelBase{scrextend}{% |
| 249 |
\ChangedAt{v3.25}{\Package{scrextend}}% |
| 250 |
}{\ThisCommonLabelBaseFailure}% |
| 251 |
} is the frontispiece. The half-title is set on its own page even when in-page |
| 252 |
titles are used. The output of the half-title defined with \Macro{extratitle} |
| 253 |
takes place as part of the title produced by |
| 254 |
\DescRef{\ThisCommonLabelBase.cmd.maketitle}. |
| 255 |
|
| 256 |
\IfThisCommonFirstRun{\iftrue}{% |
| 257 |
An example of a simple title page with half-title and main title is shown |
| 258 |
in \autoref{sec:\ThisCommonFirstLabelBase.titlepage} on |
| 259 |
\PageRefxmpl{\ThisCommonFirstLabelBase.cmd.extratitle}% |
| 260 |
\csname iffalse\endcsname% |
| 261 |
}% |
| 262 |
\begin{Example} |
| 263 |
\phantomsection\xmpllabel{cmd.extratitle} |
| 264 |
Let's return to the previous example and suppose |
| 265 |
that the Spartan ``Me'' is the half-title. The full title should |
| 266 |
still follow the half-title. You can proceed as follows: |
| 267 |
\begin{lstcode} |
| 268 |
\documentclass{scrbook} |
| 269 |
\begin{document} |
| 270 |
\extratitle{\textbf{\Huge Me}} |
| 271 |
\title{It's me} |
| 272 |
\maketitle |
| 273 |
\end{document} |
| 274 |
\end{lstcode} |
| 275 |
You can centre the half-title horizontally and put it a little lower down |
| 276 |
the page: |
| 277 |
\begin{lstcode} |
| 278 |
\documentclass{scrbook} |
| 279 |
\begin{document} |
| 280 |
\extratitle{\vspace*{4\baselineskip} |
| 281 |
\begin{center}\textbf{\Huge Me}\end{center}} |
| 282 |
\title{It's me} |
| 283 |
\maketitle |
| 284 |
\end{document} |
| 285 |
\end{lstcode} |
| 286 |
The command\textnote{Attention!} \DescRef{\ThisCommonLabelBase.cmd.title} |
| 287 |
is necessary in order to make the examples above work correctly. It is |
| 288 |
explained next. |
| 289 |
\end{Example} |
| 290 |
\fi% |
| 291 |
\EndIndexGroup |
| 292 |
|
| 293 |
|
| 294 |
\begin{Declaration} |
| 295 |
\Macro{titlehead}\Parameter{title head}% |
| 296 |
\Macro{subject}\Parameter{subject}% |
| 297 |
\Macro{title}\Parameter{title}% |
| 298 |
\Macro{subtitle}\Parameter{subtitle}% |
| 299 |
\Macro{author}\Parameter{author}% |
| 300 |
\Macro{date}\Parameter{date}% |
| 301 |
\Macro{publishers}\Parameter{publisher}% |
| 302 |
\Macro{and}% |
| 303 |
\Macro{thanks}\Parameter{footnote} |
| 304 |
\end{Declaration}% |
| 305 |
There are seven elements available for the content of the main title page. The |
| 306 |
main title page is output as part of the title pages created by |
| 307 |
\DescRef{\ThisCommonLabelBase.cmd.maketitle}, while the definitions given here |
| 308 |
only apply to the respective elements. |
| 309 |
|
| 310 |
\BeginIndexGroup\BeginIndex{FontElement}{titlehead}% |
| 311 |
\LabelFontElement{titlehead}% |
| 312 |
The\important{\Macro{titlehead}} \PName{title head}% |
| 313 |
\Index[indexmain]{title>head} is defined with the command |
| 314 |
\Macro{titlehead}. It occupies the entire text width, at the top of the page, |
| 315 |
in normal justification, and it can be freely designed by the user. It uses |
| 316 |
the font element\important{\FontElement{titlehead}} with same name (see |
| 317 |
\autoref{tab:\ThisCommonFirstLabelBase.mainTitle}, |
| 318 |
\autopageref{tab:\ThisCommonFirstLabelBase.mainTitle}).% |
| 319 |
\EndIndexGroup |
| 320 |
|
| 321 |
\BeginIndexGroup\BeginIndex{FontElement}{subject}\LabelFontElement{subject}% |
| 322 |
The\important{\Macro{subject}} \PName{subject}\Index[indexmain]{subject} is |
| 323 |
output with the font element\important{\FontElement{subject}} of the same name |
| 324 |
immediately above the \PName{title}.% |
| 325 |
\EndIndexGroup |
| 326 |
|
| 327 |
\BeginIndexGroup\BeginIndex{FontElement}{title}\LabelFontElement{title}% |
| 328 |
The\important{\Macro{title}} \PName{title} is set in a very large font size. |
| 329 |
Along\IfThisCommonLabelBase{maincls}{% |
| 330 |
\ChangedAt{v2.8p}{\Class{scrbook}\and \Class{scrreprt}\and |
| 331 |
\Class{scrartcl}}}{} with the font size, the font element |
| 332 |
\FontElement{title}\IndexFontElement[indexmain]{title}% |
| 333 |
\important{\FontElement{title}} is applied (see |
| 334 |
\autoref{tab:\ThisCommonFirstLabelBase.mainTitle}, |
| 335 |
\autopageref{tab:\ThisCommonFirstLabelBase.mainTitle}).% |
| 336 |
\EndIndexGroup |
| 337 |
|
| 338 |
\BeginIndexGroup\BeginIndex{FontElement}{subtitle}\LabelFontElement{subtitle}% |
| 339 |
The\important{\Macro{subtitle}} |
| 340 |
\PName{subtitle}\IfThisCommonLabelBase{maincls}{% |
| 341 |
\ChangedAt{v2.97c}{\Class{scrbook}\and \Class{scrreprt}\and |
| 342 |
\Class{scrartcl}}}{} is set just below the title using the font |
| 343 |
element\important{\FontElement{subtitle}} of the same name (see |
| 344 |
\autoref{tab:\ThisCommonFirstLabelBase.mainTitle}, |
| 345 |
\autopageref{tab:\ThisCommonFirstLabelBase.mainTitle}).% |
| 346 |
\EndIndexGroup |
| 347 |
|
| 348 |
\BeginIndexGroup\BeginIndex{FontElement}{author}\LabelFontElement{author}% |
| 349 |
Below\important{\Macro{author}} the \PName{subtitle} appears the |
| 350 |
\PName{author}\Index[indexmain]{author}. Several authors can be specified in |
| 351 |
the argument of \Macro{author}. They should be separated by |
| 352 |
\Macro{and}\important{\Macro{and}}. The output uses the font |
| 353 |
element\important{\FontElement{author}} of the same name. (see |
| 354 |
\autoref{tab:\ThisCommonFirstLabelBase.mainTitle}, |
| 355 |
\autopageref{tab:\ThisCommonFirstLabelBase.mainTitle}).% |
| 356 |
\EndIndexGroup |
| 357 |
|
| 358 |
\BeginIndexGroup\BeginIndex{FontElement}{date}\LabelFontElement{date}% |
| 359 |
Below\important{\Macro{date}} the author or authors appears the |
| 360 |
date\Index{date} in the font of the element of the same name. The default |
| 361 |
value is the current date, as produced by \Macro{today}\IndexCmd{today}. The |
| 362 |
\Macro{date} command accepts arbitrary information\,---\,even an empty |
| 363 |
argument. The output uses the font element\important{\FontElement{date}} of |
| 364 |
the same name (see \autoref{tab:\ThisCommonFirstLabelBase.mainTitle}, |
| 365 |
\autopageref{tab:\ThisCommonFirstLabelBase.mainTitle}).% |
| 366 |
\EndIndexGroup |
| 367 |
|
| 368 |
\BeginIndexGroup\BeginIndex{FontElement}{publishers}% |
| 369 |
\LabelFontElement{publishers}% |
| 370 |
Finally\important{\Macro{publishers}} comes the |
| 371 |
\PName{publisher}\Index[indexmain]{publisher}. Of course this command can also |
| 372 |
be used for any other information of minor importance. If necessary, the |
| 373 |
\Macro{parbox} command can be used to typeset this information over the full |
| 374 |
page width like a regular paragraph instead of centring it. It should then be |
| 375 |
considered equivalent to the title head. Note, however, that this field is |
| 376 |
placed above any existing footnotes. The output uses the font |
| 377 |
element\important{\FontElement{publishers}} of the same name (see |
| 378 |
\autoref{tab:\ThisCommonFirstLabelBase.mainTitle}, |
| 379 |
\autopageref{tab:\ThisCommonFirstLabelBase.mainTitle}).% |
| 380 |
\EndIndexGroup |
| 381 |
|
| 382 |
Footnotes\important{\Macro{thanks}}\Index{footnotes} on the title page are |
| 383 |
produced not with \Macro{footnote}, but with \Macro{thanks}. They serve |
| 384 |
typically for notes associated with the authors. Symbols are used as footnote |
| 385 |
markers instead of numbers. Note\textnote{Attention!} that \Macro{thanks} has |
| 386 |
to be used inside the argument of another command, such as in the |
| 387 |
\PName{author} argument of the command \Macro{author}. |
| 388 |
\IfThisCommonLabelBase{scrextend}{% |
| 389 |
However, in order for the \DescRef{\ThisCommonLabelBase.fontelement.footnote} |
| 390 |
element to be aware of the \Package{scrextend} package, not only does the |
| 391 |
title extension need to be enabled, it must also be set to use footnotes |
| 392 |
with this package (see the introduction to |
| 393 |
\autoref{sec:\ThisCommonLabelBase.footnotes}, |
| 394 |
\autopageref{sec:\ThisCommonLabelBase.footnotes}). Otherwise, the font |
| 395 |
specified by the class or other packages used for the footnotes will be |
| 396 |
used.% |
| 397 |
}{}% |
| 398 |
|
| 399 |
For% |
| 400 |
\IfThisCommonLabelBase{maincls}{% |
| 401 |
\ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and |
| 402 |
\Class{scrartcl}}% |
| 403 |
}{% |
| 404 |
\IfThisCommonLabelBase{scrextend}{% |
| 405 |
\ChangedAt{v3.12}{\Package{scrextend}}% |
| 406 |
}{\InternalCommonFileUsageError}% |
| 407 |
} the output of the title elements, the font\textnote{font} can be set using |
| 408 |
the \DescRef{\ThisCommonLabelBase.cmd.setkomafont} and |
| 409 |
\DescRef{\ThisCommonLabelBase.cmd.addtokomafont} command (see |
| 410 |
\autoref{sec:\ThisCommonLabelBase.textmarkup}, |
| 411 |
\DescPageRef{\ThisCommonLabelBase.cmd.setkomafont}). The defaults are listed |
| 412 |
in \autoref{tab:\ThisCommonFirstLabelBase.titlefonts}% |
| 413 |
\IfThisCommonFirstRun{}{% |
| 414 |
, \autopageref{tab:\ThisCommonFirstLabelBase.titlefonts}% |
| 415 |
}.% |
| 416 |
\IfThisCommonFirstRun{% |
| 417 |
\begin{table} |
| 418 |
% \centering |
| 419 |
% \caption |
| 420 |
\KOMAoptions{captions=topbeside}% |
| 421 |
\setcapindent{0pt}% |
| 422 |
% \addtokomafont{caption}{\raggedright}% |
| 423 |
\begin{captionbeside} |
| 424 |
[{Font defaults for the elements of the title}] |
| 425 |
{\label{tab:\ThisCommonLabelBase.titlefonts}% |
| 426 |
\hspace{0pt plus 1ex}Font defaults for the elements of the title} |
| 427 |
[l] |
| 428 |
\begin{tabular}[t]{ll} |
| 429 |
\toprule |
| 430 |
Element name & Default \\ |
| 431 |
\midrule |
| 432 |
\FontElement{author} & \Macro{Large} \\ |
| 433 |
\FontElement{date} & \Macro{Large} \\ |
| 434 |
\FontElement{dedication} & \Macro{Large} \\ |
| 435 |
\FontElement{publishers} & \Macro{Large} \\ |
| 436 |
\FontElement{subject} & |
| 437 |
\Macro{normalfont}\Macro{normalcolor}% |
| 438 |
\Macro{bfseries}\Macro{Large} \\ |
| 439 |
\FontElement{subtitle} & |
| 440 |
\DescRef{\ThisCommonLabelBase.cmd.usekomafont}% |
| 441 |
\PParameter{title}\Macro{large} \\ |
| 442 |
\FontElement{title} & |
| 443 |
\DescRef{\ThisCommonLabelBase.cmd.usekomafont}% |
| 444 |
\PParameter{disposition} \\ |
| 445 |
\FontElement{titlehead} & \\ |
| 446 |
\bottomrule |
| 447 |
\end{tabular} |
| 448 |
\end{captionbeside} |
| 449 |
\end{table}% |
| 450 |
}{}% |
| 451 |
|
| 452 |
With the exception of \PName{title head} and any footnotes, all output is |
| 453 |
centred horizontally. % |
| 454 |
\iffree{% |
| 455 |
\IfThisCommonLabelBase{scrextend}{The formatting of each element is}{These |
| 456 |
details are} briefly summarized in |
| 457 |
\autoref{tab:\ThisCommonFirstLabelBase.mainTitle}\IfThisCommonFirstRun{}{% |
| 458 |
, \autopageref{tab:\ThisCommonFirstLabelBase.mainTitle}}.% |
| 459 |
}{% |
| 460 |
\IfThisCommonLabelBase{scrextend}{% |
| 461 |
The alignment of individual elements can also be found in |
| 462 |
\autoref{tab:\ThisCommonFirstLabelBase.mainTitle}\IfThisCommonFirstRun{}{% |
| 463 |
, \autopageref{tab:\ThisCommonFirstLabelBase.mainTitle}}.% |
| 464 |
}{% |
| 465 |
For a summary, see \autoref{tab:\ThisCommonFirstLabelBase.mainTitle}.% |
| 466 |
}% |
| 467 |
}% |
| 468 |
\IfThisCommonFirstRun{% |
| 469 |
\begin{table} |
| 470 |
% \centering |
| 471 |
\KOMAoptions{captions=topbeside}% |
| 472 |
\setcapindent{0pt}% |
| 473 |
% \caption |
| 474 |
\begin{captionbeside}[Main title]{% |
| 475 |
\hspace{0pt plus 1ex}% |
| 476 |
Font and horizontal positioning of the elements in the main title page |
| 477 |
in the order of their vertical position from top to bottom when |
| 478 |
typeset with \DescRef{\ThisCommonLabelBase.cmd.maketitle}} |
| 479 |
[l] |
| 480 |
\setlength{\tabcolsep}{.85\tabcolsep}% Umbruchoptimierung |
| 481 |
\begin{tabular}[t]{llll} |
| 482 |
\toprule |
| 483 |
Element & Command & Font & Alignment \\ |
| 484 |
\midrule |
| 485 |
Title head & \Macro{titlehead} & \DescRef{\ThisCommonLabelBase.cmd.usekomafont}\PParameter{titlehead} & justified \\ |
| 486 |
Subject & \Macro{subject} & \DescRef{\ThisCommonLabelBase.cmd.usekomafont}\PParameter{subject} & centred \\ |
| 487 |
Title & \Macro{title} & \DescRef{\ThisCommonLabelBase.cmd.usekomafont}\PParameter{title}\Macro{huge} & centred \\ |
| 488 |
Subtitle & \Macro{subtitle} & \DescRef{\ThisCommonLabelBase.cmd.usekomafont}\PParameter{subtitle} & centred \\ |
| 489 |
Authors & \Macro{author} & \DescRef{\ThisCommonLabelBase.cmd.usekomafont}\PParameter{author} & centred \\ |
| 490 |
Date & \Macro{date} & \DescRef{\ThisCommonLabelBase.cmd.usekomafont}\PParameter{date} & centred \\ |
| 491 |
Publishers & \Macro{publishers} & \DescRef{\ThisCommonLabelBase.cmd.usekomafont}\PParameter{publishers} & centred \\ |
| 492 |
\bottomrule |
| 493 |
\end{tabular} |
| 494 |
\end{captionbeside} |
| 495 |
\label{tab:maincls.mainTitle} |
| 496 |
\end{table} |
| 497 |
}{} |
| 498 |
|
| 499 |
Note\textnote{Attention!} that for the main title, \Macro{huge} will be used |
| 500 |
after the font switching element |
| 501 |
\DescRef{\ThisCommonLabelBase.fontelement.title}\IndexFontElement{title}. So |
| 502 |
you cannot change the size of the main title using |
| 503 |
\DescRef{\ThisCommonLabelBase.cmd.setkomafont} or |
| 504 |
\DescRef{\ThisCommonLabelBase.cmd.addtokomafont}.% |
| 505 |
|
| 506 |
\IfThisCommonFirstRun{\iftrue}{% |
| 507 |
An example for a title page using all the elements offered by \KOMAScript{} |
| 508 |
is shown in \autoref{sec:\ThisCommonFirstLabelBase.titlepage} on |
| 509 |
\PageRefxmpl{\ThisCommonFirstLabelBase.maintitle}.% |
| 510 |
\csname iffalse\endcsname% |
| 511 |
}% |
| 512 |
\begin{Example} |
| 513 |
\phantomsection\xmpllabel{maintitle}% |
| 514 |
Suppose you are writing a dissertation. The title page should have the |
| 515 |
university's name and address at the top, flush left, and the semester, |
| 516 |
flush right. As usual, a title including author and submission date |
| 517 |
should be given. The adviser must also be indicated, together with the |
| 518 |
fact that the document is a dissertation. You can do this as follows: |
| 519 |
\begin{lstcode} |
| 520 |
\documentclass{scrbook} |
| 521 |
\usepackage[english]{babel} |
| 522 |
\begin{document} |
| 523 |
\titlehead{{\Large Unseen University |
| 524 |
\hfill SS~2002\\} |
| 525 |
Higher Analytical Institute\\ |
| 526 |
Mythological Rd\\ |
| 527 |
34567 Etherworld} |
| 528 |
\subject{Dissertation} |
| 529 |
\title{Digital space simulation with the DSP\,56004} |
| 530 |
\subtitle{Short but sweet?} |
| 531 |
\author{Fuzzy George} |
| 532 |
\date{30. February 2002} |
| 533 |
\publishers{Adviser Prof. John Eccentric Doe} |
| 534 |
\maketitle |
| 535 |
\end{document} |
| 536 |
\end{lstcode} |
| 537 |
\end{Example}% |
| 538 |
\fi |
| 539 |
|
| 540 |
\begin{Explain} |
| 541 |
A common misconception concerns the function of the full title page. It is |
| 542 |
often erroneously assumed to be the cover\Index{cover} or dust jacket. |
| 543 |
Therefore, it is frequently expected that the title page will not follow the |
| 544 |
normal layout for two-sided typesetting but will have equally large left and |
| 545 |
right margins. |
| 546 |
|
| 547 |
But if you pick up a book and open it, you will quickly find at least one |
| 548 |
title page inside the cover, within the so-called book block. Precisely |
| 549 |
these title pages are produced by |
| 550 |
\DescRef{\ThisCommonLabelBase.cmd.maketitle}. |
| 551 |
|
| 552 |
As is the case with the half-title, the full title page belongs to the book |
| 553 |
block, and therefore should have the same page layout as the rest of the |
| 554 |
document. A cover is actually something that you should create in a |
| 555 |
separate document. After all, it often has a very distinct format. It can |
| 556 |
also be designed with the help of a graphics or DTP program. A separate |
| 557 |
document should also be used because the cover will be printed on a |
| 558 |
different medium, such as cardboard, and possibly with another printer. |
| 559 |
|
| 560 |
Nevertheless, since \KOMAScript~3.12 the first title page issued by |
| 561 |
\DescRef{\ThisCommonLabelBase.cmd.maketitle} can be formatted as a cover |
| 562 |
page with different margins. Changes to the margins on this page do not |
| 563 |
affect the other margins. For more information about this option, see |
| 564 |
\OptionValueRef{\ThisCommonLabelBase}{titlepage}{firstiscover}% |
| 565 |
\IndexOption{titlepage~=\textKValue{firstiscover}} on |
| 566 |
\DescPageRef{\ThisCommonLabelBase.option.titlepage}. |
| 567 |
\end{Explain} |
| 568 |
% |
| 569 |
\EndIndexGroup |
| 570 |
|
| 571 |
|
| 572 |
\begin{Declaration} |
| 573 |
\Macro{uppertitleback}\Parameter{titlebackhead}% |
| 574 |
\Macro{lowertitleback}\Parameter{titlebackfoot} |
| 575 |
\end{Declaration}% |
| 576 |
In\textnote{\KOMAScript{} vs. standard classes} two-sided printing, the |
| 577 |
standard classes leave the back (verso) of the title page empty. However, with |
| 578 |
{\KOMAScript} the back of the full title page can be used for other |
| 579 |
information. There are exactly two elements which the user can freely format: |
| 580 |
\PName{titlebackhead}\Index{title>back}\Index{title>verso} and |
| 581 |
\PName{titlebackfoot}. The header can extend to the footer and vice versa. |
| 582 |
\iffree{Using this guide as an example, the legal disclaimer was set with the |
| 583 |
help of the \Macro{uppertitleback} command.}{The publishers information of |
| 584 |
this book, for example, could have been set either with |
| 585 |
\Macro{uppertitleback} or \Macro{lowertitleback}.}% |
| 586 |
% |
| 587 |
\EndIndexGroup |
| 588 |
|
| 589 |
|
| 590 |
\begin{Declaration} |
| 591 |
\Macro{dedication}\Parameter{dedication} |
| 592 |
\end{Declaration}% |
| 593 |
{\KOMAScript} offers its own dedication page. This |
| 594 |
dedication\Index{dedication} is centred and set by default with a slightly |
| 595 |
larger font\textnote{font}. |
| 596 |
\BeginIndexGroup\BeginIndex{FontElement}{dedication}% |
| 597 |
\LabelFontElement{dedication} |
| 598 |
The% |
| 599 |
\IfThisCommonLabelBase{maincls}{% |
| 600 |
\ChangedAt{v3.12}{\Class{scrbook}\and \Class{scrreprt}\and |
| 601 |
\Class{scrartcl}}% |
| 602 |
}{% |
| 603 |
\IfThisCommonLabelBase{scrextend}{% |
| 604 |
\ChangedAt{v3.12}{\Package{scrextend}}% |
| 605 |
}{\InternalCommonFileUseError}% |
| 606 |
}\important{\FontElement{dedication}} exact font setting for the |
| 607 |
\FontElement{dedication} element, which is taken from |
| 608 |
\autoref{tab:\ThisCommonFirstLabelBase.titlefonts}, |
| 609 |
\autopageref{tab:\ThisCommonFirstLabelBase.titlefonts}, can be changed with |
| 610 |
the \DescRef{\ThisCommonLabelBase.cmd.setkomafont} and |
| 611 |
\DescRef{\ThisCommonLabelBase.cmd.addtokomafont} commands (see |
| 612 |
\autoref{sec:\ThisCommonLabelBase.textmarkup}, |
| 613 |
\DescPageRef{\ThisCommonLabelBase.cmd.setkomafont}).% |
| 614 |
\EndIndexGroup |
| 615 |
|
| 616 |
\IfThisCommonFirstRun{\iftrue}{% |
| 617 |
An example with all title pages provided by \KOMAScript{} is shown in |
| 618 |
\autoref{sec:\ThisCommonFirstLabelBase.titlepage} on |
| 619 |
\PageRefxmpl{\ThisCommonFirstLabelBase.fulltitle}.% |
| 620 |
\csname iffalse\endcsname% |
| 621 |
}% |
| 622 |
\begin{Example} |
| 623 |
\phantomsection\xmpllabel{fulltitle}% |
| 624 |
Suppose you have written a book of poetry and want to |
| 625 |
dedicate it to your spouse. A solution would look like this: |
| 626 |
\begin{lstcode} |
| 627 |
\documentclass{scrbook} |
| 628 |
\usepackage[english]{babel} |
| 629 |
\begin{document} |
| 630 |
\extratitle{\textbf{\Huge In Love}} |
| 631 |
\title{In Love} |
| 632 |
\author{Prince Ironheart} |
| 633 |
\date{1412} |
| 634 |
\lowertitleback{This poem book was set with% |
| 635 |
the help of {\KOMAScript} and {\LaTeX}} |
| 636 |
\uppertitleback{Self-mockery Publishers} |
| 637 |
\dedication{To my treasured hazel-hen\\ |
| 638 |
in eternal love\\ |
| 639 |
from your dormouse.} |
| 640 |
\maketitle |
| 641 |
\end{document} |
| 642 |
\end{lstcode} |
| 643 |
Please use your own favourite pet names to personalize it. |
| 644 |
\end{Example}% |
| 645 |
\fi% |
| 646 |
\EndIndexGroup |
| 647 |
% |
| 648 |
\EndIndexGroup |
| 649 |
% |
| 650 |
\EndIndexGroup |
| 651 |
|
| 652 |
%%% Local Variables: |
| 653 |
%%% mode: latex |
| 654 |
%%% TeX-master: "scrguide-en.tex" |
| 655 |
%%% coding: utf-8 |
| 656 |
%%% ispell-local-dictionary: "en_GB" |
| 657 |
%%% eval: (flyspell-mode 1) |
| 658 |
%%% End: |