4 Commits

Author SHA1 Message Date
OsbertWang
47c8e13421 Merge pull request #252 from myhsia/master
Fixed the "microgap" between the image and the color line on the cover page
2026-03-06 20:19:56 +08:00
Mingyu Hsia
6ea9151a16 Update elegantbook.cls 2026-03-06 11:37:58 +08:00
Mingyu Hsia
a03ddeb183 Fixed the "microgap" between the image and the color line on the cover page 2026-03-06 11:09:34 +08:00
osbertwang
aca39291e8 修订字体描述 2026-03-01 22:06:31 +08:00
2 changed files with 3 additions and 3 deletions

View File

@@ -804,7 +804,7 @@ LaTeX Error:
\end{enumerate} \end{enumerate}
\subsection{方正字体选项} \subsection{方正字体选项}
由于使用 \lstinline{ctex} 宏包默认调用系统已有的字体,部分系统字体缺失严重,因此,用户希望能够使用其它字体,我们推荐使用方正字体。方正的{\songti 方正书宋}{\heiti 方正黑体}{\kaishu 方正楷体}{\fangsong 方正仿宋}四款字体均可免费试用,且可用于商业用途。用户可以自行从\href{http://www.foundertype.com/}{方正字体官网}下载此四款字体,在下载的时候请\textbf{务必}注意选择 GBK 字符集,也可以使用 \href{https://www.latexstudio.net/}{\LaTeX\ 工作室}提供的\href{https://pan.baidu.com/s/1BgbQM7LoinY7m8yeP25Y7Q}{方正字体提取码为njy9} 进行安装。安装时,{\kaishu Win 10 用户请右键选择为全部用户安装,否则会找不到字体。} 由于使用 \lstinline{ctex} 宏包默认调用系统已有的字体,部分系统字体缺失严重,因此,用户希望能够使用其它字体,我们推荐使用方正字体。方正的{\songti 方正书宋}{\heiti 方正黑体}{\kaishu 方正楷体}{\fangsong 方正仿宋}四款字体均可免费试用,且可用于商业用途。用户可以自行从\href{http://www.foundertype.com/}{方正字体官网}下载此四款字体,在下载的时候请\textbf{务必}注意选择 GBK 字符集。安装时,{\kaishu Windows 11 用户请右键选择为全部用户安装,否则会找不到字体。}
\begin{figure}[!htb] \begin{figure}[!htb]
\centering \centering

View File

@@ -1296,8 +1296,8 @@
\includegraphics[trim=0 26bp 0 26bp,clip=true, width=\linewidth]{example-image} \includegraphics[trim=0 26bp 0 26bp,clip=true, width=\linewidth]{example-image}
\fi \fi
}{\relax} }{\relax}
\setlength{\fboxsep}{0pt} \vskip-\baselineskip
\colorbox{coverlinecolor}{\makebox[\linewidth][c]{\shortstack[c]{\vspace{0.5in}}}} {\color{coverlinecolor}\hrule \@width \linewidth \@height .5in}
\vfill \vfill
\vskip-2ex \vskip-2ex
\hspace{2em} \hspace{2em}