summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/fontsize
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2021-04-18 20:20:37 +0000
committerKarl Berry <karl@freefriends.org>2021-04-18 20:20:37 +0000
commitcba1452149ffb9bb0f7422999f79ddc02e58a43e (patch)
tree2606c0021703a0f5b52b5ed6b54f56ba58d92691 /Master/texmf-dist/tex/latex/fontsize
parent7390f2fd1bbcb605894627d5b9214a79be7e37f5 (diff)
fontsize (18apr21)
git-svn-id: svn://tug.org/texlive/trunk@58906 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/fontsize')
-rw-r--r--Master/texmf-dist/tex/latex/fontsize/fontsize.sty7
1 files changed, 4 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/fontsize/fontsize.sty b/Master/texmf-dist/tex/latex/fontsize/fontsize.sty
index 080ef528ba1..5128c2b0170 100644
--- a/Master/texmf-dist/tex/latex/fontsize/fontsize.sty
+++ b/Master/texmf-dist/tex/latex/fontsize/fontsize.sty
@@ -26,10 +26,11 @@
%%
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{fontsize}
- [2021/03/14 v0.8.1 'fontsize' package. Set main font sizes (Ivan Valbusa)]
+ [2021/04/18 v0.8.3 'fontsize' package. Set main font sizes (Ivan Valbusa)]
\@ifpackageloaded{xkeyval}{}{\RequirePackage{xkeyval}}
\@ifpackageloaded{xfp}{}{\RequirePackage{xfp}}
\DeclareOptionX{cloname}[fontsize]{\def\@fontsizefilebase{#1}}
+\DeclareOptionX{parindent}[1.5\@tempdimb]{\def\@fontsizeparindent{#1}}
\DeclareOptionX{fontsize}[10]{%
\expandafter\@defaultunits\expandafter\@tempdima#1 pt\relax\@nnil
\edef\@tempa{#1}%
@@ -56,7 +57,7 @@
}%
\expandafter\AtEndOfPackage\expandafter{\@tempa}%
}
-\ExecuteOptionsX{cloname,fontsize}
+\ExecuteOptionsX{cloname,fontsize,parindent}
\ProcessOptionsX*\relax
\newcommand*\ctm@setlength[4]{%
\ifdim #2<\ifdim #2=\z@ \z@ \else \p@\fi
@@ -437,7 +438,7 @@
{\the\@tempdima}{\the\@tempdimb}%
}%
\normalsize%
-\setlength\parindent{\@tempdimb}%
+\setlength\parindent{\@fontsizeparindent}%
\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@}%