; TeX output 1997.03.13:0938s}n}+GGcmss17vrsion>!DtGGcmr17{7taLdKGXQ cmr12AT[-E;gXMacroforvqersionNumbseringofFiles!", cmsy10RMatsDahlgren(߆T cmtt12matsd@homenet.se)&37?R1997/02/22%@t : cmbx9Abstract ./5o cmr9Theow cmss9vrsionpac9k|rageprovidesauser-friendlywaytointroAduce leversionnumbAersinL5Aacmr6A TuAEX '9doAcumen9ts.LItzrememberszthepreviousv9ersionnumbAer, alsowhenthe"ߤN cmtt9.aux- leiscorrupted'9(dueTtoerrorsintheL5A TuAEXrun).'9ThisT leandthepac9k|rage:Copyrightc! cmsy9 j1994-97byMatsDahlgren.pAllrightsreserved. K9$Nff cmbx121&Intros3duction9K`y cmr10This;packqageprovidesonecommand,s%'ExXisrun,S&': cmti10i.e.itnumbGersthe.dvi- le.Ifthepackqage9isMloadedbutthecommand\versionisnotissued,C thepresentversionnumbGerispreserved.9NumbGeringcanbeincrementedatthreedi erentlevels:units,"tenths,andhundreds._Achange9bGetweenOtwooftheseisobtainedbychangingthepackqageoption. Afterachangeofsteplength,9the]previousversionnumbGerisincrementedwiththenewsteplength.eTheversionnumbGercanbe9heldDconstantbyusingthecommand\keepversion;JthisenablestheversionnumbGertobeprintedʆ\keepversion9withoutUUbGeingincreased.q(\keepversioncanbeoverriddenUUbythecommand\stepversion.)ʆ\stepversion92&Userguide9'N cmbx122.1,RequirementsuT9The-2 levrsion.stymustbGeavqailableintheuser'sTEXINPUTS-(directories.dfItrequiresL5ffA͉TU>'ExX2 b> cmmi10"+of91995/12/01UU(ornewer).8 92.2,Usage9TheUUpackqageisincludedbystating\usepackage[optionc]{vrsion}9inthedoGcumentpreamble.\Itcantakeoneoftheoptionsone,!ten,andhundred,andinaddi- 1one 1ten&hundred$oxspace9tionxspace.iT*oproGduceaversionnumbGeranywhereinyourdoGcumentyouissuethecommand$mC\version9\versionKatthedesiredplaceinyourL5ffA͉TU>'ExXinput le.^1 TheversionnumbGerwillthenbeincre-9mented-eachtimeyourunL5ffA͉TU>'ExXonthe le.PThecommand\versionisrobust.^2 òDepGendingon9Affğ @ -:q% cmsy6L|{Ycmr8ThisXdo "5-:1LNoticeXthatthetext\vÎersion"is(#fcmti8notproIfalargerincrementisspGeci ed,9theoldversionnumbGerwillbetruncatedbeforetheincrement;+e.g.achangefromoptionhundred9totenafterversion3.25willresultinversion3.3.Y*oushould(normally)notusethecommand9\version@moreonceinadoGcument._kTheversionnumbGerisstoredina lewithextension`vrs'in9theUUdefaultdirectory*.q(Thefullnameofthis leis\jobname.vrs.)9IfyouwantyourdoGcumenttocontainaversionnumbGerwithouthavingitincrementedeach9timeȀyourunL5ffA͉TU>'ExX,Kyoushouldissuethecommand\keepversioninthedoGcument(preamble).ʆ\keepversion9This{switcheso theincrementationmechanismandpreventsthepackqagefromwritinganupGdated9.vrs- le.CThe\keepversioncommandcanbGecancelledatanylaterplaceinthedocumentby9issuing|thecommand\stepversion.Theactiontakenbythe\versioncommandisdeterminedʆ\stepversion9byUUwhichofthesetwowaslastissued.9Typically*,nRyou6 wouldloadthevrsionpackqagewiththedesiredoptionandusethecommand9\versionp'ExXrunwhenyou9preparetoprintanewversionandthenhavethe\keepversioninactionduringtheL5ffA͉TU>'ExXruns9neededUUtoresolvethereferences.9WhenitisdesiredtorepGeattheversionnumbGerseveraltimesinadoGcument,issuea9\keepversiondirectlyafterthe rstuseof\version.tThiswillthenproGducethesamever-9sionnumbGeratalloccurrences;andtheversionnumbGerwillbeincrementedaccordingtotheuse9ofUU\keepversioninthepreamble.9IftheincreaseoftheversionnumbGeristooccuratanystagelaterthanthe stoccurrenceof9\version,ǺtheSoGccurrenceof\versionwhichistoincreasetheversionnumbGershouldbepreceeded9byQa\stepversioncommand(andfollowedby\keepversiontopreventfurtherincrements).@The9authorUUcannotthinkofanyreasonwhythisshouldbGedesired,butitcanbeachievedUUanyway:::692.3,KnownProblemsuT9 !", cmsy10'9Atthepresent(1997/02/22),vrsiondoGesnotworkpropGerlywithneithertheletterWnorthe'9scrlettrxdoGcumentUUclasses.9'9Thea\vrsionpackqageisnotworkingpropGerlywiththe\include{ le[}command;guse'9\input{ le[}UUinstead.9'9Ifdthecommand\versionisissuedmorethanonceinadoGcument,gtheversionnumbGerwill'9bGe2 incrementedateachoGccurrenceandproducedi erentversionnumbGersatthedi erent'9oGccurrences(unless\keepversionisine ect).;ThismaytypicallybGeaproblemifyouuse'9\version޲inthepageheaderorfoGoter.SJThisisavoidedif\keepversionisissuedsomewhere'9onUUthesecondpage.=2s}n}93&History9Thet rstversionofthepackqagewasreleasedinlateDecembGerof1994.%Thepackqagewascreated 9withUUusefulhelpandideasfromJohanF*robGerg(emgion@physchem.kth.se).9Thevrsionpackqageversion1.41hasbGeentestedwithL5ffA͉TU>'ExX2".|of1996/06/01runningTU>'ExX93.14159underOpGenVMS.Pleasesendbugreports(seebelow),corrections,additions,suggestions,9etc.UUtomeatmatsd@physchem.kth.se.693.1,ChangesfrompreviousversionsuT9In4vrsion(version)version1.0themacro\@skrivnercausedextraspacetobGeinsertedinfront9ofUUtheversionnumbGer.qWithvrsionversion1.1andlaterthisisavoided.9InpVversion1.1thevrsionpackqagehadincompatibilityproblemswiththebabGelpackqage.^3 ?'ExXinput lewhichreproGducestheproblem. '9IncludeUUthecommand1\setcounter{errorcontextlines}{999}'9inUUyourinput;r5.'9RunUUyour lethroughL5ffA͉TU>'ExX;r6.'9SendUUadescriptionofyourproblem,theinput leandthelog leviae-mailto: 8=matsd@homenet.se. 9EnjoyyourL雍Q+t}\cmti7ATKß'E-X!matsd.9\ffğ J= "5-:3LThanksXtoPÎeterRyder(ryder@theo.physik.uni-bremen.de)forbringingmyattentiontothisproblem. > "5-:4LThankstoCorneliusC.NoacÎk(noack@physik.uni-bremen.de)forbringingmyattentiontothere-app4no9increaseoftheversionnumbGerispreformed,norisanythingwrittentothe.vrs- le.+Thecommand9\@skrivnerUUisrespGonsibleforwritingthe.vrs- le(\skrivner"isSwedishfor\writedown").912\DeclareOption{one}{%913\DeclareRobustCommand{\version}{%914"W\ifKeepversion\else915+\stepcounter{versionnr}%916+\@skrivner917"W\fi918"W\theversionnr%919"W\@ifundefined{xspace}{}{\xspace}%920}921}9The_tenoptionmoGdi esthe\versioncommandtoproduceadecimalnumber_andstepsthe9integerUUversionnumbGerifthedecimalpartreaches10.922\DeclareOption{ten}{%923"W\DeclareRobustCommand{\version}{%924+\ifKeepversion\else9255>%\stepcounter{versionnrten}%9265>%\ifnum\theversionnrten=10\stepcounter{versionnr}\fi9275>%\@skrivner928+\fi929+\theversionnr.\theversionnrten%930+\@ifundefined{xspace}{}{\xspace}%931"W}932}9TheUUoptionhundreddoGesthesameasten,butwithatwo-decimalUUnumber.933\DeclareOption{hundred}{%934"W\DeclareRobustCommand{\version}{%935+\ifKeepversion\else9365>%\stepcounter{versionnrhundred}%9375>%\ifnum\theversionnrhundred=10\stepcounter{versionnrten}\fi9385>%\ifnum\theversionnrten=10\stepcounter{versionnr}\fi=40s}n}9395>%\@skrivner 940+\fi941+\theversionnr.\theversionnrten\theversionnrhundred%942+\@ifundefined{xspace}{}{\xspace}%943"W}944}9TheUUxspaceoption,whichonlyforcesthexspacepackqagetobGeloaded,isquiteshortinthecode:945\DeclareOption{xspace}{\global\xspctrue}9AllUUotheroptionswhichmaybGespeci edaretobeignored:946\DeclareOption*{\OptionNotUsed}9NowUUwecanproGcesstheoptions,and{ifrequested{loadthexspacepackqage.947\ExecuteOptions{one} 948\ProcessOptions949\ifxspc\RequirePackage{xspace}\fi9Nowthetaskistode netheinternals.Themacro\vrsFilesimplyholdsthenameofthe 9.vrs- lewtouse.-Themacro\@skrivnerwritestheversionnumbGercounterstoa leinaformat9which0XiseasytodealwithinL5ffA͉TU>'ExX,7aname-wisechange^7˲ofthetheordinary\labelformat.esThe9internal@macro\@vrsisusedtoavoidproblemswithlabGelchangewarningsandtoavoidtrouble9with\8missingversionnumbGerinformationinthe.aux- lewhen\keepversionisused.oAsanaid,9theUUdummy-counterVrsNrisused.950\def\vrsFile{\jobname.vrs} 951\newwrite\@vrs952\newcounter{VrsNr}953\def\@skrivner{%954"W\setcounter{VrsNr}{\@partaux}%955"W\addtocounter{VrsNr}{1}%956"W\let\@vrs=\theVrsNr%957"W\immediate\openout\@vrs\vrsFile%958"W\immediate\write\@vrs{\relax}%959"W\immediate\write\@vrs{%960+\string\vrslabel{versionsnummer}{{\theversionnr}{\thepage}}}%961"W\immediate\write\@vrs{%962+\string\vrslabel{versionsnummertio}{{\theversionnrten}{\thepage}}}%963"W\immediate\write\@vrs{%964+\string\vrslabel{versionsnummerhundra}{{\theversionnrhundred}{\thepage}}965}%966"W\immediate\closeout\@vrs{}%967}9babGelUUcompatibilityisobtainedbyde ningspGecial\labeland\refcommands.968\@ifundefined{bbl@ref}{\let\vrsref=\ref}{\let\vrsref=\bbl@ref}969\@ifundefined{bbl@newlabel}{\let\vrslabel=\newlabel}%970{\let\vrslabel=\bbl@newlabel}9Ifapitexists,dvthe le\jobname.vrsshouldbGeread,andthecounterssetaccordingly*.Ifthis le 9isUUmissing,thecountersshouldbGezero.971\IfFileExists{\vrsFile}{\@@input\vrsFile%972+\setcounter{versionnr}{\vrsref{versionsnummer}}%973+\setcounter{versionnrten}{\vrsref{versionsnummertio}}%974+\setcounter{versionnrhundred}{\vrsref{versionsnummerhundra}}%9&effğ J= "5-:7LThisXwÎasnessecarytomakevrsioncompatiblewithbab'ExX2" 9kernelhavetobGeslightlymoGdi ed.6T*omakesureweusethedesiredde nitions,cthechangesare9issuedinan\AtBeginDocumentcommand.IS(Thechangesarethatafew\newpagecommandshave9bGeen]}removedandthata\cleardoublepagehasbGeenremovedforthebGookclass.)>T*ocopewith9theincompatibilityofthekoma-scriptpackqage,! di erentmoGdi edde nitionsareused.[Whichisto9bGeUUusedistestedinan\@ifundefinedstatement.981\AtBeginDocument{% 982\@ifundefined{subject}{%983\if@titlepage984"W\renewcommand\maketitle{\begin{titlepage}%985"W\let\footnotesize\small986"W\let\footnoterule\relax987"W\let\footnote\thanks988"W\null\vfil989"W\vskip60\p@990"W\begin{center}%991+{\LARGE\@title\par}%992+\vskip3em%993+{\large9940\lineskip.75em%9955>%\begin{tabular}[t]{c}%996>Q\@author9975>%\end{tabular}\par}%9985>%\vskip1.5em%999+{\large\@date\par}% =100"W\end{center}\par =101"W\@thanks =102"W\vfil\null =103"W\end{titlepage}% =104"W\setcounter{footnote}{0}% =105"W\global\let\thanks\relax =106"W\global\let\maketitle\relax =107"W\global\let\@thanks\@empty =108"W\global\let\@author\@empty =109"W\global\let\@date\@empty =110"W\global\let\@title\@empty =111"W\global\let\title\relax =112"W\global\let\author\relax =113"W\global\let\date\relax =114"W\global\let\and\relax =115} =116\else =117\renewcommand\maketitle{\par =118"W\begingroup =119+\renewcommand\thefootnote{\@fnsymbol\c@footnote}% =120+\def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}% =121+\long\def\@makefntext##1{\parindent1em\noindent=6Is}n} =122Q\hb@xt@1.8em{% =123d~\hss\@textsuperscript{\normalfont\@thefnmark}}##1}% =124+\if@twocolumn =1255>%\ifnum\col@number=\@ne =126>Q\@maketitle =1275>%\else =128>Q\twocolumn[\@maketitle]% =1295>%\fi =130+\else =1315>%\global\@topnum\z@ =1325>%\@maketitle =133+\fi =134+\thispagestyle{plain}\@thanks =135"W\endgroup =136"W\setcounter{footnote}{0}% =137"W\global\let\thanks\relax =138"W\global\let\maketitle\relax =139"W\global\let\@maketitle\relax =140"W\global\let\@thanks\@empty =141"W\global\let\@author\@empty =142"W\global\let\@date\@empty =143"W\global\let\@title\@empty =144"W\global\let\title\relax =145"W\global\let\author\relax =146"W\global\let\date\relax =147"W\global\let\and\relax =148} =149\def\@maketitle{% =150"W\null =151"W\vskip2em% =152"W\begin{center}% =153"W\let\footnote\thanks =154+{\LARGE\@title\par}% =155+\vskip1.5em% =156+{\large =1575>%\lineskip.5em% =1585>%\begin{tabular}[t]{c}% =159>Q\@author =1605>%\end{tabular}\par}% =161+\vskip1em% =162+{\large\@date}% =163"W\end{center}% =164"W\par =165"W\vskip1.5em} =166\fi% =167\renewenvironment{titlepage}{% =1685>%\if@twocolumn =169>Q\@restonecoltrue\onecolumn =1705>%\else =171>Q\@restonecolfalse =1725>%\fi =1735>%\thispagestyle{empty}% =1745>%\setcounter{page}\@ne =175+}%=7Sts}n} =176+{\if@restonecol\twocolumn\else\newpage\fi =1770\if@twoside\else =178>Q\setcounter{page}\@ne =1790\fi =180+} =181}{%9SoU/muchfortheordinaryL5ffA͉TU>'ExX2")kernelcoGde.eNextfollowsthecoGdeborrowedfromthekoma-script 9bundleUUbyMarkusKohm,^8ȲalsowithsomemoGdi cations. =182\if@titlepage =183+\newcommand*\maketitle[1][1]{\begin{titlepage}% =184+\setcounter{page}{#1} =185+\let\footnotesize\small =186+\let\footnoterule\relax =187+\let\footnote\thanks =188+\ifx\@extratitle\@empty\else =189>Q\noindent\@extratitle\next@tpage\thispagestyle{empty} =190+\fi =191+\ifx\@titlehead\@empty\else =192>Q\noindent\begin{minipage}[t]{\textwidth} =193>Q\@titlehead =194>Q\end{minipage}\par =195+\fi =196+\null\vfill =197+\begin{center} =198+\ifx\@subject\@empty\else =199>Q{\Large\@subject\par} =200>Q\vskip3em =201+\fi =202+{\huge{\sectfont\@title\par}} =203+\vskip3em =204+{\Large\lineskip0.75em =205+\begin{tabular}[t]{c} =206>Q\@author =207+\end{tabular}\par} =208+\vskip1.5em =209+{\Large\@date\par} =210+\vskip\z@\@plus3fill =211+{\Large\@publishers\par} =212+\vskip3em =213+\end{center}\par =214+\@thanks =215+\vfill\null =216+\if@twoside\next@tpage =217>Q\noindent\begin{minipage}[t]{\textwidth} =218>Q\@uppertitleback =219>Q\end{minipage}\par =220>Q\vfill =221>Q\noindent\begin{minipage}[b]{\textwidth} =222>Q\@lowertitleback =223>Q\end{minipage} =224+\fi =225+\ifx\@dedication\@empty\else9ffffğ J= "5-:8LSpQ\next@tpage\null\vfill =227>Q{\centering\Large\@dedication\par} =228>Q\vskip\z@\@plus3fill =229>Q\if@twoside\next@tpage\fi =230+\fi =231+\end{titlepage} =232+\setcounter{footnote}{0}% =233+\global\let\thanks\relax =234+\global\let\maketitle\relax =235+\global\let\@thanks\@empty =236+\global\let\@author\@empty =237+\global\let\@date\@empty =238+\global\let\@title\@empty =239+\global\let\@extratitle\@empty =240+\global\let\@titlehead\@empty =241+\global\let\@subject\@empty =242+\global\let\@publishers\@empty =243+\global\let\@uppertitleback\@empty =244+\global\let\@lowertitleback\@empty =245+\global\let\@dedication\@empty =246+\global\let\author\relax =247+\global\let\title\relax =248+\global\let\extratitle\relax =249+\global\let\titlehead\relax =250+\global\let\subject\relax =251+\global\let\publishers\relax =252+\global\let\uppertitleback\relax =253+\global\let\lowertitleback\relax =254+\global\let\dedication\relax =255+\global\let\date\relax =256+\global\let\and\relax} =257\else =2580\newcommand*\maketitle[1][1]{\par =2599\begingroup =260Cj\renewcommand\thefootnote{\@fnsymbol\c@footnote}% =261Cj\def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}% =262Cj\long\def\@makefntext##1{\parindent1em\noindent =263Q\hb@xt@1.8em{% =264d~\hss\@textsuperscript{\normalfont\@thefnmark}}##1}% =265Cj\if@twocolumn =266L\ifnum\col@number=\@ne =267VQ?\@maketitle =268L\else =269VQ?\twocolumn[\@maketitle]% =270L\fi =271Cj\else =272L\global\@topnum\z@ =273L\@maketitle =274Cj\fi =275Cj\thispagestyle{plain}\@thanks =2769\endgroup =2779\setcounter{footnote}{0}% =2789\let\thanks\relax =2799\let\maketitle\relax=9 ds}n} =2809\let\@maketitle\relax =2819\global\let\@thanks\@empty =2829\global\let\@author\@empty =2839\global\let\@date\@empty =2849\global\let\@title\@empty =2859\global\let\@extratitle\@empty =2869\global\let\@titlehead\@empty =2879\global\let\@subject\@empty =2889\global\let\@publishers\@empty =2899\global\let\@uppertitleback\@empty =2909\global\let\@lowertitleback\@empty =2919\global\let\@dedication\@empty =2929\global\let\author\relax =2939\global\let\title\relax =2949\global\let\extratitle\relax =2959\global\let\titlehead\relax =2969\global\let\subject\relax =2979\global\let\publishers\relax =2989\global\let\uppertitleback\relax =2999\global\let\lowertitleback\relax =3009\global\let\dedication\relax =3019\global\let\date\relax =3029\global\let\and\relax} =303\fi =304\def\@maketitle{% =305+\let\footnote\thanks =306+\ifx\@extratitle\@empty\else =307>Q\noindent\@extratitle\next@tpage\if@twoside\null\next@tpage\fi =308+\fi =309+\ifx\@titlehead\@empty\else =310>Q\noindent\begin{minipage}[t]{\textwidth} =311>Q\@titlehead =312>Q\end{minipage}\par =313+\fi =314+\null =315+\vskip2em% =316+\begin{center}% =317+\ifx\@subject\@empty\else =318>Q{\Large\@subject\par} =319>Q\vskip1.5em =320+\fi =321+{\huge\@title\par}% =322+\vskip1.5em% =323+{\Large =3245>%\lineskip.5em% =3255>%\begin{tabular}[t]{c}% =326>Q\@author =3275>%\end{tabular}\par}% =328+\vskip1em% =329+{\Large\@date\par}% =330+\vskip\z@\@plus1em =331+{\Large\@publishers\par} =332+\ifx\@dedication\@empty\else =333>Q\vskip2emޟ=10 mߠs}n} =334>Q{\Large\@dedication\par} =335+\fi =336"W\end{center}% =337"W\par =338"W\vskip2em}% =339\renewenvironment{titlepage}{% =3405>%\if@twocolumn =341>Q\@restonecoltrue\onecolumn =3425>%\else =343>Q\@restonecolfalse =3445>%\fi =3455>%\thispagestyle{empty}% =3465>%\if@compatibility =347>Q\setcounter{page}{0} =3485>%\fi}% =349+{\if@restonecol\twocolumn\else\newpage\fi}% =350}% =351}9ThisUUbringsustotheendofrvrsion.qHopGeyou'llenjoyit!%*@sCopyrightc O!cmsy7 \u1996-97byMatsDahlgren.ޟ=11v; +t}\cmti7*m#R cmss10)Cscmtt8(#fcmti8'N cmbx12&': cmti10% cmmi10K`y cmr10ٓRcmr7z>