|
@@ -1,5 +1,5 @@
|
1
|
|
-\newcommand*\MRTthesis@version{0.0.22}
|
2
|
|
-\newcommand*\MRTthesis@date{2019-12-16}
|
|
1
|
+\newcommand*\MRTthesis@version{0.0.23}
|
|
2
|
+\newcommand*\MRTthesis@date{2020-03-02}
|
3
|
3
|
|
4
|
4
|
\NeedsTeXFormat{LaTeX2e}
|
5
|
5
|
|
|
@@ -593,7 +593,7 @@
|
593
|
593
|
%%=============================================================================
|
594
|
594
|
\setlength{\arrayrulewidth}{0.6pt}
|
595
|
595
|
\setlength{\parindent}{13pt} % default 15pt
|
596
|
|
-\setlength{\parskip}{6pt plus 6pt minus 1pt}
|
|
596
|
+\setlength{\parskip}{6pt plus .3pt minus .15pt}
|
597
|
597
|
\setlength{\mathindent}{10.45mm}
|
598
|
598
|
\AtBeginDocument
|
599
|
599
|
{
|
|
@@ -604,6 +604,42 @@
|
604
|
604
|
}
|
605
|
605
|
\setlist[itemize]{itemsep=-0pt, parsep=2pt plus .2pt minus .1pt}
|
606
|
606
|
\setlist[enumerate]{itemsep=-0pt, parsep=2pt plus .2pt minus .1pt}
|
|
607
|
+% we need to fix an issue that setspace introduces, making the display skips
|
|
608
|
+% unstretchable. Code from https://tex.stackexchange.com/a/523552/117050
|
|
609
|
+\MRTutil@def\MRTthesis@addstretchshrink#1%
|
|
610
|
+ {%
|
|
611
|
+ \if\relax\displayskipstretch\relax
|
|
612
|
+ % there is no factor, don't add plus and minus
|
|
613
|
+ \else
|
|
614
|
+ plus \displayskipstretch\gluestretch#1
|
|
615
|
+ minus \displayskipstretch\glueshrink#1
|
|
616
|
+ \fi
|
|
617
|
+ }
|
|
618
|
+\AtBeginDocument
|
|
619
|
+ {%
|
|
620
|
+ \begingroup
|
|
621
|
+ \def\fix#1\abovedisplayskip#2\displayskipstretch\belowdisplayshortskip#3\fix
|
|
622
|
+ {%
|
|
623
|
+ \endgroup
|
|
624
|
+ \everydisplay
|
|
625
|
+ {%
|
|
626
|
+ #1#3%
|
|
627
|
+ \abovedisplayskip=%
|
|
628
|
+ \displayskipstretch \abovedisplayskip
|
|
629
|
+ \MRTthesis@addstretchshrink\abovedisplayskip
|
|
630
|
+ \belowdisplayskip=%
|
|
631
|
+ \displayskipstretch \belowdisplayskip
|
|
632
|
+ \MRTthesis@addstretchshrink\belowdisplayskip
|
|
633
|
+ \abovedisplayshortskip=%
|
|
634
|
+ \displayskipstretch \abovedisplayshortskip
|
|
635
|
+ \MRTthesis@addstretchshrink\abovedisplayshortskip
|
|
636
|
+ \belowdisplayshortskip=%
|
|
637
|
+ \displayskipstretch \belowdisplayshortskip
|
|
638
|
+ \MRTthesis@addstretchshrink\belowdisplayshortskip
|
|
639
|
+ }%
|
|
640
|
+ }%
|
|
641
|
+ \expandafter\fix\the\everydisplay\fix
|
|
642
|
+ }
|
607
|
643
|
%%===========================================================================<<
|
608
|
644
|
|
609
|
645
|
%% sectioning commands >>=
|