graphics.sty
author Christian Urban <christian.urban@kcl.ac.uk>
Sat, 16 May 2020 17:18:43 +0100
changeset 724 61a936be50c4
parent 551 bd551ede2be6
child 743 6acabeecdf75
permissions -rw-r--r--
test
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
242
35104ee14f87 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
\usepackage{tikz}
35104ee14f87 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\usepackage{pgf}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
     3
\usetikzlibrary{positioning}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
     4
\usetikzlibrary{calc}
264
4deef8ac5d72 uodated hws
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 253
diff changeset
     5
\usetikzlibrary{automata}
265
332fbe9c91ab added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 264
diff changeset
     6
\usetikzlibrary{arrows}
332fbe9c91ab added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 264
diff changeset
     7
\usetikzlibrary{backgrounds}
332fbe9c91ab added slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 264
diff changeset
     8
\usetikzlibrary{fit}
372
d6af4b1239de updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 368
diff changeset
     9
\usepackage{tikz-qtree}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    10
\usepackage{graphicx} 
253
75c469893514 added coursework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 252
diff changeset
    11
\usepackage{pgfplots}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    12
551
bd551ede2be6 updated
Christian Urban <urbanc@in.tum.de>
parents: 399
diff changeset
    13
\pgfplotsset{compat=1.15}
368
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 265
diff changeset
    14
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    15
\newenvironment{bubble}[1][]{%
368
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 265
diff changeset
    16
\addtolength{\leftmargini}{4mm}%
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 265
diff changeset
    17
\begin{tikzpicture}[baseline=(current bounding box.north)]%
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    18
\draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]% 
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    19
\bgroup\begin{minipage}{#1}\raggedright{}}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    20
{\end{minipage}\egroup;%
368
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 265
diff changeset
    21
\end{tikzpicture}\bigskip}