graphics.sty
author Christian Urban <christian.urban@kcl.ac.uk>
Thu, 16 Apr 2020 19:15:46 +0100
changeset 721 e3c64f22dd31
parent 551 bd551ede2be6
child 743 6acabeecdf75
permissions -rw-r--r--
added slides from Rochester

\usepackage{tikz}
\usepackage{pgf}
\usetikzlibrary{positioning}
\usetikzlibrary{calc}
\usetikzlibrary{automata}
\usetikzlibrary{arrows}
\usetikzlibrary{backgrounds}
\usetikzlibrary{fit}
\usepackage{tikz-qtree}
\usepackage{graphicx} 
\usepackage{pgfplots}

\pgfplotsset{compat=1.15}

\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}