Commit 4a4ebe56 authored by Turnhout, M.C. van's avatar Turnhout, M.C. van
Browse files

and fix vertical spacing in align-mode

parent 894463d0
......@@ -3,7 +3,7 @@
\ProvidesPackage{misomath}[2013/07/18 v1.0]
%\RequirePackage{textcomp} % for \textcelsius
%\RequirePackage[Euler]{upgreek} % to make upright greek letters
\RequirePackage{stackengine} % for undertilde
%\RequirePackage{stackengine} % for undertilde
\RequirePackage{gensymb} % to provide the \micro command with text-upmu
\RequirePackage[tight,nice]{units}
\RequirePackage[intlimits]{empheq}
......@@ -13,7 +13,7 @@
\RequirePackage{mathtools}
\DeclarePairedDelimiter\abs{\lvert}{\rvert}
\DeclarePairedDelimiter\absv{\|}{\|}
\RequirePackage{undertilde}
\RequirePackage{mundertilde}
\DeclareOption{isomath}{%
% for typesetting nth-order tensors: \ten[n]{A}
......
%%
%% This was file `undertilde.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% undertilde.dtx (with options: `package')
%%
%% IMPORTANT NOTICE:
%%
%% For the copyright see the source file.
%%
%% Any modified versions of this file must be renamed
%% with new filenames distinct from undertilde.sty.
%%
%% For distribution of the original source see the terms
%% for copying and modification in the file undertilde.dtx.
%%
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%%
%%
%% updated to mundertilde.sty to provide proper vertical spacing in align-environments
%% copied from: https://tex.stackexchange.com/questions/62747/undertilde-package-provides-inconsistent-vertical-spacing-between-nucleus-and-ac
\ProvidesPackage{mundertilde}[2019/03/14 v1.0 Tilde under a math object]
\newlength\knuthian@fdfive
\def\mathpal@save#1{\let\was@math@style=#1\relax}
\def\utilde#1{\mathpalette\mathpal@save
{\setbox124=\hbox{$\was@math@style#1$}%
\setbox125=\hbox{$\fam=3\global\knuthian@fdfive=\fontdimen5\font$}
\setbox125=\hbox{$\widetilde{\vrule height 0pt depth 0pt width \wd124}$}%
% \baselineskip=1pt\relax
% new
\baselineskip=\z@\relax
\lineskiplimit=\z@\relax
\lineskip=1pt\relax
% /new
\vtop{\copy124\copy125\vskip -\knuthian@fdfive}}}
\endinput
%%
%% End of file `undertilde.sty'.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment