3 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

View File

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