summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/fonts/yhmath/yhmath.dtx')
-rw-r--r--Master/texmf-dist/source/fonts/yhmath/yhmath.dtx28
1 files changed, 21 insertions, 7 deletions
diff --git a/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx b/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx
index 62ad1588e61..ddf3b5c4d8e 100644
--- a/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx
+++ b/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx
@@ -12,7 +12,7 @@
\ProvidesFile{yhmath.dtx}
%</dtx>
%<package>\NeedsTeXFormat{LaTeX2e}[1995/12/01]
-%<package>\ProvidesPackage{yhmath}[2019/02/18 v1.4]
+%<package>\ProvidesPackage{yhmath}[2019/02/24 v1.5]
%<driver> \ProvidesFile{yhmath.drv}
%<fdfile> \ProvidesFile{OMXyhex.fd}
% \fi
@@ -33,14 +33,14 @@
%
% \GetFileInfo{yhmath.dtx}
%
-% \def\fileversion{1.4}
-% \def\filedate{2019/02/18}
+% \def\fileversion{1.5}
+% \def\filedate{2019/02/24}
%
% \title{My humble additions to (La)\TeX{} mathematics\thanks{This file is
% \fileversion, last revised \filedate.}}
-% \author{Yannis Haralambous\\
-% \texttt{\small yannis1962@gmail.com}}
-% \date{January 4, 1996; adaptions NP July 3, 2013 and Feb 4, 2019}
+% \author{Yannis Haralambous, Norbert Preining\\
+% \texttt{\small yannis1962@gmail.com}, \texttt{\small norbert@preining.info}}
+% \date{January 4, 1996 (YH); February 24, 2019 (NP)}
% \maketitle
%
% \CheckSum{107}
@@ -50,6 +50,7 @@
% \changes{v1.2}{2018/01/29}{Replace largesymbols with yhlargesymbols for mtpro cooperation (YH, NP)}
% \changes{v1.3}{2018/01/31}{Add license statements (NP)}
% \changes{v1.4}{2019/02/18}{Package options, dates, backward compatibility (NP)}
+% \changes{v1.5}{2019/02/24}{Fixes to math delimiters, make font extensible (NP)}
%
% \begin{abstract}
% This package provides a set of big delimiters, intermediate to those
@@ -73,6 +74,13 @@
%
% \section{Changes}
%
+% \subsection{Version v1.5}
+%
+% Fixes for the math delimiters $<$, $>$, and $/$ where incorporated,
+% as well as the property \texttt{sfixed} removed from the font
+% definition (GH Issues 1,2).
+%
+%
% \subsection{Version v1.4}
%
% The change in v1.2 triggered a few inconveniences due to the sudden
@@ -392,7 +400,10 @@
\DeclareMathDelimiter{]}{\mathclose}{operators}{"5D}{yhlargesymbols}{"03}
\DeclareMathDelimiter{<}{\mathopen}{symbols}{"68}{yhlargesymbols}{"0A}
\DeclareMathDelimiter{>}{\mathclose}{symbols}{"69}{yhlargesymbols}{"0B}
+\DeclareMathSymbol{<}{\mathrel}{letters}{"3C}
+\DeclareMathSymbol{>}{\mathrel}{letters}{"3E}
\DeclareMathDelimiter{/}{\mathord}{operators}{"2F}{yhlargesymbols}{"0E}
+\DeclareMathSymbol{/}{\mathord}{letters}{"3D}
\DeclareMathDelimiter{|}{\mathord}{symbols}{"6A}{yhlargesymbols}{"0C}
\DeclareMathRadical{\sqrtsign}{symbols}{"70}{yhlargesymbols}{"70}
\DeclareMathSymbol{\braceld}{\mathord}{yhlargesymbols}{"7A}
@@ -484,12 +495,15 @@
% the OMX (Old Math Extensible symbols) encoding.
% We use the virtual font yhcmex10 to make sure that the lower 128 code
% points are filled, too.
+% Up to version 1.4 the font was defined with the \texttt{sfixed} attribute.
+% This was changed to better support scaling, see
+% \url{https://github.com/TeX-Live/yhmath/issues/2} for discussion.
% \begin{macrocode}
\ProvidesFile{OMXyhex.fd}
[2013/07/03 v1.1 YH's humble contribution to TeX maths (NP)]
\DeclareFontFamily{OMX}{yhex}{}
\DeclareFontShape{OMX}{yhex}{m}{n}{
- <-> sfixed * yhcmex10
+ <-> yhcmex10
}{}
% \end{macrocode}
% \begin{macrocode}