From 531532c837c00e3805e60e84eef0ffb5b7b9b714 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 35a85b7..081a2de 100644 --- a/elegantbook.cls +++ b/elegantbook.cls @@ -411,21 +411,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$}}; } }, }