7 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
4 changed files with 9 additions and 9 deletions

View File

@@ -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"

View File

@@ -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年起恢复维护并重新发布。}}

View File

@@ -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.}}

View File

@@ -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}