summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/unicodefonttable/unicodefonttable.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/unicodefonttable/unicodefonttable.dtx')
-rw-r--r--macros/latex/contrib/unicodefonttable/unicodefonttable.dtx75
1 files changed, 64 insertions, 11 deletions
diff --git a/macros/latex/contrib/unicodefonttable/unicodefonttable.dtx b/macros/latex/contrib/unicodefonttable/unicodefonttable.dtx
index 67cb3a8d64..8374b8d279 100644
--- a/macros/latex/contrib/unicodefonttable/unicodefonttable.dtx
+++ b/macros/latex/contrib/unicodefonttable/unicodefonttable.dtx
@@ -17,8 +17,8 @@
% for those people who are interested or want to report an issue.
%
-\def\unicodefonttabledate {2021/10/19}
-\def\unicodefonttableversion{v1.0e}
+\def\unicodefonttabledate {2021/10/29}
+\def\unicodefonttableversion{v1.0f}
%<*driver>
@@ -90,10 +90,11 @@
% To produce a one-off table, a standalone version is available as well.
% \end{abstract}
%
+% \vspace*{\medskipamount}
%
% \tableofcontents
%
-%
+% \vspace*{\bigskipamount}
%
% \section{Introduction}
%
@@ -133,8 +134,10 @@
% hexadecimal digits. For example, \texttt{U+0041} represents the letter
% ``A'' and \texttt{U+20AC} the Euro currency symbol ``\texteuro''.
% We use this convention by showing a Unicode range of sixteen
-% characters at the left of each table row, e.g., \texttt{U+0040 -
+% characters at the left of each table row,
+% e.g., \texttt{U+0040 -
% 004F}, followed by the sixteen glyphs in the range. Thus that
+% \IfImplementationShownTF{}{\pagebreak}\ignorespaces
% particular table row from the ``Basic Latin'' block would show
% something like
%
@@ -504,7 +507,7 @@
% is the normal space, \texttt{U+00A0} is a non-breaking space,
% \texttt{U+00AD} is a soft-hyphen (what \LaTeX{} users would
% indicate with \cs{-}), and so forth. Especially the row
-% \texttt{U+2000-200F} in Table~1 looks strange as it appears to be totally
+% \texttt{U+2000-200F} in Table~6 looks strange as it appears to be totally
% empty, but in fact most of its slots contain spaces of different
% width.
%
@@ -552,9 +555,11 @@
% places, but for \TUB{} this is not practical, so we
% use black and gray.
%
-% \subsection{Computer Modern Sans --- 8-bit font}
+% \subsection{Computer Modern Sans --- 7-bit font}
%
-% Our first example is an 8-bit font which gives a concise table.
+% Our first example is the original Computer Modern Sans, with
+% character codes $\le 127$.
+%
% Command used: \begin{verbatim}
% \displayfonttable*[color=none, range-end=7F]{cmss10}
% \end{verbatim}
@@ -562,7 +567,44 @@
% \displayfonttable*[color=none, range-end=7F]{cmss10}
%
%
-% \iffalse
+% \iftrue
+%
+%\subsection{\TeX\ Gyre Heros --- 8-bit font}
+%
+% This example shows the \TeX\ Gyre Heros 8-bit font,
+% in the T1 encoding, with character codes $\le 255$.
+% Command used:
+%\begin{verbatim}
+% \displayfonttable*[color=none]{ec-qhvr}
+%\end{verbatim}
+%
+%\displayfonttable*[color=none]{ec-qhvr}
+%
+% \fi
+%
+%
+% \iftrue
+%\subsection{Latin Modern Math --- 8-bit fonts}
+%
+% The traditional Latin Modern Math Italic, Symbol and Extension fonts.
+% The symbol font (\texttt{lmsy10}) has two characters added to the
+% Computer Modern symbol repertoire, seen in the last row of the table.
+% Commands used:
+%
+%\begin{verbatim}
+% \displayfonttable*[color=none]{lmmi10}
+% \displayfonttable*[color=none]{lmsy10}
+% \displayfonttable*[color=none]{lmex10}
+%\end{verbatim}
+%
+%\displayfonttable*[color=none]{lmmi10}
+%\displayfonttable*[color=none]{lmsy10}
+%\displayfonttable*[color=none]{lmex10}
+%
+% \fi
+%
+%
+% \iffalse % 5pp
%
%\subsection{\TeX{} Gyre Pagella (Palatino) oldstyle figures --- OTF font}
%
@@ -577,6 +619,7 @@
% \fi
%
%
+% \IfImplementationShownTF{}{\newpage}
%
% \subsection{Latin Modern Math compared to New Computer Modern Math}
%
@@ -587,6 +630,10 @@
%\begin{verbatim}
% \displayfonttable[hex-digits=head+foot, range-end=1FFFF,
% compare-with=New Computer Modern Math,
+% title-format=\caption{Latin Modern Math compared to
+% New Computer Modern Math},
+% title-format-cont=\caption{LM Math vs.\ NewCM Math,
+% \emph{cont.}},
% compare-color=black, compare-bgcolor=black!5,
% missing-glyph-color=black!50, color=black!75]
% {Latin Modern Math}
@@ -599,6 +646,10 @@
%
% \displayfonttable[hex-digits=head+foot, range-end=1FFFF,
% compare-with=New Computer Modern Math,
+% title-format=\caption{Latin Modern Math compared to
+% New Computer Modern Math},
+% title-format-cont=\caption{LM Math vs.\ NewCM Math,
+% \emph{cont.}},
% compare-color=black, compare-bgcolor=black!5,
% missing-glyph-color=black!50, color=black!75]
% {Latin Modern Math}
@@ -956,9 +1007,11 @@
% The default continuation title ignores the given features, so the
% formatting is somewhat simpler. It uses \verb=\caption[]{...}= to
% make a caption that doesn't alter the table number.
+% \changes{v1.0f}{2021/10/29}{Make documentation and code match:
+% it should be \texttt{title-format-cont}}
% \begin{macrocode}
- ,title-cont-format .cs_set:Np = \@@_format_table_cont:nn #1#2
- ,title-cont-format .initial:n = \caption[]{#1~ \emph{cont.}}
+ ,title-format-cont .cs_set:Np = \@@_format_table_cont:nn #1#2
+ ,title-format-cont .initial:n = \caption[]{#1~ \emph{cont.}}
% \end{macrocode}
% The key \key{hex-digits} is implemented as a choice, where each
% allowed value sets different booleans that are then used in the code.
@@ -2263,7 +2316,7 @@
% display-block = rules,
% missing-glyph = \tiny\setlength\fboxsep{0pt}\fbox{$\times$},
hex-digits = block,
- title-cont-format = \caption[]{\emph{continued}},
+ title-format-cont = \caption[]{\emph{continued}},
]{Latin Modern Sans}
\newpage