graphics.sty
changeset 368 a9911966c0df
parent 265 332fbe9c91ab
child 372 d6af4b1239de
equal deleted inserted replaced
367:04127a5aad23 368:a9911966c0df
     7 \usetikzlibrary{backgrounds}
     7 \usetikzlibrary{backgrounds}
     8 \usetikzlibrary{fit}
     8 \usetikzlibrary{fit}
     9 \usepackage{graphicx} 
     9 \usepackage{graphicx} 
    10 \usepackage{pgfplots}
    10 \usepackage{pgfplots}
    11 
    11 
       
    12 
    12 \newenvironment{bubble}[1][]{%
    13 \newenvironment{bubble}[1][]{%
    13 \begin{tikzpicture}%
    14 \addtolength{\leftmargini}{4mm}%
       
    15 \begin{tikzpicture}[baseline=(current bounding box.north)]%
    14 \draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]% 
    16 \draw (0,0) node[inner sep=2mm,fill=cream,ultra thick,draw=red,rounded corners=2mm]% 
    15 \bgroup\begin{minipage}{#1}\raggedright{}}
    17 \bgroup\begin{minipage}{#1}\raggedright{}}
    16 {\end{minipage}\egroup;%
    18 {\end{minipage}\egroup;%
    17 \end{tikzpicture}}
    19 \end{tikzpicture}\bigskip}