资源描述:
《AMS theorem package user's guide》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、UsingtheamsthmPackageVersion2.20,August2004AmericanMathematicalSociety1IntroductionTheamsthmpackageprovidesanenhancedversionofLATEX'sewtheoremcommandfordeningtheorem-likeenvironments.Theenhancedewtheoremrecognizesatheoremstylespecication(asinMittelbach'stheorempackage)andhasa*formford
2、eningunnumberedenvironments.Theamsthmpackagealsodenesaproofen-vironmentthatautomaticallyaddsaQEDsymbolattheend.AMSdocumentclassesincorporatetheamsthmpackage,soeverythingdescribedhereappliestothemaswell.Iftheamsthmpackageisusedwithanon-AMSdocumentclassandwiththeamsmathpackage,amsthmmustbelo
3、adedafteramsmath,notbefore.Examplesaregiveninthelethmtest.tex.Forbestunderstanding,examinetheoutputside-by-sidewiththeinput.2TheewtheoremcommandInmathematicalresearcharticlesandbooks,theoremsandproofsareamongthemostcommonelements,butauthorsalsousemanyothersthatfallinthesamegeneralclass:le
4、mmas,propositions,axioms,corollaries,conjectures,denitions,remarks,cases,steps,andsoforth.ItisnaturaltohandletheseelementsasLATEXenviron-ments,butdocumentclassesdonotprovidepredenedenvironmentsfortheorem-likeelementsbecause(a)thatwouldmakeitdicultforauthorstoexercisethenecessarycontrolove
5、rtheautomaticnumbering,and(b)thevarietyofsuchelementsissowidethatit'snotpossibleforadocumentclasstoprovideeveryonethatwilleverbeneeded.Insteadthereisacommandewtheorem,similarineecttoewenvironment,thatmakesiteasyforauthorstosetuptheelementsrequiredforaparticulardocument.Theewtheoremcom
6、mandhastwomandatoryarguments;therstoneistheenvironmentnamethattheauthorwouldliketouseforthiselement;thesecondoneistheheadingtext.Forexample,ewtheorem{lem}{Lemma}meansthatinstancesinthedocumentofbegin{lem}Texttext...end{lem}12USINGTHEamsthmPACKAGEwillproduceLemma1.Texttext...wherethehead
7、ingconsistsofthespeciedtextLemma"andanautomaticallygen-eratednumberandpunctuation.Ifewtheorem*isusedinsteadofewtheoreminthisexample,numberswillnotbegeneratedautomaticallyforanyofthelemmasinthedocument.Thisformofthecommandcanbeusefulifyouhaveo