[RISOLTO] Re: Teoremi senza numerazione, ma con testo, dopo “Teorema”

#71927
Up
0
Down
::


È possibile modificare il codice per eliminare quel numero dopo il nome del teorema?
Io davvero non ci arrivo a capire come fare 🙂

Grazie per i suggerimenti.[/quote]

`
\newtheorem{thm}{Teorema} % per quelli standard
\newtheorem*{namedthm*}[thm]{\namedthmname}
\newenvironment{namedthm}[1]
{\newcommand\namedthmname{#1}\begin{namedthm*}}
{\end{namedthm*}}
`
Ciao
Enrico[/quote]

Bisogna togliere [thm] dalla definizione di namedthm*
`
\newtheorem{thm}{Teorema} % per quelli standard
\newtheorem*{namedthm*}{\namedthmname}
\newenvironment{namedthm}[1]
{\newcommand\namedthmname{#1}\begin{namedthm*}}
{\end{namedthm*}}
`

Andrea

Go to top