[latex3-commits] [git/LaTeX3-latex3-latex2e] gh291: entry in changes.txt and ltnews32 and another test file (f5e0e1c2)
Frank Mittelbach
frank.mittelbach at latex-project.org
Tue Feb 25 23:32:30 CET 2020
Repository : https://github.com/latex3/latex2e
On branch : gh291
Link : https://github.com/latex3/latex2e/commit/f5e0e1c2042e97568fece469d1565edbc54d03c8
>---------------------------------------------------------------
commit f5e0e1c2042e97568fece469d1565edbc54d03c8
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Tue Feb 25 23:32:30 2020 +0100
entry in changes.txt and ltnews32 and another test file
>---------------------------------------------------------------
f5e0e1c2042e97568fece469d1565edbc54d03c8
base/changes.txt | 6 +++
base/doc/ltnews32.tex | 33 ++++++++++---
base/testfiles-search/tlb-nfssaxes-009.lvt | 12 +++++
base/testfiles-search/tlb-nfssaxes-009.tlg | 50 +++++++++++++++++++-
.../{tlb-nfssaxes-009.lvt => tlb-nfssaxes-010.lvt} | 16 ++++++-
.../{tlb-nfssaxes-009.tlg => tlb-nfssaxes-010.tlg} | 55 +++++++++++++++++++++-
6 files changed, 160 insertions(+), 12 deletions(-)
diff --git a/base/changes.txt b/base/changes.txt
index a8648fd8..a9032a74 100644
--- a/base/changes.txt
+++ b/base/changes.txt
@@ -6,6 +6,12 @@ completeness or accuracy and it contains some references to files that
are not part of the distribution.
================================================================================
+2020-02-25 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
+
+ * ltfssini.dtx (section{Custom series settings for main document families}):
+ Drop any surplus ``m'' from \bfdef at ult, \mddef at ult and other
+ places (gh/291)
+
2020-02-18 Frank Mittelbach <Frank.Mittelbach at latex-project.org>
* ltmath.dtx (subsubsection{Flush left equations}):
diff --git a/base/doc/ltnews32.tex b/base/doc/ltnews32.tex
index 0a137839..bd1ebffb 100644
--- a/base/doc/ltnews32.tex
+++ b/base/doc/ltnews32.tex
@@ -146,13 +146,14 @@ This document is under construction \ldots
\subsection{\cs{symbol} in math mode for large Unicode values}
-The \LaTeXe{} kernel defines the command \cs{symbol}, which allows characters to be
-typeset by entering their `slot number'. With the \LuaTeX{} and \XeTeX{} engines, these
-slot numbers can extend to very large values to accomodate Unicode characters in the upper
-Unicode planes (e.g., bold mathematical capital A is slot number \texttt{"1D400} in hex or
-\texttt{119808} in decimal).
-The \XeTeX{} engine did not allow \cs{symbol} in math mode for values above $2^{16}$, and
-this limitation has now been lifted.
+The \LaTeXe{} kernel defines the command \cs{symbol}, which allows
+characters to be typeset by entering their `slot number'. With the
+\LuaTeX{} and \XeTeX{} engines, these slot numbers can extend to very
+large values to accomodate Unicode characters in the upper Unicode
+planes (e.g., bold mathematical capital A is slot number
+\texttt{"1D400} in hex or \texttt{119808} in decimal). The \XeTeX{}
+engine did not allow \cs{symbol} in math mode for values above
+$2^{16}$, and this limitation has now been lifted.
%
\githubissue{124}
@@ -166,6 +167,24 @@ to the right. This has been corrected.
\githubissue{270}
+\subsection{Better support for uncommon font series defaults}
+
+If a font family was set up with fairly unusual font series defaults,
+e.g.,
+\begin{verbatim}
+\renewcommand\ttdefault{lmvtt}
+\DeclareFontSeriesDefault[tt]{md}{lm}
+\DeclareFontSeriesDefault[tt]{bf}{bm}
+\end{verbatim}
+then a switch between the main document families, e.g.,
+\verb=\ttfamily...\rmfamily= did not always correctly continued
+typesetting in medium or bold series if that involved adjusting the
+values used by \verb=\mdseries= or \verb=\bfseries=. This has now
+been corrected.
+%
+\githubissue{291}
+
+
\subsection{Adjusting \texttt{fleqn}}
In \pkg{amsmath} the \cs{mathindent} parameter used with the
diff --git a/base/testfiles-search/tlb-nfssaxes-009.lvt b/base/testfiles-search/tlb-nfssaxes-009.lvt
index 22eca71e..23250ce3 100644
--- a/base/testfiles-search/tlb-nfssaxes-009.lvt
+++ b/base/testfiles-search/tlb-nfssaxes-009.lvt
@@ -44,6 +44,18 @@
\sffamily
\showfont{5}{m} EEE
+\bfseries
+\showfont{6}{bx} FFF
+
+\ttfamily
+\showfont{7}{b} GGG1
+
+\fontseries{bx}\selectfont % that is really just an alias for b
+\showfont{8}{bx} GGG2
+
+\mdseries
+\showfont{9}{l} HHH
+
\showoutput
\end{document}
diff --git a/base/testfiles-search/tlb-nfssaxes-009.tlg b/base/testfiles-search/tlb-nfssaxes-009.tlg
index cd0780ae..7c69fa43 100644
--- a/base/testfiles-search/tlb-nfssaxes-009.tlg
+++ b/base/testfiles-search/tlb-nfssaxes-009.tlg
@@ -5,6 +5,12 @@ Don't change this file in any respect.
3: T1/lmvtt/b/n (b)
4: T1/lmvtt/l/n (l)
5: T1/cmss/m/n (m)
+6: T1/cmss/bx/n (bx)
+7: T1/lmvtt/b/n (b)
+LaTeX Font Info: Font shape `T1/lmvtt/bx/n' in size <10> not available
+(Font) Font shape `T1/lmvtt/b/n' tried instead on input line ...
+8: T1/lmvtt/bx/n (bx)
+9: T1/lmvtt/l/n (l)
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0
.\glue 16.0
@@ -14,7 +20,7 @@ Completed box being shipped out [1]
...\hbox(0.0+0.0)x345.0
..\glue 25.0
..\glue(\lineskip) 0.0
-..\vbox(550.0+0.0)x345.0, glue set 491.94745fil
+..\vbox(550.0+0.0)x345.0, glue set 443.95258fil
...\write-{}
...\glue(\topskip) 3.0555
...\hbox(6.9445+0.0)x345.0, glue set 309.99902fil
@@ -65,6 +71,48 @@ Completed box being shipped out [1]
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.05725
+...\hbox(6.94275+0.0)x345.0, glue set 311.67114fil
+....\hbox(0.0+0.0)x15.0
+....\T1/cmss/bx/n/10 F
+....\T1/cmss/bx/n/10 F
+....\T1/cmss/bx/n/10 F
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.81453
+...\hbox(6.18547+0.0)x345.0, glue set 300.249fil
+....\hbox(0.0+0.0)x15.0
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 1
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.81453
+...\hbox(6.18547+0.0)x345.0, glue set 300.249fil
+....\hbox(0.0+0.0)x15.0
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 2
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.8045
+...\hbox(6.1955+0.0)x345.0, glue set 307.25107fil
+....\hbox(0.0+0.0)x15.0
+....\T1/lmvtt/l/n/10 H
+....\T1/lmvtt/l/n/10 H
+....\T1/lmvtt/l/n/10 H
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
...\glue 0.0 plus 1.0fil
...\glue 0.0
...\glue 0.0 plus 0.0001fil
diff --git a/base/testfiles-search/tlb-nfssaxes-009.lvt b/base/testfiles-search/tlb-nfssaxes-010.lvt
similarity index 69%
copy from base/testfiles-search/tlb-nfssaxes-009.lvt
copy to base/testfiles-search/tlb-nfssaxes-010.lvt
index 22eca71e..a91cc02c 100644
--- a/base/testfiles-search/tlb-nfssaxes-009.lvt
+++ b/base/testfiles-search/tlb-nfssaxes-010.lvt
@@ -19,8 +19,8 @@
\DeclareFontSeriesDefault[sf]{md}{m}
\DeclareFontSeriesDefault[sf]{bf}{bx}
-\DeclareFontSeriesDefault[tt]{md}{lm}
-\DeclareFontSeriesDefault[tt]{bf}{bm}
+\DeclareFontSeriesDefault[tt]{md}{l}
+\DeclareFontSeriesDefault[tt]{bf}{b}
@@ -44,6 +44,18 @@
\sffamily
\showfont{5}{m} EEE
+\bfseries
+\showfont{6}{bx} FFF
+
+\ttfamily
+\showfont{7}{b} GGG1
+
+\fontseries{bx}\selectfont % that is really just an alias for b
+\showfont{8}{bx} GGG2
+
+\typeout{This is a bit questionable I guess ...}
+\mdseries
+\showfont{9}{l} HHH
\showoutput
\end{document}
diff --git a/base/testfiles-search/tlb-nfssaxes-009.tlg b/base/testfiles-search/tlb-nfssaxes-010.tlg
similarity index 55%
copy from base/testfiles-search/tlb-nfssaxes-009.tlg
copy to base/testfiles-search/tlb-nfssaxes-010.tlg
index cd0780ae..2f4d4fb8 100644
--- a/base/testfiles-search/tlb-nfssaxes-009.tlg
+++ b/base/testfiles-search/tlb-nfssaxes-010.tlg
@@ -5,6 +5,15 @@ Don't change this file in any respect.
3: T1/lmvtt/b/n (b)
4: T1/lmvtt/l/n (l)
5: T1/cmss/m/n (m)
+6: T1/cmss/bx/n (bx)
+7: T1/lmvtt/b/n (b)
+LaTeX Font Info: Font shape `T1/lmvtt/bx/n' in size <10> not available
+(Font) Font shape `T1/lmvtt/b/n' tried instead on input line ...
+8: T1/lmvtt/bx/n (bx)
+This is a bit questionable I guess ...
+LaTeX Font Warning: Font shape `T1/lmvtt/lx/n' undefined
+(Font) using `T1/lmvtt/l/n' instead on input line ....
+9: T1/lmvtt/l/n (l)
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0
.\glue 16.0
@@ -14,7 +23,7 @@ Completed box being shipped out [1]
...\hbox(0.0+0.0)x345.0
..\glue 25.0
..\glue(\lineskip) 0.0
-..\vbox(550.0+0.0)x345.0, glue set 491.94745fil
+..\vbox(550.0+0.0)x345.0, glue set 443.95258fil
...\write-{}
...\glue(\topskip) 3.0555
...\hbox(6.9445+0.0)x345.0, glue set 309.99902fil
@@ -65,6 +74,48 @@ Completed box being shipped out [1]
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.05725
+...\hbox(6.94275+0.0)x345.0, glue set 311.67114fil
+....\hbox(0.0+0.0)x15.0
+....\T1/cmss/bx/n/10 F
+....\T1/cmss/bx/n/10 F
+....\T1/cmss/bx/n/10 F
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.81453
+...\hbox(6.18547+0.0)x345.0, glue set 300.249fil
+....\hbox(0.0+0.0)x15.0
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 1
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.81453
+...\hbox(6.18547+0.0)x345.0, glue set 300.249fil
+....\hbox(0.0+0.0)x15.0
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 G
+....\T1/lmvtt/b/n/10 2
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\baselineskip) 5.8045
+...\hbox(6.1955+0.0)x345.0, glue set 307.25107fil
+....\hbox(0.0+0.0)x15.0
+....\T1/lmvtt/l/n/10 H
+....\T1/lmvtt/l/n/10 H
+....\T1/lmvtt/l/n/10 H
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
...\glue 0.0 plus 1.0fil
...\glue 0.0
...\glue 0.0 plus 0.0001fil
@@ -73,4 +124,4 @@ Completed box being shipped out [1]
...\glue 0.0 plus 1.0fil
...\T1/lmss/m/n/10 1
...\glue 0.0 plus 1.0fil
-(tlb-nfssaxes-009.aux)
+(tlb-nfssaxes-010.aux)
More information about the latex3-commits
mailing list.