problemi con un codice framemethod

  • Creatore
    Topic
  • #85346
    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

Visualizzazione 3 filoni di risposte
  • Autore
    Risposte
    • #85347
      Up
      0
      Down
      ::

      Noisemaker” post=84763buona 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

      Che cos’è?

      Ciao
      Tommaso

    • #85348
      Up
      0
      Down
      ::


      scusa ma non riesco a scrivere bene il codice

    • #85349
      Up
      0
      Down
      ::


      questo è il codice

    • #85350
      Up
      0
      Down
      ::

      Noisemaker” post=84763buona sera; spero qualcuno riesca ad aiutarmi:
      non riesco a far venire il seguente codice;

      `\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`

      Be’, non si capisce che cosa tu voglia; e il codice è incompleto, quindi è difficile anche tirare a indovinare.

      Ciao
      Enrico

Visualizzazione 3 filoni di risposte
  • Devi essere connesso per rispondere a questo topic.

Go to top