problemi con un codice framemethod

  • Creatore
    Topic
  • #85345
    Up
    0
    Down
    ::


    buona sera; spero qualcuno riesca ad aiutarmi:
    non riesco a far venire il seguente codice;

    [code]\newcounter{theo}[section]
    \newenvironment{theo}[1][]{%
    \stepcounter{theo}%
    \ifstrempty{#1}%
    {\mdfsetup{%
    frametitle={%
    \tikz[baseline=(current bounding box.east),outer sep=0pt]
    \node[anchor=east,rectangle,fill=blue!20]
    {\strut Theorem~\thetheo};}}
    }%
    {\mdfsetup{%
    frametitle={%
    \tikz[baseline=(current bounding box.east),outer sep=0pt]
    \node[anchor=east,rectangle,fill=blue!20]
    {\strut Theorem~\thetheo:~#1};}}%
    }%
    \mdfsetup{innertopmargin=10pt,linecolor=blue!20,%
    linewidth=2pt,topline=true,
    frametitleaboveskip=\dimexpr

  • Devi essere connesso per rispondere a questo topic.

Go to top