Skip to content

常见问题

zhzhwz edited this page Apr 18, 2023 · 4 revisions

目录

我的标题太长,内封面被分为了两页

ecnuthesis.cls 中将两处 \__ecnu_line_spread:n { 1.1 } 中的 1.1 酌情减小,比如改为 \__ecnu_line_spread:n { 1 }。这会减小标题的行间距,使得内封面的内容能被显示在一页内。

警告:虽然调整标题的字体大小也能令内封面的内容显示在一页以内,但根据教务的相关回复,不建议调整字体大小。

我想要加入中外文(中英文)对照的图名或者表名

使用 bicaption 宏包。该宏包已经在 ecnuthesis.cls 中被导入,因此可以直接使用,使用方法为 \bicaption{中文标题}{English Caption}。以下是使用该宏包的一个示例:

\begin{figure}[htb] 
  \centering 
  \includegraphics[width=.5\textwidth]{example-image} 
  \bicaption{组件分布图}{Component Deploment}\label{fig-1} 
\end{figure}

值得注意的是,\label 命令应该在 \bicaption 命令之后(但不必紧跟),才能被正确引用。

Clone this wiki locally