summaryrefslogtreecommitdiff
path: root/Master/texmf-dist
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2018-12-30 22:13:12 +0000
committerKarl Berry <karl@freefriends.org>2018-12-30 22:13:12 +0000
commitb2970966c526371761b5118d53238dccefcf4422 (patch)
tree40838ce800b8708282e7a5f3777ad2bfd427a004 /Master/texmf-dist
parentf415e2c9d5a865727094a8bca5778bc3de7225ce (diff)
mathfixs (30dec18)
git-svn-id: svn://tug.org/texlive/trunk@49547 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r--Master/texmf-dist/doc/latex/mathfixs/README.txt2
-rw-r--r--Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex2
-rw-r--r--Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdfbin301544 -> 302307 bytes
-rw-r--r--Master/texmf-dist/source/latex/mathfixs/mathfixs.dtx63
-rw-r--r--Master/texmf-dist/tex/latex/mathfixs/mathfixs.sty4
5 files changed, 29 insertions, 42 deletions
diff --git a/Master/texmf-dist/doc/latex/mathfixs/README.txt b/Master/texmf-dist/doc/latex/mathfixs/README.txt
index e45626f964a..834d286ff94 100644
--- a/Master/texmf-dist/doc/latex/mathfixs/README.txt
+++ b/Master/texmf-dist/doc/latex/mathfixs/README.txt
@@ -1,4 +1,4 @@
-mathfixs v1.0
+mathfixs v1.01
Copyright 2018 Niklas Beisert
mathfixs is a LaTeX2e package to fix some odd behaviour in math mode
diff --git a/Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex b/Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex
index 59d514f1670..79c6d236804 100644
--- a/Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex
+++ b/Master/texmf-dist/doc/latex/mathfixs/mafxsamp.tex
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]
-\ProvidesFile{mafxsamp.tex}[2018/01/17 v1.0 sample for mathfixs]
+\ProvidesFile{mafxsamp.tex}[2018/12/30 v1.01 sample for mathfixs]
\documentclass[12pt]{article}
\usepackage{geometry}
diff --git a/Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdf b/Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdf
index 6bea02f2e42..86eeba5728f 100644
--- a/Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdf
+++ b/Master/texmf-dist/doc/latex/mathfixs/mathfixs.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/mathfixs/mathfixs.dtx b/Master/texmf-dist/source/latex/mathfixs/mathfixs.dtx
index a683ade1515..1f985e3707b 100644
--- a/Master/texmf-dist/source/latex/mathfixs/mathfixs.dtx
+++ b/Master/texmf-dist/source/latex/mathfixs/mathfixs.dtx
@@ -18,10 +18,10 @@
% and the derived files mathfixs.sty and mafxsamp.tex.
%
%<package|sample>\NeedsTeXFormat{LaTeX2e}[1996/12/01]
-%<package>\ProvidesPackage{mathfixs}[2018/01/17 v1.0 various fixes for math mode]
-%<sample>\ProvidesFile{mafxsamp.tex}[2018/01/17 v1.0 sample for mathfixs]
+%<package>\ProvidesPackage{mathfixs}[2018/12/30 v1.01 various fixes for math mode]
+%<sample>\ProvidesFile{mafxsamp.tex}[2018/12/30 v1.01 sample for mathfixs]
%<*driver>
-%\ProvidesFile{mathfixs.drv}[2018/01/17 v1.0 mathfixs reference manual file]
+%\ProvidesFile{mathfixs.drv}[2018/12/30 v1.01 mathfixs reference manual file]
\PassOptionsToClass{10pt,a4paper}{article}
\documentclass{ltxdoc}
@@ -40,13 +40,19 @@
conditions of the LaTeX Project Public License, either version 1.3
of this license or (at your option) any later version.}}
\hypersetup{pdflicenseurl={http://www.latex-project.org/lppl.txt}}
-\hypersetup{pdfcontactaddress={ETH Zurich, ITP, HIT K, Wolfgang-Pauli-Strasse 27}}
+\hypersetup{pdfcontactaddress={ETH Zurich, ITP, HIT K,
+ Wolfgang-Pauli-Strasse 27}}
\hypersetup{pdfcontactpostcode={8093}}
\hypersetup{pdfcontactcity={Zurich}}
\hypersetup{pdfcontactcountry={Switzerland}}
\hypersetup{pdfcontactemail={nbeisert@itp.phys.ethz.ch}}
\hypersetup{pdfcontacturl={http://people.phys.ethz.ch/\xmptilde nbeisert/}}
+\parskip1ex
+\parindent0pt
+\let\olditemize\itemize
+\def\itemize{\olditemize\parskip0pt}
+
\begin{document}
\title{The \textsf{mathfixs} Package}
@@ -59,7 +65,7 @@
{\texttt{nbeisert@itp.phys.ethz.ch}}}
\hypersetup{pdfauthor={Niklas Beisert}}
\hypersetup{pdfsubject={Manual for the LaTeX2e Package mathfixs}}
-\date{17 January 2018, \textsf{v1.0}}
+\date{30 December 2018, \textsf{v1.01}}
\maketitle
\begin{abstract}\noindent
@@ -72,7 +78,10 @@ capital Greek letters.
It also adds some related macros.
\end{abstract}
+\begingroup
+\parskip0ex
\tableofcontents
+\endgroup
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -234,8 +243,6 @@ and the ends of the math expression or subexpression in parentheses.
Also, no space is generated
in the script styles (|\|[|script|]|scriptstyle|).
-\medskip
-\noindent
\DescribeMacro{\frac}
The feature |frac| redefines the macro |\frac|
such that all fractions have the inner math class
@@ -252,8 +259,6 @@ unnecessary in almost all situations,
and leads to a rather uniform appearance
without further adjustments.
-\medskip
-\noindent
\DescribeMacro{\genfrac}
\DescribeMacro{\dfrac}
\DescribeMacro{\tfrac}
@@ -284,8 +289,6 @@ the redefined macro must be enclosed in a block
when passed as an argument. For example, |x^\frac{1}{2}|
produces an error and must be written as |x^{\frac{1}{2}}|.
-\medskip
-\noindent
\DescribeMacro{fracclass}
\DescribeMacro{fracdelimclass}
The option |fracclass=|\textit{class}
@@ -318,8 +321,6 @@ has a more uniform appearance:
\]
%
-\medskip
-\noindent
\DescribeMacro{\rfrac}
The feature |rfrac| defines the macro |\rfrac|
to typeset a fraction in text style or smaller.
@@ -350,8 +351,6 @@ the macro |\vfrac| also works in text mode.
The optional argument |vfrac={\|\textit{cmd}|}| specifies
an alternative command name |\|\textit{cmd} for |\vfrac|.
-\medskip
-\noindent
\DescribeMacro{vfracclass}
\DescribeMacro{vfracskippre}
\DescribeMacro{vfracskippost}
@@ -409,8 +408,6 @@ y\mskip-5mu
\]
%
-\medskip
-\noindent
\DescribeMacro{rootclass}
\DescribeMacro{rootskipend}
\DescribeMacro{rootskippre}
@@ -424,8 +421,6 @@ The options |rootskippre=|\textit{muskip}
and |rootskippost=|\textit{muskip}
define additional skip around the radical.
-\medskip
-\noindent
\DescribeMacro{rootclose}
The option |rootclose| adds a closing mark
to the end of the top bar of radicals:
@@ -510,8 +505,6 @@ one can use |\mathnormal|,
but this may be tedious if most capital Greek letters in a document
actually represent variables.
-\medskip
-\noindent
The feature |greekcaps| redefines the 11 capital Greek letters
|\Gamma|, |\Delta|, |\Theta|, |\Lambda|, |\Xi|, |\Pi|,
|\Sigma|, |\Upsilon|, |\Phi|, |\Psi| and |\Omega|
@@ -534,8 +527,6 @@ Lowercase Greek letters are fixed to the default math italic
font because (unfortunately) no upright counterparts exist
in the Compute Modern family of fonts.
-\medskip
-\noindent
The feature |greeklower| redefines the 23 lowercase Greek letters
|\alpha|, \ldots, |\omega|
as well as their 6 variants
@@ -571,8 +562,6 @@ One might argue that it is bad practice to have math symbols in titles
in the first place,
but this point of view perhaps does not apply universally.
-\medskip
-\noindent
\DescribeMacro{\bfseries}
\DescribeMacro{\mdseries}
The feature |autobold| overwrites the \LaTeX{} font commands
@@ -602,10 +591,6 @@ an alternative command name |\|\textit{cmd} for |\mathbold|, e.g.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Copyright}
-\begingroup
-\parskip1ex
-\parindent0pt
-
Copyright \copyright{} 2018 Niklas Beisert
This work may be distributed and/or modified under the
@@ -623,8 +608,6 @@ The Current Maintainer of this work is Niklas Beisert.
This work consists of the files |README.txt|, |mathfixs.ins| and |mathfixs.dtx|
as well as the derived files |mathfixs.sty|, |mafxsamp.tex| and |mathfixs.pdf|.
-\endgroup
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Files and Installation}
@@ -688,20 +671,28 @@ offering a more advanced implementation.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\subsection{Feature Suggestions}
-%\label{sec:suggestions}
%
%The following is a list of features which may be useful for future
%versions of this package:
%%
%\begin{itemize}
%\item
-%...
+% redefine macros |\Re|, |\Im|, |\mod|
+% complete macros for trigonometric functions?
%\end{itemize}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{Revision History}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\paragraph{v1.01:} 2018/12/30
+
+\begin{itemize}
+\item
+fix for |\vfrac| in aligned math
+\end{itemize}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\paragraph{v1.0:} 2018/01/17
\begin{itemize}
@@ -715,8 +706,6 @@ first version published on CTAN
\appendix
\settowidth\MacroIndent{\rmfamily\scriptsize 000\ }
-\parskip1ex
-\parindent0pt
\DocInput{mathfixs.dtx}
@@ -727,7 +716,6 @@ first version published on CTAN
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Sample File}
-% \label{sec:sample}
%\iffalse
%<*sample>
%\fi
@@ -923,7 +911,6 @@ aG\alpha\Gamma
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Implementation}
-% \label{sec:implementation}
%\iffalse
%<*package>
%\fi
@@ -1080,7 +1067,7 @@ aG\alpha\Gamma
% Define a vulgar representation of a rational number, e.g.: $^1\!/\!_2$.
% Automatically switch to math mode if in text mode:
% \begin{macrocode}
-\newcommand{\mafx@vfrac}[2]{\ifmmode%
+\DeclareRobustCommand{\mafx@vfrac}[2]{\ifmmode%
\mafx@vfrac@class{\textstyle%
^{#1}\mkern-\mafx@vfrac@preskip/\mkern-\mafx@vfrac@postskip_{#2}}%
\else$\mafx@vfrac{#1}{#2}$\fi}
diff --git a/Master/texmf-dist/tex/latex/mathfixs/mathfixs.sty b/Master/texmf-dist/tex/latex/mathfixs/mathfixs.sty
index b41b5734d74..e59dd4b8f07 100644
--- a/Master/texmf-dist/tex/latex/mathfixs/mathfixs.sty
+++ b/Master/texmf-dist/tex/latex/mathfixs/mathfixs.sty
@@ -17,7 +17,7 @@
%% version 2005/12/01 or later.
%%
\NeedsTeXFormat{LaTeX2e}[1996/12/01]
-\ProvidesPackage{mathfixs}[2018/01/17 v1.0 various fixes for math mode]
+\ProvidesPackage{mathfixs}[2018/12/30 v1.01 various fixes for math mode]
\RequirePackage{keyval}
@@ -72,7 +72,7 @@
\def\mafx@vfrac@class{\mathinner}
\def\mafx@vfrac@preskip{\thinmuskip}
\def\mafx@vfrac@postskip{0.6667\thinmuskip}
-\newcommand{\mafx@vfrac}[2]{\ifmmode%
+\DeclareRobustCommand{\mafx@vfrac}[2]{\ifmmode%
\mafx@vfrac@class{\textstyle%
^{#1}\mkern-\mafx@vfrac@preskip/\mkern-\mafx@vfrac@postskip_{#2}}%
\else$\mafx@vfrac{#1}{#2}$\fi}