8 Commits

Author SHA1 Message Date
osbertwang
0ff65a8217 v4.7 2026-05-01 20:12:10 +08:00
osbertwang
7bc9b22723 new version 2026-05-01 20:05:05 +08:00
ranwang
3fa8d4f7eb titlesec 删除 pagestyles 选项 2026-04-22 09:28:57 +08:00
ranwang
189c931099 issue 256 2026-04-21 14:27:42 +08:00
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
4 changed files with 10 additions and 10 deletions

View File

@@ -8,7 +8,7 @@
Do Check Before Upload
--]==========================================]--
module = "elegantbook"
version = "2.60"
version = "4.7"
maintainer = "Ran Wang"
uploader = maintainer
maintainid = "ElegantLaTeX"

View File

@@ -5,8 +5,8 @@
\author{Ethan Deng \& Liam Huang \& syvshc \& sikouhjw \& Osbert Wang}
\institute{Elegant\LaTeX\ Program}
\date{2026/2/27}
\version{4.6}
\date{2026/5/1}
\version{4.7}
\bioinfo{自定义}{信息}
\extrainfo{\textcolor{red}{\bfseries 注意本模板自2023年1月1日起停止维护。然而鉴于用户群体庞大自2026年起恢复维护并重新发布。}}
@@ -804,7 +804,7 @@ LaTeX Error:
\end{enumerate}
\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]
\centering

View File

@@ -5,8 +5,8 @@
\author{Ethan Deng, Liam Huang, syvshc, sikouhjw \& Osbert Wang}
\institute{Elegant\LaTeX\ Program}
\date{Feb. 27, 2026}
\version{4.6}
\date{May 1, 2026}
\version{4.7}
\bioinfo{Bio}{Information}
\extrainfo{\textcolor{red}{\bfseries Caution: This template will no longer be maintained since January 1st, 2023. However, due to its large user base, maintenance has resumed and the template has been re-released as of 2026.}}

View File

@@ -397,7 +397,7 @@
%%
\RequirePackage[center,pagestyles]{titlesec}
\RequirePackage[center]{titlesec}
\RequirePackage[title,titletoc,header]{appendix}
@@ -1273,7 +1273,7 @@
% \renewcommand{\headrule}{}
\fancypagestyle{plain}{\renewcommand{\headrulewidth}{0pt}\fancyhf{}\renewcommand{\headrule}{}}
\renewcommand{\sectionmark}[1]{\markright{\thesection\, #1}{}}
\renewcommand{\chaptermark}[1]{\markboth{\xchaptertitle\, #1}{}}
\renewcommand{\chaptermark}[1]{\markboth{\IfAppendix{\appendixname\;\thechapter\, #1}{\xchaptertitle\, #1}}{}}
\renewcommand*{\maketitle}{%
@@ -1296,8 +1296,8 @@
\includegraphics[trim=0 26bp 0 26bp,clip=true, width=\linewidth]{example-image}
\fi
}{\relax}
\setlength{\fboxsep}{0pt}
\colorbox{coverlinecolor}{\makebox[\linewidth][c]{\shortstack[c]{\vspace{0.5in}}}}
\vskip-\baselineskip
{\color{coverlinecolor}\hrule \@width \linewidth \@height .5in}
\vfill
\vskip-2ex
\hspace{2em}