graphics.sty
author Christian Urban <christian dot urban at kcl dot ac dot uk>
Sun, 26 Oct 2014 23:42:47 +0000
changeset 485 0b897cc6b972
parent 426 6d13b8da019e
child 565 d58f8e3e78a5
permissions -rw-r--r--
updated
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     1
\usepackage{tikz}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     2
\usepackage{pgf}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     3
\usetikzlibrary{positioning}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     4
\usetikzlibrary{calc}
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 333
diff changeset
     5
\usetikzlibrary{fit}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     6
\usepackage{graphicx} 
258
8cf5450bb2aa added plot
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 160
diff changeset
     7
\usepackage{pgfplots}
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
     8
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 333
diff changeset
     9
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    10
\newenvironment{bubble}[1][]{%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 333
diff changeset
    11
\addtolength{\leftmargini}{4mm}%
333
cf02511469d6 updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 258
diff changeset
    12
\begin{tikzpicture}[baseline=(current bounding box.north)]%
160
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    13
\draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]% 
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    14
\bgroup\begin{minipage}{#1}\raggedright{}}
4cbd6ca025e6 updated slides
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
diff changeset
    15
{\end{minipage}\egroup;%
426
6d13b8da019e updated
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents: 333
diff changeset
    16
\end{tikzpicture}\bigskip}