From aee923aa75f7878362809902e1bb45df887f8035 Mon Sep 17 00:00:00 2001 From: Zeping Lee Date: Sat, 19 Jun 2021 23:52:23 +0800 Subject: [PATCH] Suppres warnings of example document --- data/chap04.tex | 2 +- testfiles/09-main-bachelor-en.tlg | 2 -- thuthesis.dtx | 4 ++-- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/data/chap04.tex b/data/chap04.tex index a7fcc143..b07ce4dc 100644 --- a/data/chap04.tex +++ b/data/chap04.tex @@ -47,7 +47,7 @@ \section{著者-出版年制} \thusetup{ cite-style = author-year, } -\begin{tabular}{l@{\quad$\Rightarrow$\quad}l} +\begin{tabular}{l@{\space$\Rightarrow$\space}l} \verb|\cite{zhangkun1994}| & \cite{zhangkun1994} \\ \verb|\citet{zhangkun1994}| & \citet{zhangkun1994} \\ \verb|\citep{zhangkun1994}| & \citep{zhangkun1994} \\ diff --git a/testfiles/09-main-bachelor-en.tlg b/testfiles/09-main-bachelor-en.tlg index 0eb48e7b..7b92573b 100644 --- a/testfiles/09-main-bachelor-en.tlg +++ b/testfiles/09-main-bachelor-en.tlg @@ -14072,8 +14072,6 @@ Overfull \hbox (13.46994pt too wide) in paragraph at lines 194--208 .\penalty 10000 .\glue(\parfillskip) 0.0 .\glue(\rightskip) 0.0 plus 1.0fil -LaTeX Warning: `h' float specifier changed to `ht'. -LaTeX Warning: `h' float specifier changed to `ht'. Completed box being shipped out [7] \vbox(722.98454+6.02255)x439.87962 .\hbox(0.0+0.0)x0.0 diff --git a/thuthesis.dtx b/thuthesis.dtx index c16cd4b7..351bb2bc 100644 --- a/thuthesis.dtx +++ b/thuthesis.dtx @@ -3368,8 +3368,8 @@ % % 图表浮动体的默认位置设为 |h|。 % \begin{macrocode} -\def\fps@figure{h} -\def\fps@table{h} +\def\fps@figure{htbp} +\def\fps@table{htbp} % \end{macrocode} % % 设置浮动对象和文字之间的距离