0

enter image description here

I was wondering if anyone would be willing to provide a code to replicate the attached image in TeX. It is simply a blue text box with rounded edges and a dotted (rather than dashed) line between the heading (I don't mind which font this is in) and a paragraph of extra information. The width of the box should be the same as the width of each line of text and currently I'm working in a document set on A4 Paper with left and right margins both at -0.5 cm, the top and bottom margins being 2 cm.

1
  • 1
    Welcome to TeX SX! You should take a look at the tcolorbox package documentation.
    – Bernard
    Commented Oct 6, 2016 at 20:32

1 Answer 1

1
\documentclass{book}
\usepackage{xcolor}
\usepackage{tcolorbox}


\begin{document}

\begin{tcolorbox}[colback=white, colframe=blue]
bla
\tcblower
blub
\end{tcolorbox}

\end{document}

enter image description here

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .