[latex3-commits] [git/LaTeX3-latex3-mathtools] master: changed wording and moved last example (8a7495a)
daleif
daleif at math.au.dk
Sun Mar 15 17:20:04 CET 2020
Repository : https://github.com/latex3/mathtools
On branch : master
Link : https://github.com/latex3/mathtools/commit/8a7495a2888483aca8f759531be1f1030ee52860
>---------------------------------------------------------------
commit 8a7495a2888483aca8f759531be1f1030ee52860
Author: daleif <daleif at math.au.dk>
Date: Sun Mar 15 17:20:04 2020 +0100
changed wording and moved last example
>---------------------------------------------------------------
8a7495a2888483aca8f759531be1f1030ee52860
mathtools.dtx | 32 +++++++++++++++++---------------
1 file changed, 17 insertions(+), 15 deletions(-)
diff --git a/mathtools.dtx b/mathtools.dtx
index d736e03..16b1f77 100644
--- a/mathtools.dtx
+++ b/mathtools.dtx
@@ -2741,21 +2741,18 @@ colorlinks,
% \begin{codesyntax}
% \SpecialUsageIndex{\xmathstrut}\cs{xmathstrut}\oarg{depth increase}\marg{increase}
% \end{codesyntax}
-% \FeatureRequest{Frank Mittelbach}{2020}
-% In typography we use \emph{struts} to ensure specific line
-% spacing. In text we have the \cs{strut} and in math
-% \cs{mathstrut}. Both have no width, but equals the height and depth
-% of an »(« from the current text/math font and size. In math we
-% often need to make minute adjustments in macro definitiones
-% etc. The \emph{extended} math strut \cs{xmathstrut} allows to
-% \emph{increase} the math strut in various ways. Here the
-% \meta{increase} is a decimal number, say, \verb|0.1|. If the number
-% is \emph{negative}, it will be a \emph{decrease} in size.
-%
-% Using \verb|\xmathstrut{A}=\xmathstrut[A]{A}| the strut will be
-% symmetric (like the original strut = \verb|\xmathstrut{0}|). If the
-% optional argument is given as well and they are not equal the strut
-% will no longer be symmetric.
+% \FeatureRequest{Frank Mittelbach}{2020} In typography we use
+% \emph{struts} to ensure specific line spacing. In text we have the
+% \cs{strut} and in math \cs{mathstrut}. Both have no width, but
+% equals the height and depth of an »(« from the current text/math
+% font and size. In math we often need to make minute adjustments in
+% macro definitiones etc. The \emph{extended} math strut
+% \cs{xmathstrut} allows to \emph{increase} the math strut in various
+% ways. Here the \meta{increase} is a decimal number (mosty often a
+% fraction between 0 and 1), say, \verb|0.1|. If the number is
+% \emph{negative}, it will be a \emph{decrease} in size. The change
+% will be an amount proportional to the total height (height plus
+% depth) of the original math strut in the current size.
%
% Example:
% \[
@@ -2791,6 +2788,11 @@ colorlinks,
% (including its implementation) in the
% first place.}
%
+% Using \verb|\xmathstrut{A} = \xmathstrut[A]{A}| the strut will be
+% symmetric (like the original strut \verb|\mathstrut| =
+% \verb|\xmathstrut{0}|). If the optional argument is given as well
+% \emph{and they are not equal} the strut will \emph{no longer} be
+% symmetric.
% As for an example of how the optional argument applies, we make the
% strut visible:
% \newcommand\vfb[1]{\begingroup\fboxsep=0pt\boxed{\,#1\,}\endgroup}
More information about the latex3-commits
mailing list.