From 343c1c958461a4119ca47476a90517149a6907a0 Mon Sep 17 00:00:00 2001 From: Alexara Wu Date: Sun, 2 Aug 2020 22:05:22 +0800 Subject: [PATCH] Fix underfull vbox --- texmf/tex/latex/sjtuthesis/sjtuthesis.cls | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/texmf/tex/latex/sjtuthesis/sjtuthesis.cls b/texmf/tex/latex/sjtuthesis/sjtuthesis.cls index 4333f683..f38718b4 100644 --- a/texmf/tex/latex/sjtuthesis/sjtuthesis.cls +++ b/texmf/tex/latex/sjtuthesis/sjtuthesis.cls @@ -798,6 +798,10 @@ \def\sjtu@thepage{} \def\sjtu@lastpageref{} \newif\ifsjtu@page@numbering \sjtu@page@numberingtrue +\AtEndOfClass{% + \sloppy + \raggedbottom +} \sjtu@patchcmd\cleardoublepage% {\newpage}{\thispagestyle{empty}\newpage} \sjtu@patchcmd\chapter% @@ -898,7 +902,6 @@ space = auto, autoindent = true, } -\AtEndOfClass{\sloppy} \setlist{nosep} \setlist*{leftmargin=*} \setlist[1]{labelindent=\parindent} @@ -1029,7 +1032,8 @@ } \DeclareCaptionOption{bi-second}[]{% \def\tablename{\sjtu@name@table@second} - \def\figurename{\sjtu@name@figure@second}} + \def\figurename{\sjtu@name@figure@second} +} \captionsetup[bi-second]{bi-second} \let\mathellipsis\cdots \AtBeginDocument{%