From 9c8cdbef97cf460d83a73f6027b9711f30e227b0 Mon Sep 17 00:00:00 2001 From: EthanDeng Date: Thu, 6 Jun 2019 13:12:50 +0800 Subject: [PATCH] fix linewidth --- elegantbook.cls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/elegantbook.cls b/elegantbook.cls index d594211..7c2624c 100644 --- a/elegantbook.cls +++ b/elegantbook.cls @@ -406,21 +406,21 @@ colframe=main, colback=main!5, colbacktitle=main, - overlay unbroken and last={\node[anchor=south east, outer sep=6pt] at (\textwidth-width,0) {\textcolor{main}{$\clubsuit$}}; } + overlay unbroken and last={\node[anchor=south east, outer sep=0pt] at (\linewidth-width,0) {\textcolor{main}{$\clubsuit$}}; } }, thmstyle/.style={ common, colframe=second, colback=second!5, colbacktitle=second, - overlay unbroken and last={\node[anchor=south east, outer sep=6pt] at (\textwidth-width,0) {\textcolor{second}{$\heartsuit$}}; } + overlay unbroken and last={\node[anchor=south east, outer sep=0pt] at (\linewidth-width,0) {\textcolor{second}{$\heartsuit$}}; } }, propstyle/.style={ common, colframe=third, colback=third!5, colbacktitle=third, - overlay unbroken and last={\node[anchor=south east, outer sep=6pt] at (\textwidth-width,0) {\textcolor{third}{$\spadesuit$}}; } + overlay unbroken and last={\node[anchor=south east, outer sep=0pt] at (\linewidth-width,0) {\textcolor{third}{$\spadesuit$}}; } }, }