Generalntheorem with framed option without numbering?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
User avatar
Bozack
Posts: 117
Joined: Wed Feb 06, 2008 4:21 pm

ntheorem with framed option without numbering?

Post by Bozack »

Hi,

I use the ntheorem package with the framed option to define a theorem-environment as follows:

Code: Select all

\usepackage[framed]{ntheorem}
\usepackage{framed}
\renewcommand*\FrameCommand{{\color{PineGreen}\vrule width 2pt \hspace{10pt}}}
\newframedtheorem{gt}{Grundtanken}
But I would like this theorem to be un-numbered. Unfortunately it doesn't seem to work by simply using the command

Code: Select all

\newframedtheorem*{gt}{Grundtanken}
Does anyone know how to make an environment like the one above, but without the numbering?
Last edited by Bozack on Fri Apr 24, 2009 7:30 pm, edited 1 time in total.
OS, LaTeX-system, editor: Arch Linux 64bit, TeXlive, Kile | Windows 10 Professional 64bit, MikTeX 4.9, TeXnicCenter 2.02 64bit

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

ntheorem with framed option without numbering?

Post by Stefan Kottwitz »

Hi Bozack,

you could use an unnumbered style like nonumberplain or nonumberbreak:

Code: Select all

\theoremstyle{nonumberbreak}
\newframedtheorem{gt}{Grundtanken}
Stefan
LaTeX.org admin
User avatar
Bozack
Posts: 117
Joined: Wed Feb 06, 2008 4:21 pm

Re: ntheorem with framed option without numbering?

Post by Bozack »

Thanks! I didn't know about the nonumber-styles :)
OS, LaTeX-system, editor: Arch Linux 64bit, TeXlive, Kile | Windows 10 Professional 64bit, MikTeX 4.9, TeXnicCenter 2.02 64bit
Post Reply