graphics.sty
changeset 333 cf02511469d6
parent 258 8cf5450bb2aa
child 426 6d13b8da019e
equal deleted inserted replaced
332:8eab185fb187 333:cf02511469d6
     4 \usetikzlibrary{calc}
     4 \usetikzlibrary{calc}
     5 \usepackage{graphicx} 
     5 \usepackage{graphicx} 
     6 \usepackage{pgfplots}
     6 \usepackage{pgfplots}
     7 
     7 
     8 \newenvironment{bubble}[1][]{%
     8 \newenvironment{bubble}[1][]{%
     9 \begin{tikzpicture}%
     9 \begin{tikzpicture}[baseline=(current bounding box.north)]%
    10 \draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]% 
    10 \draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]% 
    11 \bgroup\begin{minipage}{#1}\raggedright{}}
    11 \bgroup\begin{minipage}{#1}\raggedright{}}
    12 {\end{minipage}\egroup;%
    12 {\end{minipage}\egroup;%
    13 \end{tikzpicture}}
    13 \end{tikzpicture}}