author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Thu, 15 Dec 2016 16:11:05 +0000 | |
changeset 502 | 66d2bc189b88 |
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}