modify footnote and table

This commit is contained in:
EthanDeng
2019-06-26 22:23:08 +08:00
parent 1767742375
commit d88dce43c8

View File

@@ -85,7 +85,7 @@
\PassOptionsToPackage{no-math}{fontspec}
\ifdefstring{\ELEGANT@lang}{cn}{
\RequirePackage[UTF8, scheme=plain]{ctex}
\RequirePackage[UTF8, scheme=plain, space]{ctex}
}
\ifxetex
@@ -153,6 +153,17 @@
\AtBeginEnvironment{verbatim}{\microtypesetup{activate=false}}
\AtBeginDocument{
\setlength{\abovedisplayskip}{3pt}
\setlength{\belowdisplayskip}{3pt}
\RequirePackage[flushmargin]{footmisc}
\setlength{\footnotesep}{12pt}
}
\BeforeBeginEnvironment{tabular}{\small}
\AfterEndEnvironment{tabular}{}
\def\IfEmpty#1{%
\edef\1{\the#1}