author | Christian Urban <urbanc@in.tum.de> |
Sat, 21 Jan 2017 00:39:23 +0000 | |
changeset 511 | 7cd139cfe901 |
parent 426 | 6d13b8da019e |
child 565 | d58f8e3e78a5 |
permissions | -rw-r--r-- |
\usepackage{tikz} \usepackage{pgf} \usetikzlibrary{positioning} \usetikzlibrary{calc} \usetikzlibrary{fit} \usepackage{graphicx} \usepackage{pgfplots} \newenvironment{bubble}[1][]{% \addtolength{\leftmargini}{4mm}% \begin{tikzpicture}[baseline=(current bounding box.north)]% \draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]% \bgroup\begin{minipage}{#1}\raggedright{}} {\end{minipage}\egroup;% \end{tikzpicture}\bigskip}