config: Update math symbos

WARNING: This commit breaks build!
This commit is contained in:
AVAtarMod 2023-08-22 14:23:36 +03:00
parent 2f25ade43e
commit bd5bf142bf
Signed by: stud128245
GPG Key ID: 43198AE4D0774328

View File

@ -172,3 +172,60 @@
% ОФОРМЛЕНИЕ ТЕКСТА
\renewcommand{\baselinestretch}{1.5}
\MakeOuterQuote{"}
\makeatletter
\DeclareRobustCommand\vdots{%
\mathpalette\@vdots{}%
}
\newcommand*{\@vdots}[2]{%
% #1: math style
% #2: unused
\sbox0{$#1\cdotp\cdotp\cdotp\m@th$}%
\sbox2{$#1.\m@th$}%
\vbox{%
\dimen@=\wd0 %
\advance\dimen@ -3\ht2 %
\kern.5\dimen@
% remove side bearings
\dimen@=\wd2 %
\advance\dimen@ -\ht2 %
\dimen2=\wd0 %
\advance\dimen2 -\dimen@
\vbox to \dimen2{%
\offinterlineskip
\copy2 \vfill\copy2 \vfill\copy2 %
}%
}%
}
\DeclareRobustCommand\ddots{%
\mathinner{%
\mathpalette\@ddots{}%
\mkern\thinmuskip
}%
}
\newcommand*{\@ddots}[2]{%
% #1: math style
% #2: unused
\sbox0{$#1\cdotp\cdotp\cdotp\m@th$}%
\sbox2{$#1.\m@th$}%
\vbox{%
\dimen@=\wd0 %
\advance\dimen@ -3\ht2 %
\kern.5\dimen@
% remove side bearings
\dimen@=\wd2 %
\advance\dimen@ -\ht2 %
\dimen2=\wd0 %
\advance\dimen2 -\dimen@
\vbox to \dimen2{%
\offinterlineskip
\hbox{$#1\mathpunct{.}\m@th$}%
\vfill
\hbox{$#1\mathpunct{\kern\wd2}\mathpunct{.}\m@th$}%
\vfill
\hbox{$#1\mathpunct{\kern\wd2}\mathpunct{\kern\wd2}\mathpunct{.}\m@th$}%
}%
}%
}
\makeatother