I would like to create a box so that the summary is inside, the detail of the box is that it has a detail in the lower right corner.
Asked
Active
Viewed 2,336 times
1
1 Answers
4
I focus here on the box, which I almost entirely stole from this nice answer.
\documentclass{article}
\usepackage{lipsum}
\usepackage[most]{tcolorbox}
\newtcolorbox{WeMissChristian}[1][]{enhanced,
before skip=2mm,after skip=3mm,
boxrule=0.4pt,left=5mm,right=2mm,top=1mm,bottom=1mm,
colback=yellow!50,
colframe=yellow!20!black,
sharp corners,rounded corners=southeast,arc is angular,arc=3mm,
#1}
\begin{document}
\begin{WeMissChristian}
\subsubsection*{Abstract}
\lipsum[1]
\paragraph{key words:} hibernation, black forest, ducks
\end{WeMissChristian}
\end{document}
Those of you who think an abstract needs to be typeset in a dedicated environment: please don't jump at me, I'm just a marmot. ;-)
-
-
How to create this "\newtcolorbox ..." in an .sty file and use it in .tex file. I want to leave the .tex file clean. – Itamar Barbosa de Lima Dec 09 '18 at 00:40


\begin{abstract}....\end{abstract}? If this doesn't help then please edit your question to give a minimal working example showing what you have tired because, at a minimum, it will help to know what document class you are using. A MWE should compile and be as small as possible to demonstrate your problem. – Dec 03 '18 at 23:57