graphics.sty
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sun, 05 Oct 2014 23:56:18 +0100
changeset 264 4deef8ac5d72
parent 253 75c469893514
child 265 332fbe9c91ab
permissions -rw-r--r--
uodated hws
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}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
     6
\usepackage{graphicx} 
253
75c469893514 added coursework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 252
diff changeset
     7
\usepackage{pgfplots}
252
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
     8
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
     9
\newenvironment{bubble}[1][]{%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    10
\begin{tikzpicture}%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    11
\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
    12
\bgroup\begin{minipage}{#1}\raggedright{}}
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    13
{\end{minipage}\egroup;%
e8ef8f38ca84 added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 242
diff changeset
    14
\end{tikzpicture}}