graphics.sty
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Tue, 10 Nov 2015 22:27:46 +0000
changeset 368 a9911966c0df
parent 265 332fbe9c91ab
child 372 d6af4b1239de
permissions -rw-r--r--
updated
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}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
     9
\usepackage{graphicx} 
253
75c469893514 added coursework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 252
diff changeset
    10
\usepackage{pgfplots}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    11
368
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 265
diff changeset
    12
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    13
\newenvironment{bubble}[1][]{%
368
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 265
diff changeset
    14
\addtolength{\leftmargini}{4mm}%
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 265
diff changeset
    15
\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
    16
\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
    17
\bgroup\begin{minipage}{#1}\raggedright{}}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    18
{\end{minipage}\egroup;%
368
a9911966c0df updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 265
diff changeset
    19
\end{tikzpicture}\bigskip}