author | Christian Urban <christian dot urban at kcl dot ac dot uk> |
Sun, 21 Sep 2014 17:40:04 +0100 | |
changeset 253 | 75c469893514 |
parent 252 | e8ef8f38ca84 |
child 264 | 4deef8ac5d72 |
permissions | -rw-r--r-- |
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} |
e8ef8f38ca84
added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
242
diff
changeset
|
5 |
\usepackage{graphicx} |
253
75c469893514
added coursework
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
252
diff
changeset
|
6 |
\usepackage{pgfplots} |
252
e8ef8f38ca84
added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
242
diff
changeset
|
7 |
|
e8ef8f38ca84
added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
242
diff
changeset
|
8 |
\newenvironment{bubble}[1][]{% |
e8ef8f38ca84
added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
242
diff
changeset
|
9 |
\begin{tikzpicture}% |
e8ef8f38ca84
added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
242
diff
changeset
|
10 |
\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
|
11 |
\bgroup\begin{minipage}{#1}\raggedright{}} |
e8ef8f38ca84
added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
242
diff
changeset
|
12 |
{\end{minipage}\egroup;% |
e8ef8f38ca84
added style files
Christian Urban <christian dot urban at kcl dot ac dot uk>
parents:
242
diff
changeset
|
13 |
\end{tikzpicture}} |