diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/doc/english/common-fontsize.tex')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/doc/english/common-fontsize.tex | 163 |
1 files changed, 163 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/doc/english/common-fontsize.tex b/Master/texmf-dist/source/latex/koma-script/doc/english/common-fontsize.tex new file mode 100644 index 00000000000..25a090c3f64 --- /dev/null +++ b/Master/texmf-dist/source/latex/koma-script/doc/english/common-fontsize.tex @@ -0,0 +1,163 @@ +% ====================================================================== +% common-fontsize.tex +% Copyright (c) Markus Kohm, 2001-2017 +% +% This file is part of the LaTeX2e KOMA-Script bundle. +% +% This work may be distributed and/or modified under the conditions of +% the LaTeX Project Public License, version 1.3c of the license. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.3c or later is part of all distributions of LaTeX +% version 2005/12/01 or later and of this work. +% +% This work has the LPPL maintenance status "author-maintained". +% +% The Current Maintainer and author of this work is Markus Kohm. +% +% This work consists of all files listed in manifest.txt. +% ---------------------------------------------------------------------- +% common-fontsize.tex +% Copyright (c) Markus Kohm, 2001-2017 +% +% Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz, +% Version 1.3c, verteilt und/oder veraendert werden. +% Die neuste Version dieser Lizenz ist +% http://www.latex-project.org/lppl.txt +% und Version 1.3c ist Teil aller Verteilungen von LaTeX +% Version 2005/12/01 oder spaeter und dieses Werks. +% +% Dieses Werk hat den LPPL-Verwaltungs-Status "author-maintained" +% (allein durch den Autor verwaltet). +% +% Der Aktuelle Verwalter und Autor dieses Werkes ist Markus Kohm. +% +% Dieses Werk besteht aus den in manifest.txt aufgefuehrten Dateien. +% ====================================================================== +% +% Paragraphs that are common for several chapters of the KOMA-Script guide +% Maintained by Markus Kohm +% +% ---------------------------------------------------------------------- +% +% Absaetze, die mehreren Kapiteln der KOMA-Script-Anleitung gemeinsam sind +% Verwaltet von Markus Kohm +% +% ====================================================================== + +\KOMAProvidesFile{common-fontsize.tex} + [$Date: 2017-01-02 13:30:07 +0100 (Mon, 02 Jan 2017) $ + KOMA-Script guide (common paragraphs: fontsize)] +\translator{Markus Kohm\and Krickette Murabayashi} + +% Date of the translated German file: 2017-01-02 + +\section{Selection of the Document Font Size} +\seclabel{fontOptions}% +\BeginIndexGroup +\BeginIndex{}{font>size}% + +\IfThisCommonFirstRun{}{% + What is described in \autoref{sec:\ThisCommonFirstLabelBase.fontOptions} + applies, mutatis mutandis. So if you have alread read and understood + \autoref{sec:\ThisCommonFirstLabelBase.fontOptions} you can jump to the + \IfThisCommonLabelBase{scrlttr2}{example at the }{% + \IfThisCommonLabelBase{last paragraph at the }{}% + }% + end of this section on + \autopageref{sec:\ThisCommonLabelBase.fontOptions.end}.% +} + +The main document font size is one of the basic decisions for the document +layout. The maximum width of the text area, and therefore splitting the page +into text area and margins, depends on the font size as stated in +\autoref{cha:typearea}. The main document font will be used for most +of the text. All font variations either in mode, weight, declination, or size +should relate to the main document font. + + +\begin{Declaration} + \OptionVName{fontsize}{size} +\end{Declaration} +In contrast to the standard classes and most other classes that provide only +a very limited number of font sizes, the \KOMAScript{} classes offer the +feature of selection of any desired \PName{size} for the main document +font. In this context, any well known \TeX{} unit of measure may be used and +using a number without unit of measure means \PValue{pt}.\iffree{}{ More + information about font size selection for experts and interested users may + be found in \autoref{sec:maincls-experts.addInfos}, + \DescPageRef{maincls-experts.option.fontsize}.} + +If you use this option inside the document, the main document font size and +all dependent sizes will change from this point. This may be useful, e.\,g., +if \IfThisCommonLabelBase{scrlttr2}{one more letter }{the appendix }% +should be set using smaller fonts on the whole. It should be noted that +changing the main font size does not result in an automatic recalculation of +type area and margins (see +\DescRef{typearea.cmd.recalctypearea}\IndexCmd{recalctypearea}, +\autoref{sec:typearea.options}, +\DescPageRef{typearea.cmd.recalctypearea}). On the other hand, each +recalculation of type area and margins will be done on the basis of the +current main font size. The effects of changing the main font size to other +additionally loaded packages or the used document class depend on those +packages and the class. This may even result in error messages or typesetting +errors, which cannot be considered a fault of \KOMAScript, and even the +\KOMAScript{} classes do not change all lengths if the main font size changes +after loading the class. + +This\textnote{Attention!} option is not intended to be a substitution for +\Macro{fontsize} (see \cite{latex:fntguide}). Also, you should not use it +instead of one of the main font depending font size commands \Macro{tiny} up +to \Macro{Huge}!% +\phantomsection\label{sec:\ThisCommonLabelBase.fontOptions.end}% +\IfThisCommonLabelBase{scrlttr2}{% + \ Default at \Class{scrlttr2} is \OptionValue{fontsize}{12pt}. + + \begin{Example} + Assumed, the example is a letter to \emph{``The friends of insane font + sizes''} and therefor it should be printed with 14\Unit{pt} instead of + 12\Unit{pt}. Only a simple change of the first line is needed:% + \lstinputcode[xleftmargin=1em]{letter-6}% + Alternatively the option may be set at the optional argument of the + \DescRef{\LabelBase.env.letter} environment:% + \lstinputcode[xleftmargin=1em]{letter-5}% + In the case of this late change of the font size no recalculation of the + type area will happen. Because of this, the two results of + \autoref{fig:scrlttr2.letter-5-6} differ. + \begin{figure} + \centering + \frame{\includegraphics[width=.4\textwidth]{letter-5}}\quad + \frame{\includegraphics[width=.4\textwidth]{letter-6}} + \caption[{Example: letter with addressee, opening, text, closing, + postscript, distribution list, enclosure, and insane large font + size}]{% + result of a small letter with addressee, opening, text, closing, + postscript, distribution list, enclosure, and insane large font size + (date and folding marks are defaults of DIN-letters): at left one the + font size has been defined by the optional argument of + \DescRef{\LabelBase.env.letter}, at the right one the optional + argument of \DescRef{\LabelBase.cmd.documentclass} has been used} + \label{fig:scrlttr2.letter-5-6} + \end{figure} + \end{Example} +}{% + \IfThisCommonLabelBase{maincls}{% + The default at \Class{scrbook}, \Class{scrreprt}, and \Class{scrartcl} is + \OptionValue{fontsize}{11pt}.\textnote{\KOMAScript{} vs. standard classes} + In contrast, the default of the standard classes would be + \Option{10pt}. You may attend to this if you switch from a standard class + to a \KOMAScript{} class.% + }{}% +}% +% +\EndIndexGroup +% +\EndIndexGroup + +\endinput + +%%% Local Variables: +%%% mode: latex +%%% coding: us-ascii +%%% TeX-master: "../guide" +%%% End: |