6

I'm writing a thesis and would like to add a box with text at the beginning of each chapter summarising main points. At the moment I'm using framed with itemize within it, which looks okay and does the job, but I would like to make it look nicer.

At the moment it looks like that: https://i.stack.imgur.com/LdBiq.png But I would like something like this: https://i.stack.imgur.com/7C5Cd.png

I'm quite new to LaTeX and suspect framed may not be the right environment here, but I'm a bit lost. What is the best way to present styled text boxes that can be modified globally?

karlkoeller
  • 124,410
FLK
  • 63

1 Answers1

8

One option is to use the mdframed package:

\documentclass{article}
\usepackage[framemethod=tikz]{mdframed}
\usepackage{enumitem}
\usepackage{pifont}

\newlist{myitem}{itemize}{1}
\setlist[myitem,1]{label=\ding{118}}

\usetikzlibrary{shadows}
\newmdenv[
shadow=true,
frametitle=This chapter at glance...
]{mynote}

\begin{document}

\begin{mynote}
This chapter:
\begin{myitem}
\item First item.
\item Second item.
\item Third item.
\end{myitem}
\end{mynote}

\end{document}

enter image description here

The enumitem package was used to define a customized itemize-like environment with the desired symbol.

Gonzalo Medina
  • 505,128