Skip to content
Snippets Groups Projects
Verified Commit 7f454b53 authored by Malin Freeborn's avatar Malin Freeborn
Browse files

reformat tcbox code

parent 6a7cd60b
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
......@@ -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][]{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment