summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/ccfonts/ccfonts.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/ccfonts/ccfonts.dtx')
-rw-r--r--macros/latex/contrib/ccfonts/ccfonts.dtx43
1 files changed, 22 insertions, 21 deletions
diff --git a/macros/latex/contrib/ccfonts/ccfonts.dtx b/macros/latex/contrib/ccfonts/ccfonts.dtx
index 2480f1f986..5135d128ac 100644
--- a/macros/latex/contrib/ccfonts/ccfonts.dtx
+++ b/macros/latex/contrib/ccfonts/ccfonts.dtx
@@ -1,4 +1,4 @@
-%\CheckSum{144}
+%\CheckSum{146}
%
% \iffalse meta comment
%
@@ -23,9 +23,9 @@
\ProvidesFile{ccfonts.drv}
%</driver>
%<package>\ProvidesPackage{ccfonts}
- [2000/06/30 v1.1 (WaS)]
+ [2020/03/25 v1.2 (WaS)]
%
-%<*driver>
+%<*driver>
\documentclass[11pt]{ltxdoc}
\usepackage{mflogo,url}
\CodelineNumbered
@@ -38,7 +38,7 @@
% \GetFileInfo{ccfonts.drv}
% \DeleteShortVerb{\|}
% \MakeShortVerb{\+}
-%
+%
% \title{The \LaTeXe{} package \texttt{ccfonts}}
% \author{Walter Schmidt\thanks{\texttt{walter.schmidt@arcormail.de}}}
% \date{(\fileversion{} -- \filedate)}
@@ -57,7 +57,7 @@
% (CTAN: \path{fonts/concmath/})
% \item The +.fd+ files for the traditional and mathematical
% Concrete fonts (CTAN: \path{macros/latex/contrib/supported/concmath/})
-% \item The +.fd+ files for the European Concrete fonts,
+% \item The +.fd+ files for the European Concrete fonts,
% which are distributed and installed in conjunction
% with the +ccfonts+ package
% \end{itemize}
@@ -68,7 +68,7 @@
%
%
% \section{Using the package}
-% The \LaTeX{} macro package +ccfonts+
+% The \LaTeX{} macro package +ccfonts+
% supports typesetting with the font family `Concrete'.
% Loading this package through
% \begin{verse}
@@ -86,7 +86,7 @@
%
% Notice that you may still have to specify the option +psamsfonts+
% for these packages, so as to prevent them from using design sizes
-% of the Euler Fraktur fonts, which may be
+% of the Euler Fraktur fonts, which may be
% unavailable within your TeX system; this works flawlessly with
% version 1.1 of the +ccfonts+ package now. (You need not care for this
% subject, unless Euler Fraktur is actually used.)
@@ -97,12 +97,12 @@
% \begin{description}
% \oitem{boldsans} The semibold series of CM Sans is used
% as a replacement for the missing bold series of Concrete.
-% (The default behaviour is to use the bold extended version of
+% (The default behaviour is to use the bold extended version of
% CM Roman.)
% \oitem{standard-baselineskips} disables the increased leading.
% This can be useful, e.g., when typesetting in narrow columns.
% \oitem{exscale} implements scaling of the math extension font.
-% For a discussion of this feature see the file +exscale.dtx+.
+% For a discussion of this feature see the file +exscale.dtx+.
% \oitem{slantedGreek} makes uppercase Greek letters slanted by default.
% Regardless of this option, the new commands +\upDelta+ and +\upOmega+
% will always produce an upright \( \Delta \) and \( \Omega \).
@@ -123,7 +123,7 @@
% There are no bold math fonts available.
% \item
% In order to enlarge the default +\baselineskip+, the size-changing
-% macros have been redefined, and they are no longer as robust as the
+% macros have been redefined, and they are no longer as robust as the
% original definitions. This may result in \LaTeX\ errors with
% `moving arguments'. As a workaround, you may protect any font-related
% commands in moving arguments with a +\protect+ command. In case this
@@ -148,14 +148,14 @@
% OMX & ccex & m & n \\ \hline \hline
% \multicolumn{4}{|c|}{\textit{Concrete AMS A, B}}\\ \hline
% U & msa & m & n \\ \hline
-% U & msb & m & n \\ \hline
+% U & msb & m & n \\ \hline
% \end{tabular}
% \end{center}
-% Notice, that
+% Notice, that
% \begin{itemize}
% \item the series c (condensed) is available as slanted
% and with a font size of 9\,pt only;
-% \item the Concrete AMS fonts are only defined
+% \item the Concrete AMS fonts are only defined
% through the package \textsf{ccfonts},
% i.e., there are no related \texttt{.fd} files.
% \end{itemize}
@@ -217,7 +217,7 @@
% \end{macrocode}
%
% \subsubsection{The option \texttt{exscale}}
-% The code is simply copied from \texttt{exscale.sty},
+% The code is simply copied from \texttt{exscale.sty},
% with \texttt{xccex} instead of \texttt{cmex}.
% \begin{macrocode}
\DeclareOption{exscale}{
@@ -262,7 +262,9 @@
% \subsection{The option \texttt{boldsans}}
% \begin{macrocode}
\DeclareOption{boldsans}{%
- \renewcommand{\bfdefault}{sbc}}
+ \@ifundefined{DeclareFontSeriesDefault}{%
+ \renewcommand{\bfdefault}{sbc}}{%
+ \DeclareFontSeriesDefault[rm]{bf}{sbc}}}
% \end{macrocode}
%
% \subsubsection{Processing options}
@@ -282,10 +284,10 @@
% \end{macrocode}
%
% In case the package +amsfonts+ is loaded additionally,
-% we must ensure that the Concrete versions of the
+% we must ensure that the Concrete versions of the
% AMS symbol fonts are used. We execute the font definitions
-% AtBeginDocument, so that loading +amsfonts+ with the
-% option +psamsfonts+ cannot do any harm. Notice that the option may
+% AtBeginDocument, so that loading +amsfonts+ with the
+% option +psamsfonts+ cannot do any harm. Notice that the option may
% be required for getting the Euler Fraktur fonts right.
% \begin{macrocode}
\AtBeginDocument{
@@ -294,13 +296,13 @@
<5><6><7><8><9><10>gen*xccam%
<10.95><12><14.4><17.28><20.74><24.88>xccam10}{}
\DeclareFontFamily{U}{msb}{}
- \DeclareFontShape{U}{msb}{m}{n}{%
+ \DeclareFontShape{U}{msb}{m}{n}{%
<5><6><7><8><9><10>gen*xccbm%
<10.95><12><14.4><17.28><20.74><24.88>xccbm10}{}
}
% \end{macrocode}
%
-%
+%
% \subsection{Initialization}
% We ensure that any package loaded after \texttt{ccfonts}
% will find the new value of +\baselineskip+.
@@ -331,4 +333,3 @@
%% Grave accent \` Left brace \{ Vertical bar \|
%% Right brace \} Tilde \~}
%%
-