summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/mismath
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-10-26 03:00:55 +0000
committerNorbert Preining <norbert@preining.info>2022-10-26 03:00:55 +0000
commitfac21618bdcd44d7ca47228c8b856488b12ee6a2 (patch)
treee9819cfcefa3d3865508f8a48a871338e56340c1 /macros/latex/contrib/mismath
parent170c76072a2b68eeeb23fa4a9e3dfbdee131e29c (diff)
CTAN sync 202210260300
Diffstat (limited to 'macros/latex/contrib/mismath')
-rw-r--r--macros/latex/contrib/mismath/mismath.dtx56
-rw-r--r--macros/latex/contrib/mismath/mismath.pdfbin360639 -> 247929 bytes
2 files changed, 35 insertions, 21 deletions
diff --git a/macros/latex/contrib/mismath/mismath.dtx b/macros/latex/contrib/mismath/mismath.dtx
index 1475b084fa..b4c6465b24 100644
--- a/macros/latex/contrib/mismath/mismath.dtx
+++ b/macros/latex/contrib/mismath/mismath.dtx
@@ -20,21 +20,23 @@
%<*package>
\NeedsTeXFormat{LaTeX2e}[2005/12/01]
\ProvidesPackage{mismath}
- [2022/10/17 v1.9 .dtx mismath file]
+ [2022/10/25 v1.10 .dtx mismath file]
%</package>
%<*driver>
\documentclass{ltxdoc}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
-\usepackage{lmodern,mathpazo}
+\usepackage{mathpazo}
\DeclareTextFontCommand{\extrafont}{\fontfamily{cmr}\selectfont}
+% used for showing original \i and \j in text mode.
\usepackage{mismath}
\usepackage{amssymb}
\usepackage{multicol}
+
%\enumber
\inumber
-\pinumber[Symbol]
+\pinumber[Euler]
% for an example in this doc we substitute [ and ] by \OB and \CB
\DeclareMathSymbol{\OB}\mathclose{operators}{093}
\DeclareMathSymbol{\CB}\mathopen{operators}{091}
@@ -46,7 +48,7 @@
\hypersetup{%
colorlinks,
linkcolor=blue,
- citecolor=blue,
+ citecolor=red,
pdftitle={mismath},
pdfsubject={LaTeX package},
pdfauthor={Antoine Missier}
@@ -59,7 +61,7 @@
%</driver>
% \fi
%
-%% \CheckSum{428}
+%% \CheckSum{430}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -97,11 +99,14 @@
% \changes{v1.7}{2019/12/27}{Adding a table of contents to the documentation}
% \changes{v1.8}{2020/11/15}{Incompatibility and solution mentioned when using i
% with accent in beamer titles small changes in documentation}
-% \changes{v1.9}{2020/10/17}{UpSh replaced by operators font in math mode,
+% \changes{v1.9}{2020/10/17}{UpSh replaced by "operators" font in math mode,
% PackageWarning "command exist" replaced by PackageWarningNoLine,
% and also used by commands with arguments,
% medspace replaced by thickspace in the \bslash lfrac command,
% changing font in documentation}
+% \changes{v1.10}{2020/10/25}{\bslash pinumber command code adapted to avoid
+% incompatibility with the new release of frenchmath,
+% default option (in upgreek) changed from Symbol to Euler.}
%
% \GetFileInfo{mismath.sty}
%
@@ -109,7 +114,7 @@
% corresponds to \textsf{mismath}~\fileversion, dated \filedate.
% Thanks to François Bastouil for help in English translation.}}
% \author{Antoine Missier \\ \texttt{antoine.missier@ac-toulouse.fr}}
-% \date{October 17, 2022}
+% \date{October 25, 2022}
%
% \maketitle
% \tableofcontents
@@ -170,9 +175,10 @@
% \medskip
% A recommendation, seldom observed, is to typeset uppercase Greek letters in italic shape
% like other variables~\cite{ICTNS}. This is automatically done with
-% the \textsf{fixmath} package by Walter Schmidt~\cite{FIXM},
+% the \textsf{fixmath} package by Walter Schmidt~\cite{FIXM}
+% or the \textsf{isomath} package by Günter Milde~\cite{ISOM},
% but this feature is not implemented in \textsf{mismath} because this rule is conflicting
-% to the one used for instance in France where all mathematics capitals
+% to the one used in France where all mathematics capitals
% have to be typeset in upright shape\footnote{The \textsf{frenchmath} package~\cite{FR}
% takes this rule into account.}.
% The choice of loading or not one of these packages remains thus to the user.
@@ -232,10 +238,13 @@
% This recommendation is even less observed than the one concerning
% $\e$ and $\i$~\cite{TYPMA}.
% The \textsf{upgreek} package by Walter Schmidt~\cite{GREEK} makes it possible to typeset
-% Greek letters in upright font by using commands such as |\upalpha|, |\upbeta|, \ldots\@
+% Greek letters in upright font\footnote{Many other packages deal with this problem, let us
+% mention \textsf{mathdesign}, \textsf{fourier}, \textsf{pm-isomath},
+% \textsf{alphabeta}, \textsf{kpfonts}, \textsf{pxgreeks}, \textsf{libgreek}, etc.}
+% by using commands such as |\upalpha|, |\upbeta|, \ldots\@
% To avoid typing a lot of |\uppi|, we provide the |\pinumber| macro,
% which has to be put in the preamble. This command loads the \textsf{upgreek} package
-% with an optional \meta{font} argument: \texttt{Symbol} (by default), \texttt{Euler}
+% with an optional \meta{font} argument: \texttt{Euler} (by default), \texttt{Symbol}
% or \texttt{Symbolsmallscale} (see~\cite{GREEK}). It also redefines the |\pi|
% command to typeset all |\pi| in the selected upright font.
@@ -640,7 +649,8 @@
% of [ as |mathopen| really appropriate
% where this symbol could almost also logically have been defined as |mathclose|?}.
% And consider that these symbols are most of the time preceded or followed by relational,
-% binary or punctuation symbols and therefore spaces are correct without a delimiter definition.
+% binary or punctuation symbols and therefore spaces are correct
+% without a delimiter definition.
%
% \subsection{Environments for systems of equations and small matrices}
%
@@ -830,7 +840,7 @@
%
% \medskip
% \begin{macrocode}
-\providecommand{\mathup}[1]{{\operatorfont #1}}
+\providecommand{\mathup}[1]{{\operatorfont #1}} % exist also in kpfonts
\@mmacro{e}{\mathup{e}}
\AtBeginDocument{\let\oldi\i \let\oldj\j
\renewcommand{\i}{\TextOrMath{\oldi}{\mathup{i}}}
@@ -842,9 +852,9 @@
\AtBeginDocument{\DeclareMathSymbol{i}\mathalpha{operators}{`i}} }
\newcommand{\jnumber}{
\AtBeginDocument{\DeclareMathSymbol{j}\mathalpha{operators}{`j}} }
-\newcommand*{\pinumber}[1][Symbol]{
+\newcommand*{\pinumber}[1][Euler]{
\@ifpackageloaded{upgreek}{}{\usepackage[#1]{upgreek}}
- \let\itpi\pi
+ \@ifundefined{itpi}{\let\itpi\pi}{\@mwarning{itpi}}
\renewcommand{\pi}{\uppi} }
\newboolean{arrowvect}
@@ -1001,14 +1011,15 @@
% \end{macrocode}
% \bigskip
% \begin{thebibliography}{17}
+% \begin{raggedright}
% \bibitem{TYPMA} \emph{Typesetting mathematics for science and technology according
% to ISO 31/XI}, Claudio Beccari, TUGboat Volume 18 (1997), No.~1.
-% \bibitem{NIST} \emph{Typefaces for Symbols in Scientific Manuscripts}.\\
-% https://www.physics.nist.gov/cuu/pdf/typefaces.pdf.
+% \bibitem{NIST} \emph{Typefaces for Symbols in Scientific Manuscripts}.
+% \url{https://www.physics.nist.gov/cuu/pdf/typefaces.pdf}.
% \bibitem{ICTNS} \emph{On the Use of Italic and up Fonts for Symbols in Scientific Text},
% I.M.~Mills and W.V.~Metanomski, ICTNS (Interdivisional Committee
-% on Nomenclature and Symbols), dec 1999.
-% \bibitem{ISO} \emph{ISO 80000-2}. https://en.wikipedia.org/wiki/ISO\_80000-2
+% on Terminology, Nomenclature and Symbols), dec 1999.
+% \bibitem{ISO} \emph{ISO 80000-2}. \url{https://en.wikipedia.org/wiki/ISO\_80000-2}.
% \bibitem{AMS} \emph{The \textsf{amsmath} package}. Frank Mittelbach, Rainer Schöpf,
% Michael Downes, Davis M.~Jones, David Carlisle, CTAN, v2.17b 2018/12/01.
% \bibitem{TOOL} \emph{The \textsf{mathtool} package}. Morten Høgholm, Lars Madsen, CTAN,
@@ -1019,18 +1030,21 @@
% CTAN, v2.0 2003/02/12.
% \bibitem{FIXM} \emph{The \textsf{fixmath} package for \LaTeXe}, Walter Schmidt,
% CTAN, v0.9 2000/04/11.
-% \bibitem{ISOM} \emph{\textsf{isomath}. Mathematical style for science and technology}.
+% \bibitem{ISOM} \emph{\textsf{isomath} -- Mathematical style for science and technology}.
% Günter Milde, CTAN, v0.6.1 2012/09/04.
+% \bibitem{PMISO} \emph{PM-ISOmath, The Poor Man ISO math bundle},
+% \textsf{pm-isomath} package by Claudio Beccari, CTAN, v1.2.00 2021/08/04.
% \bibitem{INT} \emph{The \textsf{interval} package}. Lars Madsen, CTAN,
% v0.3 2014/08/04.
% \bibitem{SYST} \emph{L'extension pour \TeX\ et \LaTeX\ \textsf{systeme}}.
% Christian Tellechea, CTAN v0.32 2019/01/13.
% \bibitem{SPAL} \emph{The \textsf{spalign} package}. Joseph Rabinoff, CTAN, 2016/10/05.
-% \bibitem{FR} \emph{L'extension \textsf{frenchmath}}. Antoine Missier, CTAN, v1.6 2022/10/16.
+% \bibitem{FR} \emph{L'extension \textsf{frenchmath}}. Antoine Missier, CTAN, v2.0 2022/10/25.
% \bibitem{LSHORT} \emph{The Not So Short Introduction to \LaTeXe}. \textsf{lshort} package by
% Tobias Oetiker, Hubert Partl, Irene Hyna and Elisabeth Schlegl, CTAN, v6.2 2018/02/28.
% \bibitem{COMP} \emph{The \LaTeX\ Companion}. Frank Mittelbach, Michel Goossens,
% Johannes Braams, David Carlisle, Chris Rowley, 2nd edition, Pearson Education, 2004.
+% \end{raggedright}
% \end{thebibliography}
% \Finale
diff --git a/macros/latex/contrib/mismath/mismath.pdf b/macros/latex/contrib/mismath/mismath.pdf
index 24612b9bd9..6159e38149 100644
--- a/macros/latex/contrib/mismath/mismath.pdf
+++ b/macros/latex/contrib/mismath/mismath.pdf
Binary files differ