graphics.sty
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 17 Dec 2022 12:42:49 +0000
changeset 455 557d18cce0f0
parent 32 45557ad18ea6
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
32
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     1
\usepackage{tikz}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     2
\usepackage{pgf}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     3
\usetikzlibrary{positioning}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     4
\usetikzlibrary{calc}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     5
\usetikzlibrary{automata}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     6
\usetikzlibrary{arrows}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     7
\usetikzlibrary{backgrounds}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     8
\usetikzlibrary{fit}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
     9
\usepackage{tikz-qtree}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    10
\usepackage{graphicx} 
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    11
\usepackage{pgfplots}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    12
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    13
\pgfplotsset{compat=1.11}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    14
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    15
\newenvironment{bubble}[1][]{%
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    16
\addtolength{\leftmargini}{4mm}%
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    17
\begin{tikzpicture}[baseline=(current bounding box.north)]%
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    18
\draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]% 
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    19
\bgroup\begin{minipage}{#1}\raggedright{}}
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    20
{\end{minipage}\egroup;%
45557ad18ea6 updated
Christian Urban <urbanc@in.tum.de>
parents:
diff changeset
    21
\end{tikzpicture}\bigskip}