From 20dc5772c5dd5e8fd6b15ab3c7d241a5cbe0fb01 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Tue, 30 Jan 2018 21:03:40 +0000 Subject: yhmath (30jan18) git-svn-id: svn://tug.org/texlive/trunk@46490 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/fonts/yhmath/yhmath.pdf | Bin 267013 -> 264021 bytes Master/texmf-dist/source/fonts/yhmath/yhmath.dtx | 32 ++++++++++++++--------- Master/texmf-dist/tex/latex/yhmath/yhmath.sty | 10 +++---- 3 files changed, 25 insertions(+), 17 deletions(-) diff --git a/Master/texmf-dist/doc/fonts/yhmath/yhmath.pdf b/Master/texmf-dist/doc/fonts/yhmath/yhmath.pdf index 75d89b41774..89a23bef992 100644 Binary files a/Master/texmf-dist/doc/fonts/yhmath/yhmath.pdf and b/Master/texmf-dist/doc/fonts/yhmath/yhmath.pdf differ diff --git a/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx b/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx index 06970fee845..624e1d9e359 100644 --- a/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx +++ b/Master/texmf-dist/source/fonts/yhmath/yhmath.dtx @@ -33,21 +33,21 @@ % % \GetFileInfo{yhmath.dtx} % -% \def\fileversion{1.1} -% \def\filedate{2013/07/04} +% \def\fileversion{1.2} +% \def\filedate{2018/01/29} % % \title{My humble additions to (La)\TeX{} mathematics\thanks{This file is % \fileversion, last revised \filedate.}} -% \author{Yannis Haralambous\thanks{Address: 187, rue Nationale, -% 59800 Lille, France}\\ -% \texttt{\small haralambous@univ-lille1.fr}} -% \date{January 4, 1996; adaptions NP July 3, 2013} +% \author{Yannis Haralambous\\ +% \texttt{\small yannis1962@gmail.com}} +% \date{January 4, 1996; adaptions NP July 3, 2013 and Jan 29, 2018} % \maketitle % % \CheckSum{107} % % \changes{v1.0}{1996/01/04}{First version} % \changes{v1.1}{2013/07/04}{Merge type1 and metafont packages (NP)} +% \changes{v1.2}{2018/01/29}{Replace largesymbols with yhlargesymbols for mtpro cooperation (YH, NP)} % % \begin{abstract} % This package provides a set of big delimiters, intermediate to those @@ -69,7 +69,15 @@ % CTAN, all the files have to be installed into their respective places % within the TDS hierarchy. % -% \section{About Changes in v1.1} +% \section{Changes} +% +% \subsection{Version v1.2} +% +% Yannis found that the current version conflicts with MTpro fonts +% due to concurrent use of the term \texttt{largesymbols}. This +% version only changes this to \texttt{yhlargesymbols}. +% +% \subsection{Version v1.1} % % Yannis first released the Metafont version of the font in 1996, and % later added the PostScript version in 2002. These two packages ended @@ -284,17 +292,17 @@ % First of all we have to ask \LaTeX{} to use our brand new font % for ``large symbols'' % \begin{macrocode} -\DeclareSymbolFont{largesymbols}{OMX}{yhex}{m}{n} +\DeclareSymbolFont{yhlargesymbols}{OMX}{yhex}{m}{n} % \end{macrocode} % % Next, the four ``wide'' accents are defined, in a way similar to % \LaTeX{} and not to \AmS-\LaTeX{}, so \texttt{yhmath} must be % loaded after |amsmath|! % \begin{macrocode} -\DeclareMathAccent{\widetilde}{\mathord}{largesymbols}{"65} -\DeclareMathAccent{\widehat}{\mathord}{largesymbols}{"62} -\DeclareMathAccent{\widetriangle}{\mathord}{largesymbols}{"E6} -\DeclareMathAccent{\wideparen}{\mathord}{largesymbols}{"F3} +\DeclareMathAccent{\widetilde}{\mathord}{yhlargesymbols}{"65} +\DeclareMathAccent{\widehat}{\mathord}{yhlargesymbols}{"62} +\DeclareMathAccent{\widetriangle}{\mathord}{yhlargesymbols}{"E6} +\DeclareMathAccent{\wideparen}{\mathord}{yhlargesymbols}{"F3} % \end{macrocode} % % The |amatrix| environment is defined diff --git a/Master/texmf-dist/tex/latex/yhmath/yhmath.sty b/Master/texmf-dist/tex/latex/yhmath/yhmath.sty index 727b5e73da4..9127b96dd79 100644 --- a/Master/texmf-dist/tex/latex/yhmath/yhmath.sty +++ b/Master/texmf-dist/tex/latex/yhmath/yhmath.sty @@ -9,11 +9,11 @@ \NeedsTeXFormat{LaTeX2e}[1995/12/01] \ProvidesPackage{yhmath} \RequirePackage{amsmath} -\DeclareSymbolFont{largesymbols}{OMX}{yhex}{m}{n} -\DeclareMathAccent{\widetilde}{\mathord}{largesymbols}{"65} -\DeclareMathAccent{\widehat}{\mathord}{largesymbols}{"62} -\DeclareMathAccent{\widetriangle}{\mathord}{largesymbols}{"E6} -\DeclareMathAccent{\wideparen}{\mathord}{largesymbols}{"F3} +\DeclareSymbolFont{yhlargesymbols}{OMX}{yhex}{m}{n} +\DeclareMathAccent{\widetilde}{\mathord}{yhlargesymbols}{"65} +\DeclareMathAccent{\widehat}{\mathord}{yhlargesymbols}{"62} +\DeclareMathAccent{\widetriangle}{\mathord}{yhlargesymbols}{"E6} +\DeclareMathAccent{\wideparen}{\mathord}{yhlargesymbols}{"F3} \newenvironment{amatrix}{\left\langle\begin{matrix}}{\end{matrix}\right\rangle} \def\adots{\mathinner{\mkern2mu\raise\p@\hbox{.} \mkern2mu\raise4\p@\hbox{.}\mkern1mu -- cgit v1.2.3