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 | 175 |
1 files changed, 100 insertions, 75 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 index 25a090c3f64..843f9482f2d 100644 --- 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 @@ -1,6 +1,6 @@ % ====================================================================== % common-fontsize.tex -% Copyright (c) Markus Kohm, 2001-2017 +% Copyright (c) Markus Kohm, 2001-2018 % % This file is part of the LaTeX2e KOMA-Script bundle. % @@ -18,7 +18,7 @@ % This work consists of all files listed in manifest.txt. % ---------------------------------------------------------------------- % common-fontsize.tex -% Copyright (c) Markus Kohm, 2001-2017 +% Copyright (c) Markus Kohm, 2001-2018 % % Dieses Werk darf nach den Bedingungen der LaTeX Project Public Lizenz, % Version 1.3c, verteilt und/oder veraendert werden. @@ -46,107 +46,132 @@ % ====================================================================== \KOMAProvidesFile{common-fontsize.tex} - [$Date: 2017-01-02 13:30:07 +0100 (Mon, 02 Jan 2017) $ + [$Date: 2018-03-30 09:37:06 +0200 (Fri, 30 Mar 2018) $ KOMA-Script guide (common paragraphs: fontsize)] -\translator{Markus Kohm\and Krickette Murabayashi} +\translator{Markus Kohm\and Krickette Murabayashi\and Karl Hagen} -% Date of the translated German file: 2017-01-02 +% Date of the translated German file: 2017-12-13 -\section{Selection of the Document Font Size} +\section{Choosing 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}.% +\IfThisCommonFirstRun{% + The main font and its size are central elements in the design of a document. + As stated in \autoref{cha:typearea}, the division of the page into the text + area and the margins fundamentally depends on them. The main font is the one + that is used for most of the text in a document. All variations, whether in + shape, thickness, slant, or size, are related to the main font.% +}{% + The information in \autoref{sec:\ThisCommonFirstLabelBase.fontOptions} + applies equally to + \IfThisCommonLabelBase{scrlttr2}{\Class{scrlttr2}\OnlyAt{scrlttr2}}% + {this chapter}. \IfThisCommonLabelBase{scrlttr2}{By contrast, the + \Package{scrletter} package by itself does not offer font-size selection + but depends completely on the class you use.}{} So if you have already + read and understood \autoref{sec:\ThisCommonFirstLabelBase.fontOptions}, you + can \IfThisCommonLabelBase{scrlttr2}{continue to + \autopageref{sec:\ThisCommonLabelBase.fontOptions.end} at the end of this + section. If you use \Package{scrletter}, you can }{}% + skip directly to \autoref{sec:\ThisCommonLabelBase.fontOptions.next}, + \autopageref{sec:\ThisCommonLabelBase.fontOptions.next}.% } -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}, +While\IfThisCommonLabelBase{scrlttr2}{\OnlyAt{\Class{scrlttr2}}}{% + \textnote{\KOMAScript{} vs. standard classes}} the standard classes support +only a very limited number of font sizes, +\IfThisCommonLabelBase{scrlttr2}{\Class{scrlttr2}}{\KOMAScript} provides the +ability to specify any \PName{size} for the main font. You can also use any +known \TeX unit as a unit for the \PName{size}. If the \PName{size} is +specified without a unit, it is assumed to be \PValue{pt}.\iffree{}{ The exact + procedure for setting the font size is documented for experts and interested + users 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 +If you set the option within the document, the main font size and the +dependent font sizes of the commands \Macro{tiny}, \Macro{scriptsize}, +\Macro{footnotesize}, \Macro{small}, \Macro{normalsize}, \Macro{large}, +\Macro{Large}, \Macro{LARGE}, \Macro{huge} and \Macro{Huge} are changed. This +can be useful, for example, if you want % +\IfThisCommonLabelBase{scrlttr2}{another letter }{the appendix }% +to be set in a smaller font size. + +Note\textnote{Attention!} that using this option after +\IfThisCommonLabelBase{scrextend}{potentially loading + \hyperref[cha:typearea]{\Package{typearea}}\IndexPackage{typearea}% + \important{\hyperref[cha:typearea]{\Package{typearea}}}}{loading the class} +does not automatically recalculate the 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. +\autoref{sec:typearea.typearea}, +\DescPageRef{typearea.cmd.recalctypearea}). However, if this recalculation is +performed, it will be based on the current main font size. The effects of +changing the main font size upon other loaded packages or the class used +depends on these packages and on the class. \IfThisCommonLabelBase{maincls}{% + This means that you can encounter errors which are not the fault of + \KOMAScript, and even the \KOMAScript{} classes themselves do not + recalculate all lengths if the main font size changes after loading the + class.% +}{% + \IfThisCommonLabelBase{scrlttr2}{% + You can encounter errors which are not the fault of \KOMAScript{}, and + further, the \Class{scrlttr2} class itself does not recalculate all + lengths if the main font size changes after loading the class.% + }{% + This means that you can encounter errors which are not the fault of + \KOMAScript{}.% + }% +}% -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}% +This\textnote{Attention!} option should by no means be misinterpreted as a +substitute for \Macro{fontsize} (see \cite{latex:fntguide}). Also, you should +not use it in place of one of the font size commands that are relative to the +main font, from \Macro{tiny} to \Macro{Huge}. \IfThisCommonLabelBase{scrlttr2}{% - \ Default at \Class{scrlttr2} is \OptionValue{fontsize}{12pt}. + For \Class{scrlttr2} the default 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:% + \phantomsection\label{sec:\ThisCommonLabelBase.fontOptions.end}% + Suppose the organization in the sample letter is the \emph{``Friends of + Noxious Font Sizes''}, for which reason it should be set in 14\Unit{pt} + instead of 12\Unit{pt}. You can achieve this by making a small change to + the first line:% \lstinputcode[xleftmargin=1em]{letter-6}% - Alternatively the option may be set at the optional argument of the - \DescRef{\LabelBase.env.letter} environment:% + Alternatively, the option could be set as an optional argument to + \DescRef{\LabelBase.env.letter}: \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. + Since the text area is not recalculated in this late change of the font + size, the two results differ in \autoref{fig:scrlttr2.letter-5-6}. \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} + \caption[{Example: letter with address, salutation, text, closing phrase, + postscript, enclosures, distribution list, and noxiously large font + size}] + {result of a short letter with recipient, opening, text, closing, + postscript, enclosures, distribution list, and a noxiously large font + (the date is set by default): in the left-hand version, the font size + has been defined by the optional argument of + \DescRef{\LabelBase.env.letter}; in the right-hand 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 + \par + \phantomsection\label{sec:\ThisCommonLabelBase.fontOptions.end}% + The default for \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.% + In contrast, the default size in the standard classes is \Option{10pt}. + You may need to account for this difference if you switch from a standard + class to a \KOMAScript{} class\iffree{}{ or when using the + \DescRef{maincls-experts.option.emulatestandardclasses}% + \IndexOption{emulatestandardclasses} option}.% }{}% }% % @@ -154,10 +179,10 @@ to \Macro{Huge}!% % \EndIndexGroup -\endinput - %%% Local Variables: %%% mode: latex +%%% mode: flyspell %%% coding: us-ascii +%%% ispell-local-dictionary: "en_GB" %%% TeX-master: "../guide" -%%% End: +%%% End: |