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