Hi On Tue, Oct 31, 2006 at 10:16:34AM +0100, Frank Küster wrote: > bonaccos@phys.ethz.ch (Salvatore Bonaccorso) wrote: > > > Subject: tetex-extra: Possible to revert changes in amsthm.sty > > Package: tetex-extra > > Version: 3.0.dfsg.3-1 > > Severity: wishlist > > > > *** Please type your report below this line *** > > > > Hi > > > > Im using amsthm for creating theorems etc. Now one can give a Name to > > a theorem in []-Brackets (see example). If I compile it on a sarge > > system with older amsthm.sty then it was created right (with the name > > also in boldface). If I crate it hiere with amsthm.sty with Version > > "2004/08/06" then the Theoremname wasn't show anymore in bold. > > We could contact upstream about this. But first, please check whether > the description about \theoremstyle and, in particular, \newtheoremstyle > in amsthdoc.pdf might be enough to solve your problem. Sorry for the late reply. Yes you are absolutely right. The description in amsthdoc.pdf explain it how to use \newtheoremstyle. I tried for example now \newtheoremstyle{plain}% {3pt}% {3pt}% {}% {}% {}% { }% {}% {\bfseries{\thmname{#1}{ }\thmnumber{#2} (#3).}}% to try to get the "old behavior". It doesn't compile correctly yet, but I think I have done somewhere a mistake. I modified the simple example as in the attachment. Regards, Salvatore
\documentclass[12pt,fleqn,a4paper]{article} \usepackage[ngerman]{babel} \usepackage{t1enc} \usepackage{amssymb} \usepackage{amsfonts} \usepackage{amstext} \usepackage{amsthm} \usepackage{amsmath} \usepackage{ifthen} \newtheoremstyle{plain}% {3pt}% {3pt}% {}% {}% {}% { }% {}% {\bfseries{\thmname{#1}{ }\thmnumber{#2} (#3).}}% %% Theorem-Ungebungen % Axiom; Theorem, Lemma, Proposition, Korollar, Satz. \theoremstyle{plain} \newtheorem{axiom}{Axiom} \newtheorem{thm}{Theorem}[section] \newtheorem{lem}[thm]{Lemma} \newtheorem{prop}[thm]{Proposition} \newtheorem{kor}[thm]{Korollar} \newtheorem{satz}[thm]{Satz} % alternative Style: % \newtheorem{lem}{Lemma}[section] % Defintion, Beispiel. \theoremstyle{definition} \newtheorem{defn}[thm]{Definition} \newtheorem{exmp}[thm]{Beispiel} % Bemerkung. \theoremstyle{remark} \newtheorem{bem}[thm]{Bemerkung} \begin{document} \begin{defn}[Messbare Funktion]Eine messbare \ldots \end{defn} \begin{thm}[Satz von Lagrange]Sei $f$ $\ldots$ \end{thm} \begin{proof} Sei \ldots \end{proof} \end{document}
Attachment:
simple_example.ps
Description: PostScript document