summaryrefslogtreecommitdiff
path: root/macros/latex-dev/base/ltfssini.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-02-03 03:02:01 +0000
committerNorbert Preining <norbert@preining.info>2020-02-03 03:02:01 +0000
commit34897eebd22c3de968b64f09bb4a371d96cb0b89 (patch)
tree19a50e54fca63f1f6482d6cb4c2fdee676fd97b1 /macros/latex-dev/base/ltfssini.dtx
parente05dc0bb38b16bfb9ba35591285e40af0adaadc4 (diff)
CTAN sync 202002030302
Diffstat (limited to 'macros/latex-dev/base/ltfssini.dtx')
-rw-r--r--macros/latex-dev/base/ltfssini.dtx46
1 files changed, 23 insertions, 23 deletions
diff --git a/macros/latex-dev/base/ltfssini.dtx b/macros/latex-dev/base/ltfssini.dtx
index e948aa4809..9687e08b0e 100644
--- a/macros/latex-dev/base/ltfssini.dtx
+++ b/macros/latex-dev/base/ltfssini.dtx
@@ -202,7 +202,7 @@
% \section{Custom series settings for main document families}
%
% This section was introduced 2020/02/02 and for now we support a
-% full rollback (may need splitting later).
+% full rollback (may need splitting later).
% \changes{v3.1e}{2019/12/17}{Provide custom series settings a la mweights}
% \begin{macrocode}
%</2ekernel>
@@ -287,7 +287,7 @@
\ifcsname #2series\endcsname % supported are
% \[md/bf]default
\expandafter\def
- \csname #2default\endcsname{#3}%
+ \csname #2default\endcsname{#3}%
\else
\@latex@error{Wrong syntax for \string\DeclareFontSeriesDefault}%
{Mandatory first argument must be 'md' or 'bf'.}
@@ -299,7 +299,7 @@
\ifcsname #2series@#1\endcsname % supported are
% \[md/bf]series@[rm/sf/tt]
\expandafter\edef
- \csname #2series@#1\endcsname{#3}%
+ \csname #2series@#1\endcsname{#3}%
% \end{macrocode}
%
% If the interface is used we remove the frozen kernel
@@ -343,9 +343,9 @@
% fonts are used then \cs{bfseries@rm} etc kick in and make
% \cs{textbf} use \texttt{bx}. However, if the font gets changed
% then \cs{bfdefault} will get used.
-%
+%
% \begin{macrocode}
-\def\bfseries@rm{bx}
+\def\bfseries@rm{bx}
\def\bfseries@sf{bx}
\def\bfseries@tt{bx}
% \end{macrocode}
@@ -458,13 +458,13 @@
% If families are changed then we have to do a bit more work.
% In the original NFSS implementation
% a family change kept encoding, series shape and size unchanged
-% but now we can't any
+% but now we can't any
% longer simply reuse the current series value. Instead we may have
% to change it from one family default to the next.
%\begin{verbatim}
% \expand@font@defaults
%\end{verbatim}
-% We have to do the testing while while the current family is still
+% We have to do the testing while the current family is still
% unchanged but we have to do the adjustment of the series after it
% got changed (because the new family might has different sets
% ofshapes available and we certainly don't want to see
@@ -539,7 +539,7 @@
% \cs{fontseries} because that would apply the mappings and then
% \texttt{bx + b} would keep \texttt{bx} instead of changing to
% \texttt{b} as desired.
-% as
+% as
%\begin{verbatim}
% \let\f@series\target@series@value
% \fi
@@ -551,7 +551,7 @@
% so that the definition becomes again fairly short. In addition we
% add a hook, mainly for our Japanese friends so that the code can
% be extended prior to the call to \cs{selectfont}.
-%
+%
% \changes{v3.1f}{2020/01/11}{Streamlined implementation with hook}
% \begin{macrocode}
\DeclareRobustCommand\rmfamily{%
@@ -597,11 +597,11 @@
% \end{macro}
% \end{macro}
%
-%
+%
% \begin{macro}{\@rmfamilyhook}
% \begin{macro}{\@sffamilyhook}
% \begin{macro}{\@ttfamilyhook}
-% By default the hooks do nothing.
+% By default the hooks do nothing.
% \begin{macrocode}
\let\@rmfamilyhook\@empty
\let\@sffamilyhook\@empty
@@ -627,7 +627,7 @@
\def\@meta@family@list{\@elt{rm}\@elt{sf}\@elt{tt}}
% \end{macrocode}
% \end{macro}
-%
+%
% \begin{macrocode}
\def\prepare@family@series@update#1#2{%
\expand@font@defaults
@@ -767,7 +767,7 @@
\expandafter\in@\expandafter{\ttdefault}{cmr,cmss,cmtt,lcmss,lcmtt,lmr,lmss,lmtt}%
\ifin@ \else \def\bfseries@tt{b}\fi\fi
% \end{macrocode}
-%
+%
% If the document preamble has changed the \cs{familydefault} or if
% the if the \cs{rmdefault} contains a new font family, we have to
% adjust the series defaults accordingly, before starting
@@ -776,7 +776,7 @@
% On the other hand if we still typeset in CM or LM then
% \cs{bfdefault} is wrong since it is now saying \texttt{b} and not
% \texttt{bx}.
-
+
% To fix this we run \cs{rmfamily}, \cs{sffamily} or
% \cs{ttfamily} depending on the situation and this will correct
% the setup for us.
@@ -808,7 +808,7 @@
% \end{macrocode}
%
%
-%
+%
% \begin{macrocode}
%</2ekernel|latexrelease>
%<latexrelease>\EndIncludeInRelease
@@ -859,7 +859,7 @@
%<latexrelease>\EndIncludeInRelease
%<*2ekernel>
% \end{macrocode}
-
+
%
%
%
@@ -875,7 +875,7 @@
% but instead of providing a fixed one \LaTeX{} now offers a
% general mechanism that allows to define arbitrary sequences.
%
-% \DescribeMacro\DeclareEmphSequence
+% \DescribeMacro\DeclareEmphSequence
% \DescribeMacro\emforce
%
% This declaration expects a comma separated list of (font) change
@@ -895,12 +895,12 @@
% exhausted then \cs{emreset} is used as a final set of
% declarations (which by default returns
% back to the upright shape). Any additional nesting levels will
-% then reuse the list from its beginning.
+% then reuse the list from its beginning.
%
%
%
% \begin{macro}{\DeclareEmphSequence}
-%
+%
% \cs{DeclareEmphSequence} expects a clist of declaration. Spaces in the
% argument are dropped to avoid surious spaces in the output. The
% declarations are additive. At the very end the shape is reset
@@ -923,7 +923,7 @@
% By default the it is empty, in which case \cs{eminnershape} is
% used by \LaTeX.
% \begin{macrocode}
-\let\emfontdeclare@clist\@empty
+\let\emfontdeclare@clist\@empty
% \end{macrocode}
% \end{macro}
@@ -967,7 +967,7 @@
\fi
}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\def\eminnershape{\upshape}
% \end{macrocode}
@@ -984,7 +984,7 @@
% \end{macrocode}
% First action is to alter the list and move the first entry to the end
% \begin{macrocode}
- \def\emfontdeclare@clist{#2,#1}%
+ \def\emfontdeclare@clist{#2,#1}%
% \end{macrocode}
% Then we execute current declaration. Appending |\selectfont| means one
% can write just |\fontshape{it}}| and that works then too.
@@ -1147,7 +1147,7 @@
% \begin{macrocode}
\def\newfont#1#2{\@ifdefinable#1{\font#1=#2\relax}}
% \end{macrocode}
-%
+%
% \begin{macrocode}
\DeclareRobustCommand\symbol[1]{\char #1\relax}
% \end{macrocode}