summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontsize
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-05-22 03:00:53 +0000
committerNorbert Preining <norbert@preining.info>2021-05-22 03:00:53 +0000
commit58aa1ac09b1d9e4769d0a0661cf12e2b2db41b14 (patch)
tree366a7a5e1310dc291fa9969ce6ed1af604bb8d89 /macros/latex/contrib/fontsize
parent6a52d8839d334ac56f36195aa404fac667862830 (diff)
CTAN sync 202105220300
Diffstat (limited to 'macros/latex/contrib/fontsize')
-rw-r--r--macros/latex/contrib/fontsize/fontsize.dtx56
-rw-r--r--macros/latex/contrib/fontsize/fontsize.pdfbin405591 -> 378517 bytes
2 files changed, 43 insertions, 13 deletions
diff --git a/macros/latex/contrib/fontsize/fontsize.dtx b/macros/latex/contrib/fontsize/fontsize.dtx
index 9c9c7fdeb5..53dab90cc0 100644
--- a/macros/latex/contrib/fontsize/fontsize.dtx
+++ b/macros/latex/contrib/fontsize/fontsize.dtx
@@ -56,7 +56,7 @@ This work has the LPPL maintenance status "author-maintained".
%<package>\NeedsTeXFormat{LaTeX2e}[2005/12/01]
%<package>\ProvidesPackage{fontsize}
%<*package>
- [2021/04/18 v0.8.3 'fontsize' package. Set main font sizes (Ivan Valbusa)]
+ [2021/05/21 v0.8.4 'fontsize' package. Set main font sizes (Ivan Valbusa)]
%</package>
%<*driver>
\documentclass[12pt]{ltxdoc}
@@ -287,6 +287,7 @@ This work has the LPPL maintenance status "author-maintained".
% Right brace \} Tilde \~}
%
%
+% \changes{v0.8.4}{2021/05/21}{Maintenance release.}
% \changes{v0.8.3}{2021/04/18}{Corrected a bug in the \cmd{parindent} option.
% Updated documentation.}
% \changes{v0.8.2}{2021/04/17}{New \cmd{parindent} option. Updated documentation.}
@@ -741,16 +742,30 @@ This work has the LPPL maintenance status "author-maintained".
%
%^^A---------------------------------------------------------------------
%
-% \section{Some text samples}\label{sec:example}
+% \subsection{Some text samples}\label{sec:example}
%
%^^A--------------------------------------------------------------------
% The following samples are obtained with the \cmd{printsamples}
% command (see section \ref{sec:commands}):
%\begin{verbatim}
-%\printsamples{12.6pt}{10.6pt}[normalsizerr,normalsizerrr,large,larger,largerr]
+% \printsamples{12.6pt}{10.6pt}[normalsize,normalsizer,normalsizerr,
+% normalsizerrr,large,larger,largerr,largerr]
%\end{verbatim}
+% \printsamples{12.6pt}{10.6pt}[%
+% normalsize,normalsizer,normalsizerr,
+% normalsizerrr,large,larger,largerr,largerr]
%
-% \printsamples{12.6pt}{10.6pt}[normalsizerr,normalsizerrr,large,larger,largerr]
+%^^A---------------------------------------------------------------------
+%
+% \section{Known issues}
+%
+%^^A--------------------------------------------------------------------
+%
+% The \opt{parindent} option does not work with classes and packages which sets \cmd{parindent}
+% inside the \cmd{AtBeginDocument} hook (and other hooks). Among these is the \sty{tufte}
+% class \parencite{tufte}. In such cases you can set the default
+% indentation, for example, with \cmd{setlength}|{parindent}|\arm{dimen}
+% declared \textit{after} |\begin{document}|.
%
% \StopEventually{%
% \printbibliography[heading=bibintoc]
@@ -877,7 +892,8 @@ This work has the LPPL maintenance status "author-maintained".
% the maximum dimension that may be stored in plain
% \TeX\ and \LaTeX.
% The problem, which is probably more theoretical than practical,
-% can be solved (thanks to Claudio Beccari) simply by changing it to this:
+% can be solved simply by replacing
+% the above code with this (thanks to Claudio Beccari):
% \baddition
% \begin{macrocode}
\setlength{\@tempdimc}{\fpeval{100*\@tempdimb/\@tempdima}pt}%
@@ -1295,13 +1311,16 @@ This work has the LPPL maintenance status "author-maintained".
% \eaddition
% For the following lengths, all values are calculated proportionally to the main font.
% I took the \file{bk11.clo} file as a reference point. Note that the differences
-% in lengths affected by \sty{fontsize} inside the \file{bk*.clo} files only concern
+% in the lengths affected by \sty{fontsize} inside the \file{bk*.clo} files only concern
% \cmd{headheight}, \cmd{headsep}, \cmd{topskip} and \cmd{footskip}.
% \baddition
% \begin{macrocode}
-\setlength\smallskipamount{\fpeval{1.090909091\@tempdimb/4}pt \@plus 1\p@ \@minus 1\p@}%
-\setlength\medskipamount{\fpeval{1.090909091\@tempdimb/2}pt \@plus 2\p@ \@minus 2\p@}%
-\setlength\bigskipamount{\fpeval{1.090909091\@tempdimb}pt \@plus 4\p@ \@minus 4\p@}%
+\setlength\smallskipamount{
+ \fpeval{1.090909091\@tempdimb/4}pt \@plus 1\p@ \@minus 1\p@}%
+\setlength\medskipamount{
+ \fpeval{1.090909091\@tempdimb/2}pt \@plus 2\p@ \@minus 2\p@}%
+\setlength\bigskipamount{
+ \fpeval{1.090909091\@tempdimb}pt \@plus 4\p@ \@minus 4\p@}%
% \end{macrocode}
% \eaddition
% \def\tabfontsize{\fontsize{10.5}{12.5}\selectfont}
@@ -1456,7 +1475,7 @@ This work has the LPPL maintenance status "author-maintained".
%
% Here is a portion of the \sty{scrfontsizes} package. It simply provides the
% \cmd{generateclofile} command, without the KOMA related definitions.
-% There are no reserved names for the \file{.clo} files. The command name is
+% There are no reserved names for the \file{.clo} files. The name of the command is
% a new name for the KOMA \cmd{generatefontfile}. In fact what the command
% generates is a \file{.clo} file.
% \begin{macrocode}
@@ -2058,7 +2077,7 @@ This work has the LPPL maintenance status "author-maintained".
LARGE,LARGEr,LARGErr,LARGErrr,
huge,huger,hugerr,hugerrr,
Huge,Huger,Hugerr,Hugerrr,
- HGE,HUGEr,HUGErr,HUGErrr,
+ HUGE,HUGEr,HUGErr,HUGErrr,
}
}
{
@@ -2103,7 +2122,7 @@ This work has the LPPL maintenance status "author-maintained".
% \iffalse
%<*bib>
@manual{xkeyval,
- title = {The \textsf{xkeyval} package},
+ title = {The \sty{xkeyval} package},
subtitle = {Extension of the keyval package},
author = {Adriaens, Hendri},
url = {http://www.ctan.org/pkg/xkeyval},
@@ -2150,12 +2169,23 @@ This work has the LPPL maintenance status "author-maintained".
}
@manual{xfp,
- title = {The \textit{xfp} package Floating Point Unit},
+ title = {The \sty{xfp} package Floating Point Unit},
author = {{The \LaTeX\ Project}},
url = {https://www.ctan.org/pkg/xfp},
urldate = {2021-03-14},
date = {2021-03-12},
}
+
+@manual{tufte,
+ title = {\sty{tufte-latex} – Document classes inspired by the work of Edward Tufte},
+ author = {Kevin Godby},
+ url = {https://www.ctan.org/pkg/tufte-latex},
+ urldate = {2021-05-18},
+ date = {2015},
+ version = {3.5.2}
+}
+
+
%</bib>
% \fi
% \Finale
diff --git a/macros/latex/contrib/fontsize/fontsize.pdf b/macros/latex/contrib/fontsize/fontsize.pdf
index 7dd7a0d45b..adfe679760 100644
--- a/macros/latex/contrib/fontsize/fontsize.pdf
+++ b/macros/latex/contrib/fontsize/fontsize.pdf
Binary files differ