[latex3-commits] [git/LaTeX3-latex3-mathtools] master: cleanup (d620cad)
daleif
daleif at math.au.dk
Tue Mar 24 12:08:19 CET 2020
Repository : https://github.com/latex3/mathtools
On branch : master
Link : https://github.com/latex3/mathtools/commit/d620cad2cef25d4f26111142c6163fc54ed80dfa
>---------------------------------------------------------------
commit d620cad2cef25d4f26111142c6163fc54ed80dfa
Author: daleif <daleif at math.au.dk>
Date: Tue Mar 24 12:08:19 2020 +0100
cleanup
>---------------------------------------------------------------
d620cad2cef25d4f26111142c6163fc54ed80dfa
support/template.tex | 89 ++--------------------------------------------------
1 file changed, 3 insertions(+), 86 deletions(-)
diff --git a/support/template.tex b/support/template.tex
index ad98dcd..782d19d 100644
--- a/support/template.tex
+++ b/support/template.tex
@@ -10,7 +10,8 @@
\usepackage{xcolor}
\newcommand*\mybluebox[1]{\colorbox{blue!20}{\hspace{0.5em}#1\hspace{0.5em}}}
%\empheqset{box=\fbox}
-\empheqset{box=\mybluebox,left=L\Rightarrow,}
+%\empheqset{box=\mybluebox,left=L\Rightarrow,}
+\empheqset{box=\mybluebox,}
\MHInternalSyntaxOn
%\def\EQ_use_mathdisplay:{%
% \EQ_outerbox:{\fbox{\usebox{\EQ_mathdisplay_box}}}}
@@ -18,63 +19,12 @@
-
-
-% \makeatletter
-% \renewcommand*{\Gm at pageframes}{%
-% \vb at xt@\z@{%
-% \ifGm at showcrop
-% \vb at xt@\z@{\vskip-1\Gm at truedimen in\vskip\Gm at layoutvoffset%
-% \hb at xt@\z@{\hskip-1\Gm at truedimen in\hskip\Gm at layouthoffset%
-% \vb at xt@\Gm at layoutheight{%
-% \let\protect\relax
-% % \hb at xt@\Gm at layoutwidth{\Gm at cropmark(-1,1,-3,3)\hfil\Gm at cropmark(1,1,3,3)}%
-% \vfil
-% \hb at xt@\Gm at layoutwidth{\Gm at cropmark(-1,-1,-3,-3)\hfil\Gm at cropmark(1,-1,3,-3)}}%
-% \hss}%
-% \vss}%
-% \fi%
-% \ifGm at showframe
-% \if at twoside
-% \ifodd\count\z@
-% \let\@themargin\oddsidemargin
-% \else
-% \let\@themargin\evensidemargin
-% \fi
-% \fi
-% \moveright\@themargin%
-% \vb at xt@\z@{%
-% \vskip\topmargin\vb at xt@\z@{\vss\Gm at hrule}%
-% \vskip\headheight\vb at xt@\z@{\vss\Gm at hruled}%
-% \vskip\headsep\vb at xt@\z@{\vss\Gm at hrule}%
-% \@tempdima\textwidth
-% \advance\@tempdima by \marginparsep
-% \advance\@tempdima by \marginparwidth
-% \if at mparswitch
-% \ifodd\count\z@
-% \Gm at vrules@mpi
-% \else
-% \Gm at vrules@mpii
-% \fi
-% \else
-% \Gm at vrules@mpi
-% \fi
-% \vb at xt@\z@{\vss\Gm at hrule}%
-% \vskip\footskip\vb at xt@\z@{\vss\Gm at hruled}%
-% \vss}%
-% \fi%
-% }}%
-
-% \makeatother
-
-
-
\begin{document}
% just to make sure the settings in each class is the same (besides \displaywidth)
\leftmargini=25pt
\makeatletter
-\@mathmargin\leftmargini
+\@mathmargin=23pt
\makeatother
@@ -87,38 +37,5 @@
\input{sample}
\end{document}
-% some saved code
-
-\usepackage{tikz}
-\usetikzlibrary{calc}
-
-
-
-\MHInternalSyntaxOn
-
-\newcommand\dlfhook{%
- \ifdim\l_EQ_displaywidth_dim>\z@
- \ifnum\l_EQ_equationtype_int=3\else
- \ifnum\l_EQ_equationtype_int=4\else
- \rlap{\tikz[remember~picture]\coordinate(A) at (0,0);
- \begin{tikzpicture}[overlay,remember~picture]
- \node[text~width=4cm,anchor=west] at
- ($(A~-|~current~page.north~east)-(4.5cm,0)$) {%
- \footnotesize
- dispw:~\the\l_EQ_displaywidth_dim\\
- alignsep:~\the\alignsep@\\
- %\settowidth\@tempdimc{\widthof{\EQ_outerbox:{}}}
- %\the\@tempdimc%
- %eqnshift:~\the\eqnshift@
- tagshift:~\the\tagshift@\\
- % mathmargin:~\the\@mathmargin\\
- %\the\leftmargini
- %\the\l_EQ_equationtype_int
- \par
- };
- \end{tikzpicture}}
- \fi\fi
- \fi
-}
More information about the latex3-commits
mailing list.