For my book I'm using this code (I have 4 with similar aspect) to put the important definitions, notes, and other. Here there is my MWE:
\documentclass{article}
\usepackage[most]{tcolorbox}
\newtcolorbox{mybox}[1]{colback=teal!10,coltitle=black,colframe=teal!30,fonttitle=\bfseries,title=#1, arc=0mm}
\usepackage{lipsum}
\begin{document}
\begin{mybox}{An example}
\lipsum[1]
\end{mybox}
\end{document}
and the output is:
I would like use the package pifont
to put a general symbol as the picture below:
My problems are:
- Why is there a rounded corner if I have writen
arc=0mm
? I would like to have an edge and not a rounded edge; - I would like the thickness not to be there at all or to be reduced to a very small line;
- How to insert the desired symbol from
pifont
package in a lateral position as shown in the second figure, in a dynamic position, that is to say that you can move it either downwards or upwards.
tcolorbox
environments already. This must be a duplicate. There are also examples of such overlays etc, as well as there is a pretty explanation about the geometry options oftcolorbox
in the manual. Reading the manual does not hurt! – user31729 Feb 19 '19 at 18:17