mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-06-01 18:15:17 +08:00
Compare commits
8 Commits
e6b9a3b7a7
...
v4.7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0ff65a8217 | ||
|
|
7bc9b22723 | ||
|
|
3fa8d4f7eb | ||
|
|
189c931099 | ||
|
|
47c8e13421 | ||
|
|
6ea9151a16 | ||
|
|
a03ddeb183 | ||
|
|
aca39291e8 |
@@ -8,7 +8,7 @@
|
|||||||
Do Check Before Upload
|
Do Check Before Upload
|
||||||
--]==========================================]--
|
--]==========================================]--
|
||||||
module = "elegantbook"
|
module = "elegantbook"
|
||||||
version = "2.60"
|
version = "4.7"
|
||||||
maintainer = "Ran Wang"
|
maintainer = "Ran Wang"
|
||||||
uploader = maintainer
|
uploader = maintainer
|
||||||
maintainid = "ElegantLaTeX"
|
maintainid = "ElegantLaTeX"
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
\author{Ethan Deng \& Liam Huang \& syvshc \& sikouhjw \& Osbert Wang}
|
\author{Ethan Deng \& Liam Huang \& syvshc \& sikouhjw \& Osbert Wang}
|
||||||
\institute{Elegant\LaTeX\ Program}
|
\institute{Elegant\LaTeX\ Program}
|
||||||
\date{2026/2/27}
|
\date{2026/5/1}
|
||||||
\version{4.6}
|
\version{4.7}
|
||||||
\bioinfo{自定义}{信息}
|
\bioinfo{自定义}{信息}
|
||||||
|
|
||||||
\extrainfo{\textcolor{red}{\bfseries 注意:本模板自2023年1月1日起停止维护。然而,鉴于用户群体庞大,自2026年起恢复维护并重新发布。}}
|
\extrainfo{\textcolor{red}{\bfseries 注意:本模板自2023年1月1日起停止维护。然而,鉴于用户群体庞大,自2026年起恢复维护并重新发布。}}
|
||||||
@@ -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
|
||||||
|
|||||||
@@ -5,8 +5,8 @@
|
|||||||
|
|
||||||
\author{Ethan Deng, Liam Huang, syvshc, sikouhjw \& Osbert Wang}
|
\author{Ethan Deng, Liam Huang, syvshc, sikouhjw \& Osbert Wang}
|
||||||
\institute{Elegant\LaTeX\ Program}
|
\institute{Elegant\LaTeX\ Program}
|
||||||
\date{Feb. 27, 2026}
|
\date{May 1, 2026}
|
||||||
\version{4.6}
|
\version{4.7}
|
||||||
\bioinfo{Bio}{Information}
|
\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.}}
|
\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.}}
|
||||||
|
|||||||
@@ -397,7 +397,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%% 章节设置
|
%% 章节设置
|
||||||
\RequirePackage[center,pagestyles]{titlesec}
|
\RequirePackage[center]{titlesec}
|
||||||
\RequirePackage[title,titletoc,header]{appendix}
|
\RequirePackage[title,titletoc,header]{appendix}
|
||||||
|
|
||||||
|
|
||||||
@@ -1273,7 +1273,7 @@
|
|||||||
% \renewcommand{\headrule}{}
|
% \renewcommand{\headrule}{}
|
||||||
\fancypagestyle{plain}{\renewcommand{\headrulewidth}{0pt}\fancyhf{}\renewcommand{\headrule}{}}
|
\fancypagestyle{plain}{\renewcommand{\headrulewidth}{0pt}\fancyhf{}\renewcommand{\headrule}{}}
|
||||||
\renewcommand{\sectionmark}[1]{\markright{\thesection\, #1}{}}
|
\renewcommand{\sectionmark}[1]{\markright{\thesection\, #1}{}}
|
||||||
\renewcommand{\chaptermark}[1]{\markboth{\xchaptertitle\, #1}{}}
|
\renewcommand{\chaptermark}[1]{\markboth{\IfAppendix{\appendixname\;\thechapter\, #1}{\xchaptertitle\, #1}}{}}
|
||||||
|
|
||||||
|
|
||||||
\renewcommand*{\maketitle}{%
|
\renewcommand*{\maketitle}{%
|
||||||
@@ -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}
|
||||||
|
|||||||
Reference in New Issue
Block a user