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