summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/fontscale/fontscale-manual.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-04-30 03:01:32 +0000
committerNorbert Preining <norbert@preining.info>2024-04-30 03:01:32 +0000
commit3bb814fe836cd59db56f2f5d07f69cb531ed25e0 (patch)
tree53c08bd7d2d4d9422f8bc32aa66c67f24fc82ca2 /macros/latex/contrib/fontscale/fontscale-manual.tex
parent9ffa8712668c5055c54742499d06caeb5cc9c87b (diff)
CTAN sync 202404300301
Diffstat (limited to 'macros/latex/contrib/fontscale/fontscale-manual.tex')
-rw-r--r--macros/latex/contrib/fontscale/fontscale-manual.tex11
1 files changed, 6 insertions, 5 deletions
diff --git a/macros/latex/contrib/fontscale/fontscale-manual.tex b/macros/latex/contrib/fontscale/fontscale-manual.tex
index db839a0fd2..04493d50c2 100644
--- a/macros/latex/contrib/fontscale/fontscale-manual.tex
+++ b/macros/latex/contrib/fontscale/fontscale-manual.tex
@@ -13,7 +13,7 @@ A user interface for setting document font sizes
Oliver Beery
-Version 1.2.1\quad{}21 April 2024
+Version 1.2.2\quad{}29 April 2024
\section{Introduction}
@@ -285,7 +285,6 @@ For example, \cs{SetFontSize*}\marg{1} and \cs{SetFontSize*}\marg{-1pt} increase
\KeepNextPar*
Scales the current font size and the current font baselineskip by a factor of \meta{fp expr}.
-\cs{ScaleFont} resembles the \cs{scalefont} command provided by the \pkg{scalefnt} package, except that it uses floating point calculations and clears the stretch and shrink components of the font baselineskip.
For example, if the current font size and font baselineskip are \qty{10}{pt} and \qty{12}{pt}, using \cs{ScaleFont}\marg{0.8} will reduce them proportionally to \qty{8}{pt} and \qty{9.6}{pt}.
\cs{SetFontSizeBaselineskip}\marg{\meta{dim expr}}\marg{\meta{skip expr}}
@@ -321,11 +320,12 @@ The default \meta{text} is \enquote{The \texttt{fontscale} package: A user inter
\cs{PrintFontSizeCommand}
\KeepNextPar*
-\cs{PrintFontSizeCommand} tests whether the current font size and font baselineskip match that of any font size command.
+\cs{PrintFontSizeCommand} tests whether the current font size and the current font baselineskip match that of any font size command from \cs{tiny} to \cs{Huge}.
If so, it prints the name of that font size command.
If not, it instead prints \enquote{UNDEFINED\@}.
One useful way of printing example text is by using
\cs{PrintSampleText}\oarg{\cs{PrintFontSizeCommand}:\textvisiblespace{}\cs{PrintFontParameters}}.
+\vfill%manual
\subsection
{%
@@ -336,7 +336,8 @@ One useful way of printing example text is by using
\label{subsec:fontscalesetup}
\cs{fontscalesetup}\marg{\meta{keyval list}}
-\KeepNextPar*
+\nopagebreak\newline
+\Key{reset}[initial, preamble]
Sets and processes the \pkg{fontscale} package keys and uses \cs{normalsize}.
\cs{fontscalesetup} can be applied mid\-/document or locally within the current \TeX{} group.
@@ -351,7 +352,7 @@ The key \Key{reset}[preamble] sets all the keys to their values at the end of th
This section is relevant to \LaTeX3 programmers.
-The user commands \cs{SetFontStep}, \cs{SetFontScale}, \cs{SetFontSize}, \cs{ScaleFont}, and \cs{SetFontSizeBaselineskip} are set up to work with \cs{text_purify:n}.
+The document commands \cs{SetFontStep}, \cs{SetFontScale}, \cs{SetFontSize}, \cs{ScaleFont}, and \cs{SetFontSizeBaselineskip} are set up to work with \cs{text_purify:n}.
\cs{text_purify:n} will correctly remove these commands and their arguments.
This includes the starred versions \cs{SetFontStep*}, \cs{SetFontScale*}, and \cs{SetFontSize*}.