Newsgroups: fj.comp.texhax
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!news.u-tokyo.ac.jp!t-server!keisu3!keisu3!mura
From: mura@sat.t.u-tokyo.ac.jp (Noboru Murata)
Subject: Re: [Q] teiri kankyou
In-Reply-To: g53448@sakura.kudpc.kyoto-u.ac.jp's message of 10 Sep 1994 14:30:17 GMT
Message-ID: <MURA.94Sep12102558@naomi.sat.t.u-tokyo.ac.jp>
Sender: news@keisu-s.t.u-tokyo.ac.jp
Nntp-Posting-Host: naomi.sat.t.u-tokyo.ac.jp
Organization: Faculty of Engineering, Univ. of Tokyo, Japan
References: <1994Sep10.052017.11265@news.tokushima-u.ac.jp>
	<34sftp$hqs@kudpc.kudpc.kyoto-u.ac.jp>
Date: Mon, 12 Sep 1994 01:25:57 GMT
Lines: 40
Xref: galaxy.trc.rwcp.or.jp fj.comp.texhax:5227
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.comp.texhax&nb=5227&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.


$B$`$i$?(B@$B$H$&$@$$$1$$$9$&$H?=$7$^$9!#(B

>> \newtheorem{theorem}{}[section]
>> \renewcommand{\thetheorem}{ Theorem \thesection.\arabic{theorem}}
>> \newtheorem{lemma}[theorem]{}
>> \renewcommand{\thelemma}{ Lemma \thesection.\arabic{lemma}}

>> $B$H$9$k$H!$(B
>> Theorem 1.1 aaaa
>> Theorem 1.2 bbbb
>> $B$NItJ,$,!$%9%Z!<%9#2$DJ,%$%s%G%s%H$7$^$;$s$+!)(B

2$B$DJ,%$%s%G%s%H$7$^$9!#(B
$B0l$D$O(B theorem $B4D6-$N%?%$%H%k$rI=<($9$k$H$3$m$,(B
TEXT\ NUMBER
    ^^
$B$J$C$F$$$k$?$a$G!"(B($B$3$N>l9g(B TEXT $B$O6u$C$](B)
$B$b$&0l$D$O(B
>> \renewcommand{\thetheorem}{ Theorem \thesection.\arabic{theorem}}
                              ^
$B$3$3$G$7$g$&!#(B

$B<i0B$5$s$N$d$j$+$?$,>e<j$/$$$+$J$$$N$O!"(B
>> \newtheorem{lemma}[theorem]{}
                     ^^^^^^^^^
$B$H$7$F$$$k$N$G!"(Blemma $B$NCf$G<B:]$K;H$o$l$k$N$O(B \thelemma $B$G$O$J$/!"(B
\thetheorem $B$K$J$k$?$a$G$9!#(B
\p@theorem $B$r=q$-JQ$($k$N$,(B LaTeX $B$N@_7W<T$N0U?^(B($B!)(B)$B$G$O$"$j$^$7$g$&$,!"(B
$B<i0B$5$s$N$d$j$+$?$G$b$A$g$C$H:Y9)$r$9$k$H$&$^$/$$$/$H;W$$$^$9!#(B
$B$3$l$@$H(B \makeatletter $B$H(B \makeatother $B$r;H$o$J$/$F$b$9$_$^$9(B(^^;).
%---
\newif\ifth
\newtheorem{theorem}{\unskip}[section]
\let\xtheorem=\theorem\def\theorem{\thtrue\xtheorem}
\newtheorem{lemma}[theorem]{\unskip}
\def\thetheorem{\ifth Theorem\else Lemma\fi\ \thesection.\arabic{theorem}}

--
(;_;)
