Re: “bordare un teorema”

#73827
Up
0
Down
::

OldClaudio” post=73011 @cfiandra, non credo che mdframed serva allo scopo, o forse si? puoi confermarlo?

Dunque, non avevo mai provato in prima persona ad usare mdframed, ma avevo sfogliato la documentazione e mi sembra che sia proprio il pacchetto indicato. Ho realizzato l’esempio per riprodurre un filetto allineato a sinistra, ma sono onesto dicendo che qualche problemino ad usare il pacchetto l’ho avuto 😀 (nonostante carichi showexpl come richiesto dalla documentazione di questo esempio ricevo errore sulla linea in cui si imposta \global 😕 ).

Tornando all’esempio, ho adattato il codice per non avere il problema (basta impostare le opzioni desiderate nell’ambiente mdframed nello stesso modo con cui si fa con TikZ):

`
\documentclass{report}
\usepackage{showexpl}
\usepackage[framemethod=Tikz]{mdframed}

\newcommand\ExampleText{%
An \textit{inhomogeneous linear} differential equation
has the form
\begin{center}
L[v ] = f,
\end{center}\noindent
where $L$ is a linear differential operator, $v$ is
the dependent variable, and $f$ is a given non−zero
function of the independent variables alone.
}

\begin{document}

\begin{mdframed}[topline=false,rightline=false,bottomline=false,outerlinewidth=2pt]
\ExampleText
\end{mdframed}

\end{document}
`
si ottiene:

[attachment=294]Immagine_2012-05-17.jpg[/attachment]

Ciao
Claudio

Attachments:
You must be logged in to view attached files.

Go to top