diff --git a/CS.tex b/CS.tex index 4320bee153d6b7ece39aee601d8f006134daaf69..74b0926d2ba076c4054c8efa860de8c4e5f61f22 100644 --- a/CS.tex +++ b/CS.tex @@ -16,7 +16,10 @@ fonttitle=\bfseries\scshape, coltitle=black, colframe=\pageSideColor, - attach boxed title to top center={yshift=-0.25mm-\tcboxedtitleheight/2,yshifttext=-2mm-\tcboxedtitleheight/2}, + attach boxed title to top center={ + yshift=-0.25mm-\tcboxedtitleheight/2, + yshifttext=-2mm-\tcboxedtitleheight/2 + }, boxed title style={ frame code={ \path[draw=black, tcb fill frame] ([xshift=-4mm]frame.west) diff --git a/layout.sty b/layout.sty index dbbe698e5e2d83aa1f822c82bde22de4c97d7c2e..35347ee15f14408fd97c232d3235227b641ae3b2 100644 --- a/layout.sty +++ b/layout.sty @@ -631,23 +631,31 @@ bookmarks=true]% %%%%% TColorBox Basic Setup %%%%% -\tcbset{enhanced, -left=3pt, -right=3pt, -code={\rowcolors{2}{}{gray!10}}, -before upper={\parindent15pt}, -colframe=\pageSideColor, -fonttitle=\bfseries\scshape,attach boxed title to top center= -{yshift=-0.25mm-\tcboxedtitleheight/2,yshifttext=-2mm-\tcboxedtitleheight/2}, -boxed title style={ -frame code={ \path[draw=black, tcb fill frame] ([xshift=-4mm]frame.west) --- (frame.north west) -- (frame.north east) -- ([xshift=4mm]frame.east) --- (frame.south east) -- (frame.south west) -- cycle; }, -interior code={ \path[draw=black, tcb fill interior] ([xshift=-2mm]interior.west) --- (interior.north west) -- (interior.north east) --- ([xshift=2mm]interior.east) -- (interior.south east) -- (interior.south west) --- cycle;} -} +\tcbset{ + enhanced, + left=3pt, + right=3pt, + code={\rowcolors{2}{}{gray!10}}, + before upper={\parindent15pt}, + fonttitle=\bfseries\scshape, + coltitle=black, + attach boxed title to top center={ + yshift=-0.25mm-\tcboxedtitleheight/2, + yshifttext=-2mm-\tcboxedtitleheight/2 + }, + boxed title style={ + frame code={ + \path[draw=black, tcb fill frame] ([xshift=-4mm]frame.west) + -- (frame.north west) -- (frame.north east) -- ([xshift=4mm]frame.east) + -- (frame.south east) -- (frame.south west) -- cycle; + }, + interior code={ + \path[draw=black, tcb fill interior] ([xshift=-2mm]interior.west) + -- (interior.north west) -- (interior.north east) + -- ([xshift=2mm]interior.east) -- (interior.south east) -- (interior.south west) + -- cycle; + } + }, } \newtcolorbox{boxtext}[1][]{