graphics.sty
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 10 Nov 2015 22:27:46 +0000
changeset 368 a9911966c0df
parent 265 332fbe9c91ab
child 372 d6af4b1239de
permissions -rw-r--r--
updated

\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{positioning}
\usetikzlibrary{calc}
\usetikzlibrary{automata}
\usetikzlibrary{arrows}
\usetikzlibrary{backgrounds}
\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}