32
|
1 |
\usepackage{tikz}
|
|
2 |
\usepackage{pgf}
|
|
3 |
\usetikzlibrary{positioning}
|
|
4 |
\usetikzlibrary{calc}
|
|
5 |
\usetikzlibrary{automata}
|
|
6 |
\usetikzlibrary{arrows}
|
|
7 |
\usetikzlibrary{backgrounds}
|
|
8 |
\usetikzlibrary{fit}
|
|
9 |
\usepackage{tikz-qtree}
|
|
10 |
\usepackage{graphicx}
|
|
11 |
\usepackage{pgfplots}
|
|
12 |
|
|
13 |
\pgfplotsset{compat=1.11}
|
|
14 |
|
|
15 |
\newenvironment{bubble}[1][]{%
|
|
16 |
\addtolength{\leftmargini}{4mm}%
|
|
17 |
\begin{tikzpicture}[baseline=(current bounding box.north)]%
|
|
18 |
\draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]%
|
|
19 |
\bgroup\begin{minipage}{#1}\raggedright{}}
|
|
20 |
{\end{minipage}\egroup;%
|
|
21 |
\end{tikzpicture}\bigskip}
|