; TeX output 1997.10.30:1052'FJ3 U_DtGGcmr17The7tGGcmss17rmpagepacqkagevlAlpha7tdoscumenqtation|trustnothing!.ٟXQ cmr12RorwlandMcDonnell:߆T cmtt12rebecca@astrid.u-net.com+8x-Sometimeago*'FJ3 ,{=S"V 3 cmbx10AbstractQ K`y 3 cmr10The..=...................p554jj=5.1.11t~P!apMerforientationN9.=.....................p554jj=5.1.12t~HeadersfandfoMotersό.=...................p554jj=5.1.13t~P!ositioningfthetextbModyfverticallyE.=..........p555jj=5.1.14t~ChangingfthedateformatO.=................p555jj=5.1.15t~DealingfwiththebMetonpac!kdDageO.=.............p555Q:5.2jj=Feromfthecon guration le.=....................p556jj=5.2.1t~OtherfpapMersizesV.=.....................p556jj=5.2.2t~Marginalfparagraphoptions.=...............p559jj=5.2.3t~Teouc!hfoptions.=.......................p561jj=5.2.4t~Moreflengthoptionso.=...................p562jj=5.2.5t~Num!bMerfofcolumnsl>.=...................p562jj=5.2.6t~Loadingffoun!tsB.=......................p563jj=5.2.7t~Stu fforbMetonsupportdb.=.................p566jj=5.2.8t~Otherfsynon!ymsforsomeoptions赍.=............p566jj=5.2.9t~MarginfoptionsS.=......................p566jj=5.2.10t~Prin!terfoptionsIX.=......................p566jj=5.2.11t~Ro!wland'sfcuriousoptions^.=................p569@ 6Q:Hotw2thingswork8871Q:۹6.1jj=\textheightfcalculationH.=.....................p571Q:6.2jj=\textwidthfcalculation[򍍑.=.....................p573Q:6.3jj=HoMoksyM.=...............................p575Q:6.4jj=Marginalfparagraphs~.=.......................p576Q:6.5jj=Dealingfwithdi eren!tclassesb.=..................p576Q:6.6jj=Di eren!tfpapMertypMesandprinters.=...............p576Q:6.7jj=Headers,ffoMoters,andmarginalparagraphs5.=...........p5773*'FJ3 s3 7#Con guring2rmpage}79 #7.1outthedoMcumen!tationandstu .hI'vecomeacrossonebugonlyinthe@ last6y!ear,M$soI6thoughtthebMestideawouldbMetouploadthepackdDagetoCTeAN@ soJsomeoneelsecoulduseit,ʃandpMerhapsan!yfeedbackICgetmightpMersuade@ meftopullm!y ngeroutandtidyitallup.Q Thedtx lesaren'treadytobMet!ypesety!et|thisistheonlyLٽAGT,[wEB Xable@ doMcumen!tation.Q WhatMIdowithrmpageinthefuturedepMendsmainlyonwhaty!outell@ me:$if y!ou'veusedrmpage(ordecidednotto),Iwouldconsideritagreat@ kindnessify!outoldmewhye. @I'malsointerestedinwhatyoulikeand@ dislik!e,+anysuggestionsy!ouhave,+andanythingelseabMoutthispackdDageandits@ doMcumen!tation|anemailmessagejustsaying`rmpageisrubbish,geometry's@ m!uchfbMetterfor.3..'w!ouldfbeusefulifthat'swhaty!outhink.Q Thec!haptersonhowthingsworkandalltheoptionsstillneedalotofwork,@ andthec!hapteroncon gurationisn'thowI'dlikeittobMe.Thisdocumen!twill@ ev!entually.bMe nishedandincludedinaproper.dtx le.4I)though!treleasing@ thispac!kdDagenowwasbMest,tbecauseI'vesuddenlybMecomeemployed,tandthis@ nalfpMolishingwilltak!equitealongtime.Q rmpage\setsLٽAGT,[wEB Xpagela!yout\parameterstouser-con!trolledvdDalues,kswith-@ outtheuserha!vingtodealwithparticularmeasurements,9checkwhetherthe@ resultzwill tinsidetheprin!tingareaoftheselectedprinter,>andsoon.#This@ isMdonewithoptionslik!e:ɫwider,ynoheaders,lower,andMmorecolsep;@all@ c!hangablelayoutparameterscanbMevdDariedinsmallstepsoverarangeofvdDal-@ ues.Q rmpageonlyc!hangesparameterslike\textwidthand\columnsep:those@ lengthsthata ectwherethetextgoMesonthepageandho!wmuchofthepageit5]i'FJ3 s3 ʹoMccupies.Itsdoesn'tc!hangelayoutparametersthata ecttheinternalappMear ofJy!ourtext,suchasparagraphindents,spacingaroundsectionheadingsandthelik!e.Oneofthedesignaimswastomakechangingpagelayoutsimilartoaywwysiwygw!ordproMcessor,;whereyoucanusethemouseto ddlewiththepagefla!yout,makingthingsabitbiggerandsmalleruntilit'sjustright.`v$There'sdacon guration lefory!outoplaywithandhoMoksgalore:!rmpageʹismean!ttobMecon guredthewayyouwantit|ifyounormallyuseA4papMer}andproducemostdocumen!tswithoutheaders,2youcancon gurermpagetogiv!eyouthatbydefault,,over-ridablebypassingoptionsfromy!ourdoMcument. Ifyoufollowtheinstructions,zloMcalcon gurationwon'tstop0y!ouproMducingdocumen!tswithamodi edla!yout0thatt!ypesetiden!ticallyon7di eren!tsystems|youcanevencopythemoMdi edlayoutdataintoyourdoMcumen!t,nand0it'lltypMesetidenticallyonaLٽAGT,[wEB Xinstallationwithoutrmpage.$The pac!kdDageismeanttobMeuseddirectlyinLٽAGT,[wEB Xdocumen!ts,(1andforcreatingשloMcalclasses. qIha!veשusedit,cforexample,tocreateaclassforproMducing: 3 cmmi10".cUv!ersionsha!veacunningw!ayofcalculating\textwidthand\textheightthatadaptstheQpagela!youtQtothesizeofpapMer,|Pwhic!hisusefulforpeoplelik!emewhonev!erfprintonUSletterpapMer.$ButthestandardLٽAGT,[wEB Xpagela!youtwasintendedforpapMersizesnearUSletter,andassumesy!ou'llbMeusingheadersandfooters.FIfy!ou'renot,thingsv6j'FJ3 s3 @ bMegingtolookabito ;Ȣy!ourprintedpageshavealargerwhitespaceatthe @ top;3thanatthebMottom,Pwhic!hlooks`bottomhea!vy'|standardtypMographical@ designhasthelargergapatthebMottomratherthanthetop,p)whic!hlooks@ bMetterEtotheey!e,mMevenEifonlybecausew!e'reusedtoit.;Personallye,mMIE\rarely@ useheaders,whic!hmeansthestandardLٽAGT,[wEB XclassesproMduceanunpleasant@ outputmostofthetime.!andc!hangingthepMositionofthetextareainrelationtothepapMerarea.ZTherearesomeLٽAGT,[wEB Xpagela!youtparametersthaty!oumndon'tgettoa ectdirectly;thisisbMecauseofthewayIm:loMokedatpagela!youtwhenIrwrotermpage.Theseinclude\evesidemargin,փ\topmargin,andrsomeothers,}*whic!hare neforacomputerassemblingapage,}*butnotsogoModfforme,tryingtodescribMeala!youtfIw!antfintermsIlik!e.}ԍ$I,ha!ve-Kparamaterizedev!erythingthatdidn'trunawaye,soyoucan,forexample,SwriteathesisclassthatlimitsthetextareaasspMeci edintheregulations,fbutstillallo!wstheusersome exibilityifit'sneeded.$Andrmpagekno!wsabMoutalotmorepapersizes,includingen!velopesandISOelongfsizes,rwhic!hitattemptstohandleinanintelligentfashion(itknowsone'sflik!elytowanttoprintout1/3A3onA4papMer,forexample).'z1.38-Installingffrmpage,ʹYeoumcaninstallrmpageb!yrunningLٽAGT,[wEB Xonthe lermpage.ins.4 Thedtxʹ les8migh!tbMeusefulifyouwanttodigaroundinsidermpage,Notherwisethrowthem="a!waywiththeins les.Putthesty,R/pko,cfg,andgfc lessomewhereinfy!ourT,[wEB Xsearchpath.$TheH lermpage.styisthepac!kdDageyoucallfromyourLٽAGT,[wEB XdoMcument,and]thecfg lescon!tainsmostoftheoptionsandloMcally-con gurablethings.PleaseUdon'tc!hangeanyofthese les|makeacopycalledrmplocal.cfgʹofeither:)rmpgen.cfgorrmplocal.gfc,andc!hangethatinstead.lOThe lermplocal.gfcisthesameasrmpgen.cfgwithsomeoptionscommen!tedouttofmak!eitfaster.$rmpage(ѹismean!ttobMecon guredtosuityou;I(nsuggestthateveryonec!hangesSthedefaultoptionsinrmplocal.cfg.Don'tdothisjustyetunlessy!oufreallywantto|haveareadofchapter2andsection7.1 rst.'z1.48-Compatibility,rmpagemvhasbMeentestedwiththeJune1996releaseofLٽAGT,[wEB X.3 Itappearstow!ork7wellwiththearticle,+report,letter,book,andslidesclasses,anda0n!umbMeroflocalclassesbasedonthese.:rmpagedoesn'tw!orkwellwiththeltxdocHclass,bMecauseofwhatltxdocdoeswithmarginalparagraphs.gMindy!ou,L.ltxdocӹdoMesn'tseemtohavemuchsuccesswithmarginalparagraphsan!ywaye.Lrmpageseemshapp!ywiththeltxguideclass,KbutI'venottesteditthoroughlye.$Because}{rmpageonlyc!hangesLٽAGT,[wEB XparametersatthebMeginningofaLٽAT,[wEB Xrun,itGdoMesn'tingeneralha!veGtroublew!orkingwithotherpackdDagesandclassesaslongasrmpageisloadedlast.rmpageincludescoMdetohelpitw!orkwiththePSNFSSpac!kdDages,thebMetonpackdDage,andthefoilsclass.ThebMetonpackdDageneededkalittleextraw!orkbMecauseitchanges\baselineskipafterallpackdDagesha!veÑbMeenloaded;R&foilsusesfour(ratherthanthree)extra-largebasepoin!tsizes,`whic!h;againtoMokalittleextracode.ThePSNFSS;pac!kdDagesupportisv8 'FJ3 s3 @ justH;forcon!venience,psoH;youcanloadafountwithoneoptionratherthana @ \usepackagefcommandandanoptiontormpage.Q Ingeneral,ifrmpageisloadedafterthedoMcumen!t'snormalsizefounthas@ bMeenm'selected,andafterthedocumen!tclasshas nishedsettingthevdDarious@ textla!youtparameters,thereshouldbMenoproblems|.YIfyouarecombining@ rmpageޭwithapac!kdDagethatalsochangespagelayoutparameters,,youwill@ ha!ve5nto ndoutho!wbMothpackdDagesworktoensureyougetwhatyouwant.@ Loadingrmpagelastisusuallyenoughtoensureev!erythingworksright.uFeor@ example, rmpageֹm!ustbMeloadedaftersetspacehasbeenusedtosettheline@ spacing;foradoMcumen!t,Q-sothatrmpagecanset\textheighttoavdDalidvalue.s lK`y cmr10Two) thingstowatchforarechangestothemaindoGcumentfount, \.andchangesto+('ere,Colin,'a!veyougotawordproMcessoronthatbloody@ greatw!orkstationofyours?No,butI'vegotsomethingbMetter.3..)andquickly@ realised!thatthestandardformatsloMok!eddaftonA4paper.Now!orries,<letter,willha!ve|anoticeablewider\textwidth.:Yeoucanforce rmpagetomak!e\textwidthand\textheightidenticaltothestandardvdDaluesn(solineandpagebreaksarenotc!hanged)withthestdwidthandstdlength options;=maintextbloMc!kpositioningisnev!eridenticaltostandard.$rmpaged[withthestandardcon guration lefollo!wsLٽAGT,[wEB X'sdefaultsandproMducesPla!youtsveryclosetostandardLٽAGT,[wEB X.Yeoucanchangethisbyediting)12 'FJ3 s3 @ theMcon guration le|seec!hapter7forthedetails._IMwrotermpageexpMecting @ that~ev!eryonewouldeditthecon guration letomatchtheirpreferences;for@ example,ify!ouusuallydon'tuseheaders,orify!ouusuallydon'tprintonUS@ letterfpapMer.dQ If|"y!ouareusingtypMefacesotherthanthestandardComputerModern@ Roman,torhapac!kdDagethatchanges\baselineskip,thavealoMokatsection1.4@ onpage8andsection2.5onpage13|therearethingsthatneeddoingto@ a!voidfapMoorfla!yout.Q TheobservdDan!twillnoticethatIpreferspMellingthingsaccordingtothe@ OxfordEnglishDictionarye,nratherthanWebster's.Fearnot:Irealizethat@ LٽAGT,[wEB X7follo!wsUS7Englishconvention,\:sormpageincludesoptionsspMeltboth@ w!aysfwherethere'sadi erence.*,ۍ@ 2.4eoOptionffnamingconventions |@ rmpage's cnoptionsarelargelyoftheform:Wnarrowest, narrower,@ narrowish,n.normalwidth;"orF9mostheadsep,moreheadsep,moreishheadsep,@ normalheadsep.Theset!woexamplesareeachpartofanoptionset(they@ con!tinue\ywithwidishandlessishheadsep).An!yoptionwithouttouchor@ t@uchfinitsnameisconsideredamainoption.Q YeouƏshoulduseonlyonemainoptionfromeac!hsetatatime|ifyoudouse@ more thanone,$#rmpagewillapplythesettingsoftheoptionthatisdeclared@ lastfinthepac!kdDage le.Q Thed5touchoptionsallstepupordo!wnonethirdoftheway(usuallyin@ aJgeometricalsequence)tothenextmainoption. ˛Thet@uchoptionsare@ iden!tical,2butcanonlybMeusedinclassandpackdDage les.-Thefollowingtwo@ examplesfproMduceaniden!tical\textwidth:P@ \usepackage[wider,t@uchwider,touchwider]{rmpage}@ \usepackage[widest,touchnarrower]{rmpage}Q Theh[follo!wingthreeexamplesproMduceasmoothlyincreasing\textwidth:@ \usepackage[touchwider]{rmpage}@ \usepackage[widish,touchnarrower]{rmpage}@ \usepackage[widish]{rmpage}Q It'scompleteokdDa!ye,butslightlysillybMecauseithasnoe ect,tocombine,@ sa!ye,ftouchwiderandtouchnarrower.*,ۍ@ 2.5eoChangingffthepagelayout |@ rmpageƹiscon!trolledbyoptionspassedtoitintheconventionalwaye, ^andby@ vdDariousީthingsy!oucandotothecon guration le.Thissectionexplainsthe@ basicJsuseofmostoftheoptions.Chapter5onpage45listsalltheoptions@ andfwhattheydo.Chapter7onpage79dealswiththecon guration le.13'FJ3 s3 1N cmbx122.5.1<\Widthofthemaintextblo`ckʹAccordingtothetextbMooks,;htheoptim!umwidthofabloMckoftextisabMout 1.5{2.5߱alphabMetsinthemainfoun!t.Thisisabout45{75c!haracters(includingspacesandpunctuation)orordinaryEnglishprose.Wheny!ousetthewidthofv(themaintextbloMc!k,rmpagemeasuresthewidthofonecolumn,andw!arnsy!ou/:ifitexceedstheselimits.xZNotethatthestandardwidthisattheuppMerlimitforoptim!umreadability;8anyincreasewillproMduceawarning.Isverystrongly `suggesty!ouusemultiplecolumnsifyou ndyourselfusingawidthwiderfthanwidish.$rmpage\hasoptionsforproMducingm!ultiplecolumnlayouts: seesec-tion2.5.6onpage20formoredetails.Ify!ouareproMducingdisplayedma-terial(asinglelargetableonapage,ʃforexample),readthesectionbMelo!w,calledf`Onotherwidthsettingcon!trols'.$rmpageasetsthewidthofthemaintextbloMc!k(theheader,/bodytext,/andfoMoter)fwiththeseoptions,whic!harereferredtoasthewidthoptionset:Liwidest,dwider,wide,%widish,normalwidth,narrowest,fnarrower,narrow,narrowish.$Mak!eeMsureyouonlyuseoneoftheabMoveoptionsatatime.ThetouchʹoptionscanbMeusedwithan!yofthemainoptions;Ftheyareoftenexactlywhat'sneededqwhatusedalone:ttouchwiderandtouchlongerha!veqoftenreducedm!yfdoMcument'spagecounttowhatIwanted.$Thefoptions:touchwiderftouchnarrowert@uchwiderft@uchnarrowerʹgiv!eawidthonethirdofthewaytowardsthenextmainoption.Thet@uchʹoptionsfcanonlybMeusedinaclassorpac!kdDage le.$Therearefourmainwidthoptionsthatpa!ynoattentiontothetouchʹoptions.Theyfare:stdwidth+ Exactlyfthewidthcalculatedb!ythestandardclassesfullwidth&$bTheffullwidthoftheprin!tableregiononeinchmargins fThefleftandrigh!tmarginssumto21in 2|average11inhalfinchmarginsfTheleftandrigh!tmarginssumto11in 2|average0.51inThelfullwidthoption llsthewidthoftheprin!tableregionaswellasitcan,ensuringthespMeci edrelationshipbet!weentheinsideandoutsidemargins.Yeoulwillusuallygetalargertextwidthify!oualsoaskforcentreorcenter;seefsection2.5.4onpage17.$Theone-andhalfinchmarginsoptionsgiv!einsideandoutsidemarginsofcthatmeasuremen!tonlyifyouareprintingcentred;otherwise,"theaveragemargin}sizeisasspMeci ed(e.g.,inside1.21in 2,outside0.81in 2;S(1:2+0:8)=2 =1)ݑOther2widthsettingconttrolsʹTheinitial\textwidthisnormallycalculatedasthesmalleroft!wodi erentwidths:\one,Ua2certainn!umbMer2ofc!haracters;xtheother,acertainfractionof)14ܠ'FJ3 s3 @ thei\paperwidth.UTheprecise guresdepMendonthewidthoptionsy!ou've @ used.Q Thisisnotalw!aysappropriate|forexample,+ify!ouareproMducingaweekly@ timetableonA4landscapMepaper, Ican'tseewh!yrmpageshouldpayattention@ tofthec!haracter-basedwidth.SoIcreatedtheseoptions:6@ characterwidthsetfChoMosethec!haracter-basedwidthregardless@ paperwidthsetChoMosefthepaper-basedwidthregardless@ bothwidthset dDefault:c!hoMosefthesmallerofthetwowidths>Q Note thatrmpagenev!erignoresitspapMer-basedlimits:ZSsaying@ characterwidthsetEwillproMduceaprin!tablelayoutthattakesnoticeof@ allftherestrictionsdoMcumen!tedelsewhere.Q I'v!e+providedaringbindingoptionwhichsetstheminimumallowedinside@ margin-toatleast15nmm9ify!ouareprintinginpMortraitorientation,anddoMes@ nothingbutw!arnyouifyouareusinglandscapMeorientation.^It'sprobably@ notfagoModfideatousethiswithlongpapMersizes,butnoc!heckfismade.%b-@ 2.5.2j Lengthofthemaintextblo`cki@ rmpagesetstheheigh!tofthemaintextbloMck(theheader,DbModytext,and@ foMoter)fwiththeseoptions,whic!harereferredtoasthelengthoptionset:6@ longest, flonger,long,longish,@ normallength,@ shortest,fshorter,short,shortish.>@ Mak!euMsureyouonlyuseoneoftheabMoveoptionsatatime. JThetouch@ options&canbMeusedwithan!yofthemainoptions;theyareoftenexactly@ what's neededwhatusedalone:touchwiderandtouchlongerha!ve often@ reducedfm!ydoMcument'spagecounttowhatIwanted.Q Thefoptions:6@ touchlongerftouchshorter@ t@uchlongerft@uchshorter>@ giv!eawidthonethirdofthewaytowardsthenextmainoption.Thet@uch@ optionsfcanonlybMeusedinaclassorpac!kdDage le.Q The;heigh!tyougetis(whereZxisaninteger;&thebMody;textisZ=+uz1lines@ long):FkZ7m !", 3 cmsy10n\baselineskipOz+n\topskip2(+n\headheightD&+n\headsep+n\footskip>Q ThelengthofthemaintextbloMc!kissettobeacertainfractionof@ \paperheight,Oso \textheightwillincreaseify!outurnheadersorfoMoters@ o .15'FJ3 s3 2.5.3<\Headersandfo`otersrmpagedoMesn'tselectapagest!yletouseornotuseheadersorfooters|y!ou've gottoarrangeforthattobMedoneseparatelywitha\pagestylecommand.EItdoMesi6calculateapagela!youti6thatdoesordoesnotallo!wspaceforaheaderorafoMoter.(Ify!outurnfooterso andforgettoc!hooseafooter-freepagest!yle,thefresultismildlycomical.$Yeoufcanallo!wspace(ornot)forheadersandfoMotersusingtheseoptions:]headersfnoheadersfootersfnofootersʹTeellingermpagenottoallo!wspaceforeitherheadersorfoMoterswillincrease\textheight,fandvice-v!ersa.Seesection2.5.2formoreabMoutthis.$LٽAGT,[wEB X'skstandardclassesallo!wabMox121ptBhighforheaders.-tThisistoMosmallforpMoin!tsizesgreaterthan121pt *,ZsormpagechangesthesizeofthebMo!xCcontainingtheheadertobMe\baselineskip.Ifyouwanttouseaheaderwhic!htthreecolumnsinsomeplacesandfourcolumnsinothers, passthe@ threecolumnwidthnoptiontormpage.BIfthewidthneedsc!hangingafterthat,@ bMeginfb!ytryingthewidthoptionsinsection2.5.1onpage14.4@ The2spacebYettween2columns@ Thefmainoptions:@ mostcolsepdmorecolsepfmoreishcolsep@ normalcolsep@ lessishcolsepflesscolsepleastcolsep@ increaseordecreasetheseparationbMet!weenthecolumns|theyscalethe@ standardLٽAGT,[wEB X\columnsepparameter.Thedefaultnormalcolsepoption@ doMes^nothing|y!ougetLٽAGT,[wEB X'sstandardcolumnseparation.Makesureyou@ onlyfuseoneofthesemainoptionsabMo!vefatatime.Q The^5touchoptionsbMelo!waremeanttobMeusedwithanyofthemain@ options,andYincreaseordecreasethegapbMet!weenYthecolumnsonethirdof@ thefw!aytowardsthenextmainoption.@ touchmorecolsepftouchlesscolsep@ t@uchmorecolsepft@uchlesscolsepQ Ifay!oudon'tlikeLٽAGT,[wEB X'sstandard\columnsep, theoptionsbMelowcalculate@ afdi eren!tdefaultvdDalue:@ɕ F adaptivecolumnsepCalculatesդanormal\columnsepwhic!his2.3timesΟthea!verageΟcharacterwidthoftheselectedfoun!t|ap0.11ptincreasefor101ptComputerMoMd-ernfRoman;quiteabitdi eren!tforotherfounts.6fgF noadaptivecolumnsepDefault: };giv!esyouthestandard\columnsep,whic!hdcanbMechangedbyanyofthecolsepop-tionsfabMo!ve(͎CQ The_\columnsepproMducedb!ytheadaptivecolumnsepoptioncanbe@ scaledfb!yanyofthecolsepoptions.21B'FJ3 s3 2.5.7<\Pap`ersizermpageBthecommonlongsize2/3A4is210nmm@ 2=3297nmm`=210nmmn198mm.$Thesesizesareonlyformallyde nedforISOAandBsizes.rmpagewillmak!efanymainpapMersizeintoalongsizewithoneoftheseoptions:notlongpapMerfDefault.Doesnothing.7/8longpapMer Multiplyftheparen!tpapersizelengthb!y7/83/4longpapMer Multiplyftheparen!tpapersizelengthb!y3/42/3longpapMer Multiplyftheparen!tpapersizelengthb!y2/35/8longpapMer Multiplyftheparen!tpapersizelengthb!y5/81/2longpapMer Multiplyftheparen!tpapersizelengthb!y1/23/8longpapMer Multiplyftheparen!tpapersizelengthb!y3/81/3longpapMer Multiplyftheparen!tpapersizelengthb!y1/31/4longpapMer Multiplyftheparen!tpapersizelengthb!y1/41/8longpapMer Multiplyftheparen!tpapersizelengthb!y1/8Mak!eB4sureyouonlyuseoneoftheseoptionsatatime.HTheymustbMeusedwithamainpapMersizeoption;4theletterpapermainpapersizeoptionisusedfb!ydefault.$TheʰresultingpapMersizeismadeportraitb!ydefault,orlandscapeify!ou'veڜusedthatoption,gandprin!tinglimitsarecalculatedbasedontheassumptionthaty!ouwillbMeprintingontheparentpapMersize.\Thatis,rmpageʹassumes*thatify!ou've*askedfor2/3longA4,7you'llbMeprintingonthetop2/3ofasheetofA4,=notacutsheetof2/3A4.ImOrthatify!ou'veaskedfor1/4longfA4,y!ou'llbMeprinting4pagesononesheetofA4.$Seethec!hapters6and7to ndouthowandwhythisisdone,(andhowtofc!hangetheseassumptions.LMain2sizesʹThere'şalotmorepapMersizesa!vdDailablenow;_havealoMokatsections5.1.2and5.2.1forthefulllist.AAn!yofthemainpapMersizescanbeturnedin!toalong/papMersize(seethesectiononlongpapersizesabo!ve),Gand/anypapMersizecanfbMemadelandscapeorportrait.$Thefa!vdDailablepapMersizesinclude:)22OJ'FJ3 s3 @ letterpaper,fexecutivepaper, @ andflegalpaper.&USpapMersizes@ a0paperftoa10paperNISOstationerysizes@ b0paperftob10paperNISOpMostersizes@ c0paperftoc7paperCISOen!velopMes@ dlpaperfandc7/6paperISOen!velopMes@ no10envelopepaperιUSfen!velopMes@ foolscapefoliopaper Xzobsoletefstationery @ There'so!ver70sizesinall|to ndouthowpapMersizesaredeclaredtormpage,@ andfho!wtoaddnewone,seechapters6and7.@ 2.5.8j Founts@ TheIstandardLٽAGT,[wEB Xclassescalculatea\textwidthontheassumptionthat@ y!ouwillbMeusingComputerModernRomanasthemainbodytextfoun!t.@ Butthelegibilit!yofalineoftextdepMendsinpartonthethewidthofaline@ measuredinc!haracters,(Randdi erentfountshaveadi erentaveragecharacter@ widths,sodit'ssensibletocalculateadi eren!t\textwidthifyou'reusinga@ di eren!tfmainbModyftextfount.Q rmpagewillcalculateanappropriate\textwidthify!ouuseoneofthe@ optionsfbMelo!wtotellitwhatyouareusingasyourmainbModyftextfount.@ avantwidthdPSFNSSfAdobMeAvdDan!tGarde.@ bookmanwidth fPSFNSSfAdobMeBookman.@ chancerywidthfPSFNSSAdobMeZapfChancerye.@ cmrwidth dDefault.ComputerfMoMdernRoman.@ concretewidthfDonaldKn!uth'sConcreteRoman.@ courierwidth fPSFNSSfAdobMeCourier.@ helvetwidth%PSFNSSfAdobMeHelv!etica.@ lucasualwidthfbhLucidacasual.@ newcentwidth fPSFNSSfAdobMeNewCen!turySchoMolbook.@ palatinowidthfPSFNSSAdobMeP!alatino.@ timeswidthdPSFNSSfAdobMeTimes.@ utopiawidth%PSFNSSfAdobMeUtopia.@ thisfountwidth漹Basesf\textwidthonthecurren!tlyselectedfount.@ Thedthisfountwidthisusefulify!ouareusingafountnotcoveredbythe@ standard.options:Nitw!orksbymeasuringtheaveragecharacterwidthofthe@ foun!t thatwasselectedwhenrmpagewasloaded.FeorthistoworkpropMerlye,@ y!ousmustensurethatthemainbModytextfoun!thasbeenselectedbeforeloading@ rmpage.FeorEexample,ify!ouareloadingAdobMeBaskervilleinyourpreamble,@ y!oufcouldaskrmpagetosetanappropriate\textwidthlikethis:@ \documentclass[thisfountwidth]{article}@ \renewcommand{\rmdefault}{pgm}@ \rmfamily@ \usepackage{rmpage}@ \begin{document}@ ...23\@'FJ3 s3 ʹIf3y!ouhaven'ttoldrmpagetoshutupwiththeyorkshireoption,itwill tellvy!ouwhichfountit'susingasthebasisfor\textwidth|thisisusefulforpMeopleflik!emewhogethorriblyconfusedbythedetailsoffountselection.*$Ify!ouwanttouseoneofthePSNFSSpackdDagestoloadafountaswellassetfa\textwidthbasedonthisfoun!t,youcanuseoneoftheseoptions:l.loadavantdRequiresftheavantpac!kdDage.loadbookman fRequiresfthebMookmanfpac!kdDage.loadchanceryfRequiresthechancerypac!kdDage.loadhelvet%Requiresfthehelvetpac!kdDage.loadnewcent fRequiresfthenew!centpackdDage.loadpalatinofRequiresthepalatinopac!kdDage.loadtimesdRequiresfthetimespac!kdDage.loadutopia%Requiresftheutopiapac!kdDage.۪Eac!hfoftheseloadfountoptionsdoMesthreethings: ~1..|Loadsfthenamedpac!kdDage ~2..|Calculatesfa\textwidthbasedonthenamedfoun!t ~3..|Setsfthet!ypMesettingparameterstolooservdDalues.$The~t!ypMesettingparametersareonlyloosenedalittle.fThec!hangedoes nota ecttheLٽAGT,[wEB Xcommands\fussyand\sloppy,Tsousingthe\onecolumnʹand\twocolumncommandswillo!ver-ridethisc!hange.ךYeoucanduplicatethee ectYofthisloMoseningwiththe\sloppinesscommand|seesection2.5.12onfpage27formoredetails.$Ify!ou'veaskedforatwocolumnlayout,yougettypMesettingparameterscloseltothestandardLٽAGT,[wEB Xslopp!yvdDalues,xvunlessyouover-ridethisloMoseness.Becausekthemulticolpac!kdDagemakesitsownarrangements,youdon'tgettheslopp!yBSvdDaluesifyouaskedfortwocolumnwidthtotencolumnwidth;Irmpageʹsetsthet!ypMesettingparametersasifyouwereusingaonecolumnlayout.Pleasefemailmeify!ouhaveanythoughtsonthismatter.$ThekbthreeloadfountoptionsbMelo!warealittledi erenttothePSNFSSʹfoun!tfloadingoptionsabMove:e loadconcretejùRequiresthebMetonpac!kdDage;calculates\textheightbasedjon}bMeton'smodi ed\baselineskip;$sets\textwidthforjConcrete~Roman; doMesn'tloosent!ypesetting. %Seesec-jtionf2.5.11onpage25formoreonbMeton.6fgloadcourierjùMak!esAthedefaultromanfountCourier,wsetsanappropri-jate2S\textwidth,UOandasksforlooset!ypMesetting.I20thinkjthisisuglyandcrude:y!oumightbMebettero usingthejtimesfpac!kdDageand\ttfamilyloadlucasualjùRequires $thelucasualpac!kdDage; ZsetsloMosetypMeset-jting manda\textwidthtomatc!hLucidaCasual.jNeeds thelucasual les; a!vdDailablefromCTeAN atjfonts/psfonts/bh/lucasual/.)24g'FJ3 s3 @ 2.5.9j Printers)0@ It{canbMeusefultoletrmpagekno!wabouty!ourintendedoutputdevice,ebMecause @ itcanensurethatthela!youtitproMduceswill tinsidetheprin!tableregionof@ thepapMer.A!tthemoment,5 therearen'tverymanyprinteroptionsthatmatch@ real$prin!ters.AsI$getmoreinformation,>Ishalladdmorerealprin!teroptions. Q Yeoudcanaddanoptionfory!ourownprinter,horchangethewayyour@ rmpageHinstallationsetnon-prin!tingmarginsforyourprinter|thedetailsare@ describMedfinsection7.4onpage81.Q Thefa!vdDailableprinteroptionsthatI'ladmittohereare:ȍ@ fullbleedprinter%Prin!tsfrighttotheedgeofthepapMer@ generalprinterThisfshouldbMe neforan!yone@ optimisticprinter@ pessimisticprinterfUsesthelargestnon-prin!tingmarginsI'vefound@ dw500printer&$bAn!yfHP500seriesinkjet@ dw600printer&$bAn!yfHP600seriesinkjet¿@ 2.5.10p Dateformat)0@ YeouEcanc!hangethewaythe\todaycommandprintsthedatewiththeoptions@ bMelo!w:@ ukdatefnicedate d5thNo!vembMerf1693@ usdatefothernicedateDefault:July4,1776Y@ Only; theukdateandnicedateoptionsmak!eanychanges:Qtheusdateand@ othernicedatefoptionsdonothing. Q The{optionsnameshappMenedlik!ethis:cI>oncewroteaLٽAGT,[wEB Xstyle lecalled@ nicedate,Zwhic!hGproMducedthesamee ectasrmpage'snicedateoption|IGlike@ dates#prin!tedlikethat,=Jyousee.WhenI"includedthenicedatecoMdeinrmpage,@ itfmadesensetoaddacomplemen!taryoption;henceothernicedate.Q othernicedate1seemspreferabletonastydate,Ibutit'snotterriblymem-@ orable,soHICcreatedthesynon!ymsukdateandusdate.~I'mnotkeenonthese@ option names,abutIcanatleastremem!bMerthem.Ifyoucanthinkofsomething@ di eren!t,fpleaseletmeknow.¿@ 2.5.11p The2kAH cmssbx10b]etonpack@age)0@ Theeasyw!ayofusingFerankJensen'sbMetonpac!kdDage|touseDonaldKnuth's@ ConcreteRomanfoun!ts|withrmpageistopasstheloadconcreteoption@ tormpage.wThiswillloadthebMetonpac!kdDage,Qandsetverticalandhorizontal@ la!youtfparametersfortheConcreteRomanfoun!ts:ȍ@ \documentclass[loadconcrete,concrete-math]{article}@ \usepackage{rmpage}Y@ The!exampleabMo!ve!tellsrmpagetoloadtheconcretefoun!tsusingthebeton@ pac!kdDage.}AllEglobaloptionsarepassedtoallpackdDages,sobMetonandrmpageare@ passedloadconcreteandconcrete-math.rmpageignoresconcrete-math25u'FJ3 s3 ʹand actsonloadconcrete;4whilebMetonignoresloadconcreteandactson concrete-math.쩍$BecausewthebMetonpac!kdDagechanges\baselineskip,,butthechangesdon'ttak!ee ectuntilthebegin{document}commandhasbMeenexecuted,andrmpageneedstokno!wabMoutthevdDalueof\baselineskipwhenit'ssetting\textheight,thebMetonpac!kdDageneedsspecialsupportinrmpage.Ev!erything's takencareofifyouusetheloadconcreteoption.1IfyouwanttofloadbMetonwitha\usepackagecommand,y!oushoulddothis:֍#.|ιLoadfbMetonbeforermpage#.|ιP!assfthebetonoptiontormpage#.|ιP!asstheconcretewidthoptiontormpage|seesection2.5.8onpage23.Lik!efthis,forexample:8卑\documentclass[beton,concretewidth]{report} \usepackage{beton}\usepackage{rmpage}\begin{document}...֍ʹThere'sinoneedtopassthebetonoptiontormpageify!ou'realsopassingthestdbaselineskipfoptiontobMeton,butitwilldonoharm.$rmpageعneedscoMdethatisinbetonv1.3,ǵ5thMarc!h1995,togetthingsrigh!t.This?versionofbMetonwascurrentinAugust1996.I'vemadermpageʹc!heckJ6thede nitionofthebMetoncommandituses,\butify!ouhaveanydoubtsthatfrmpageisdoingitsjobpropMerlye,y!oucantrythis:8卑\documentclass[beton,chatty]{article}\usepackage{beton}\usepackage{rmpage}\begin{document}\typeout{\the\baselineskip\spaceaccordingtobeton}\end{document}֍ʹLoMok9throughtheconsoleoutputforthelinesthatlooklik!ethis(thenumbMerswillfvdDarydepMendingonpapersizeetc):\textheightis:$[48x13.0pt+10.0pt=634.0pt֍ʹThisqisarepMortofthen!umberqoflinesinthetextbody(48H+1=49qinthiscase),mandho!wthe nal\textheightisarrivedat.ThesecondnumbMer|131ptkLin@thiscase|is\baselineskipasseenb!yrmpage.IfthisnumbMeristhesameeasthe\baselineskipaccordingtobMeton|asreportedontheconsole|ev!erything'sfprobablyokdDaye.(ThelastterminthesumabMoveis\topskip).)26+'FJ3 s3 @ 2.5.12p Typ`esettingparameters@ LٽAGT,[wEB X's&\sloppycommandtellsT,[wEXtobMelessfussyaboutlinebreaking. @ It's sometimesusefultobMeabletotellT,[wEB Xtobelessfussythannormal,@ butOnotasslopp!yas\sloppy.pAgoModOexampleistypMesettingwithfounts@ installedY,̍,*̎̉,S }f] }fg }fq }f{ }f }f }f }f }f }f }f }f }f }f }f }f }f }f }f }f }f% }f/ }f9 }fC }fM }fW }fa }fk }fu }fS }f] }fg }fq }f{ }f }f }f }f }f }f }f }f }f }f }f }f }f }f }f }f }f% }f/ }f9 }fC }fM }fW }fa }fk }fu }fR}̎}'}̎R̎}'̎}w ffw Yft fft Yfv̎v̎v\̎v\̎hv̎ v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎hv̎ v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎v̎,A> NHeader̉A>KK̍\͍OBoMdyK̎̉A>Ӏ̍2O2F:oAoter̎̉S>KK̍beMargin eNotesK̎̉ < lcircle10in88 2fdWO line10 2fdW-) %i&'87(؟ʀfe) ʀ?(ؠ fe) 6e ـinc81S ٳ2fd άj ٳ2fd - x32fd m x32fd -h xiyf83a iij]c10T i32fdάf i32fd-T Z32fd E Z32fd -c Zi[a9؟ fe 6؟ʀ fe ʀ? incc11d kimnb2dZؠ} fed }?dZؠf fed c6 kimn84ؠ fe 6ؠ} fe }? kimn85ؠ fe 6ؠfe ? kimn86ؠ fe 6ؠfe ?5@s1E4ߤN cmtt91VA:oneinch+\hoffset42oneinch+\voffset E3VA:\oddsidemargin=64pt44\topmargin=3ptE5VA:\headheight=0pt46\headsep=0ptE7VA:\textheight=663pt48\textwidth=369ptE9VA:\marginparsep=10ptz10\marginparwidth=53pt@ 11VA:\footskip=30pt\marginparpush=5pt(notshown)VA:\hoffset=0pt\voffset=0ptVA:\paperwidth=597pt\paperheight=845ptoZ Figuref3.1:Theoutputofthe\layoutcommand!7@ ofVpapMery!oulike,rmpageishappytomakenon-ISOSsizesintoISO-stylelong @ sizes.XThismeansthatAmericanswhow!anttoprin!tsmallbMookletswithtwo@ pages ttingononesheetofletterpapMercanproducepagesv!eryeasilywith@ rmpage,ab!yOaskingforletterpaperand1/2longpaper.Yeoucandothesame31 Ƞ'FJ3 s3 ʹthingZwithA4papMer,jbutwh!ynotjustaskfora5paper?ĺOnecommonly-used longsizeis2/3A4,]whic!hisoftenusedforcompanyinvoicesandcommercialletters;%it'sdoftenusedinlandscapMeorien!tation(210nmmV198nmm)soit tsneatlyfin!toaworlddesignedforA4-widepapMer.P>靲IfyouaregoingtoprinttwopagesononesheetofUSletterpapGer, .|as&8I&suggested,Zprmpagestandardway&8ofdecidingwhattosetthenon-.|printing9PmarginstomightbGeinappropriate.Ifso,rOlookattheprinter.|papGerRjsettingcodeinthecon guration le,andspecifyclearancesfor.|theDjappropriateprinterandpapGercombinations.l#Section7.5onpage81.|hasUUmoredetailsonthis. >AƬgoGodreasonfornotaskingfora4paperandthen1/2longpaper,Ris.|thatifthecon guration lehasparticularsettingsforA5papGer,itwon't.|applywthemtothislongpapGersize,eventhoughit'sthesamephysical.|size.qAUUgoGodreasonfordoingsoisthatyoumightwantthat.2]$rmpagefacceptsthesepapMeroptions(andmore):Pꍍa0paperftoa10paper, b0paperftob10paper,c0paperfc7paper,c7/6paper,dlpaper,no10envelopepaper,etc$Options:notlistedhereincludesomenon-ISO:en!velopMe:sizes,_oldBritishbMook9 sizesandsoon:'theoMddersizesarek!eptinthecon guration le.Seesectionf5.2.1onpage56formoredetails. '$YeouJcangetalongsizeb!ypassingoneoftheseoptionsalongwithapapMersizeDoption:notlongpaper,s7/8longpaper,3/4longpaper,2/3longpaper,5/8longpaper,:1/2longpaper,3/8longpaper,1/3longpaper,1/4longpaper,orf1/8longpaper.$rmpageMmak!esanhonestattempttoworkouthowyou'llbMeprintingtheselonghqsizesout(seesection6.6),tbutitsdecisionmigh!tapplylimitsthataren'twhatPy!ouwant.BIfso,; you'llhavetoaddsomecoMdetothecon guration letofo!ver-rideitsguess.Section7.5onpage81hasmoreonhowtodothis.$By`thew!aye,bMecause`A3prin!tersaren'tunheardof,andbMecausey!oucanprin!tù(say)1/3longA2onA3papMer, itmakespMerfectsensetoincludeanoption|Ttode neA2papMer.Itseemedc!hurlish|Tnottogoallthew!ay|TuptoA0.2/3pA4isapparen!tlyasizecommonlyusedforprintingbusinessinvoicesandtheݢlik!e.IfanyonereallydoMesusermpageforproducingA3pages,qpleaseletmefkno!w|it'ssomethingI'vebMeenwonderingabMout.$Ifan!yonewouldliketoletmeknowabMoutmoreUSpapersizes,I'dbehapp!yftoincludetheminfutureversionsofrmpage.#.ٍ3.58-Settingffthebs3odyfftextsize獑ʹThere'sfmoredetailonho!wthisworksinsections6.1and6.2.$TherangeofvdDaluesa!vailablefor\textwidthand\textheightisacom-promise.I&w!antedUtok!eepthenumbMerofoptionsdown,%proMduceawidespreadoffvdDalues,withasmallminim!umstepsize.)32!ح'FJ3 s3 Q Thew!aythingshaveturnedout,thestepsizefromonelengthoptiontothe @ nextis,_ingeneral,di eren!ttothestepsizefromonewidthoptiontothenext.@ So y!oucan'tmaintainaparticularbalanceoftop:outsideandbMottom:inside@ margins¶(orwhatev!er)bymovinguptothenextwidthandlengthoption.@ There's2Gnoeasyw!ay2Groundthis|I1wrotermpagetoset\textheightand@ \textwidthindepMenden!tlye,kbecausethatseemedmostsensibleatthetime.@ Teo?Qensurea xedaspMectratiow!ouldmeanI>wouldhavetore-writeitto@ includecoMdetoscaleupanddo!wnthrougharangeofaspectratios,֢whic!h@ migh!tShavetobMerelatedtotheaspectratioofthepaper,~:andallo!wyouto@ scale~'theo!verall~'sizeofthetextbMody~'upanddo!wn.eThisisabigjob.I'd@ lik!e4tobMeabletosetthetextsizethatwayaswellasthewayrmpagedoMes@ itatthemomen!t,֨butit'llhavetowait|IsuspMectI'llhavetore-structure@ theQ3en!tirepackdDagetobMeabletosupportbothw!aysQ3ofdoingthingswithout@ gettingfcompletelymixedup.=,Q IdecidedtosetbMoththewidthandheigh!tofthetextbodyb!yscalingup@ and!)do!wngeometricseries.N%The\textheightserieswaschosenbydeciding@ that}#thelongestlengthshould llanordinarypageofA4,dassuminga6nmm@ non-prin!ting_bMorder.GThenormallengthlengthwassettothestandardvdDalue@ (this/isonlystrictlytrueify!ou'reusingheadersandfoMoters),R%whichde ned@ thegeometricseries.UTheshortestlengthonA4isabMout163nmm,justo!ver@ half[thepage.BItturnsoutthattheseriesproMducesacen!tralminimumstep@ (normallengthplustouchlonger)thatisabMoutoneline(131pt *,nearenough),@ sofIthinkit'sappropriate.Q Theͳ\textwidthpapMer-basedwidthseriesw!asderivedsimilarly;aYthe -@ nalVvdDaluesgiv!easpreadbasedonawidestvaluethat llsanA4pageto@ withinabMout7nmm\oftheedge,anddo!wntojustoverhalfthepage.The@ \textwidth+c!haracter-basedwidthserieshasbMeenmoreofaheadache;the@ curren!t$(rmpwnorm.pkov0.52)v!ersiongivesaspreadfromabMout75charac-@ ters inthemiddle,,toabMout98and57c!haractersattheextremes.Thecentral@ minim!umoMstep(normalwidthplustouchlonger)isjustunder2characters,@ whic!hIseemssuitablysmall.Theproblemwiththecharacter-basedwidthset-@ tingisthatthestandard\textwidthisattheuppMerlimitforeasyreading;@ the widesta!vdDailablewidth,۵bMeingwiderthanthis,isfar,far,fartoMowidefor@ easyreading;C5buttheminim!um\textwidthdoMesn'tgetclosetotheminimum@ \textwidthOforeasyreading.Butthatprobablyw!on'tmattertoMomuch;Wthe@ minim!um widthislessthanhalfanA4pageifyou'reusing111ptJComputer@ MoMdernRomaninonecolumn,B\whic!hseemssmallenoughformostthings@ Icanthinkof(y!oumightwantalayoutwhichplaces guresandextensive@ sidenotesinthemargin;ifmostofthemarginalnotespacew!eretobMe lled,@ ha!vingfaverylargemarginandsmall\textwidthmakessense.)&&@ 3.6eoFfounts-@ 3.7eoMarginalffparagraphs-W@ rmpageloMoksattheev!erythingincludingthesunspotcycleandthephaseof@ themoMonwhenitcalculatesthewidthofmarginalparagraphs. Section5.2.2@ onpage59listsalltheoptionsthatcon!trolmarginalparagraphsize,candhas33"ݠ'FJ3 s3 ʹsomefmoreinformation.CW$Notethis:\thedefaultmarginformarginalnotesistheoutsidemargin forţt!wosidedprinting,sandtheright-handmarginforonesidedprinting.;ThestandardcLٽAGT,[wEB Xcommand\reversemarginparwillrev!ersethemarginalnoteplacemen!t;x\normalmarginpar|willputitbacktonormal.Ifyouareprintingt!woMcolumn,fthemarginalnotesendupinthenearestmargin.$rmpage6dpa!ysattentiontoallofthis,candmakesthemarginalnotesaslargegaspMossiblegiv!enthemargintheywillappearin. Thesizeiscon-strained b!yvdDariousparameters,8controlledbythemaxmparwidth,8mparsep,andfmparclearancesetsofoptions.$Thezclearanceparameter|thelength\RM@mparclearance|isthemin-im!umJtgapbMetweenthemarginalnoteandtheedgeofthepapMer,swsubjecttotheadditionalrestrain!toftheavdDailableprintingarea.ԜIt'shardwiredto0.41ininDstandardLٽAGT,[wEB Xv2z",;rmpagesetsittobMeafractionof\paperwidthwhic!hw!orksVouttobMe0.41in ifyou'reusingUSletterpapMer.Thesepparameter|thelength\marginparsep|isthegapbMet!weenthemarginalnoteandthebodytext|thisJvisastandardLٽAGT,[wEB Xparameter. Themaxwidthparameter|thelength>\RM@maxmparwidth|isthemaxim!umallowedwidth:o21inpinstandardLٽAGT,[wEB X, afractionof\paperwidthwhic!hworksoutto21inifyou'reusingUSletterkpapMerwithrmpage.TherearealsothesmallandlargebasemparclearʹandEbasemaxmparwidthoptions.-Thelargev!ersionsoftheseoptionssetthenormalfparametersizetot!wicetheusualdefaultvdDalue.$Sorify!ou'regoingtoswitchto\reversemarginparinyourdoMcument,dosoKXbpeforey!ouloadrmpage.̴Ifyou'regoingtoswitchfromonetotheother,bMeforey!ouloadrmpageselecttheonewhichallowstheleastspaceformarginalparagraphs.$IfhIy!ou'redeeplyinterestedintheworkingsofmarginalparagraphsizeandplacemen!t,WDhavealoMokatthedtx les:tIYthinkthebasicideaisob!vious.Noteb}thattheparameters\RM@mparclearance\RM@maxmparwidthcanbMesetto$an!ypMositivevdDaluebyoneofthehoMoks(\RM@PrinterPaperSettingsmightbMeagoodonetouse)iny!ourcon guration le:LnegativevdDaluesareusedbyw!ayfof agstosetinitialvdDalues.&J>3.88-Theffcon guration lesTrmpageusesacon guration letodolotsofstu . mThew!ayitw!orksisthis: ifOneisthattheymigh!tnothavermpage, andanotheristhatev!eniftheydohavermpage, itispMossiblethatyouha!veHspMeci edoptionsthatproducela!youtHparametersthataredependen!tony!our`particularprinter,nwhichyourrecipientmightnothave,nandeveniftheydoha!vethatparticularprinter,theymighthaveloMcalcon gurationcode|particularlyjprin!ter/papMerspeci csettings|thatproducesasligh!tlydi erentresult.$There'snsev!eraldi erentthingsyoumightdo,:depMendingonthecircumstances|thethingtodoisthinkabMoutwherey!ourdocumen!t'sgoing,ǒwhat'sgoingtohappMenftoit,andho!wyouwantitformatted.$Intheusualrunofthings,zadoMcumen!tthat'sbeenformattedwithLٽAGT,[wEB Xand9Rin!tendedforgeneralreleaseislikelytobMeprintedonA4papMerandUSletter-papMer,!soy!ouhaveinstallation-depMendentdi erences1 b1evenwithoutrmpage|it'salw!aysworthcheckingthatthisdi erencewon'tcauseaproblem(solUShauthors:c!heckthatyourdoMcumentworksonA4papMer,andeveryoneelseinthew!orldmakeane ortforthoseisolatedAmericans.5;LoMok,5wjustgometric,willaIy!ou?IareadmapsinmilesanddrinkbMeerinpints2,butreallye,metric0funitsmak!elifesomucheasier.{IfusandRtheItalianshavemadetheswitc!h,socanyou.+Italians?Yees,Italians:justwhichempiredoyouthinkisreferred tointhephrase`ImpMerialunits'Yees,)that'srigh!t,theRomanEmpire.Ho!w3abMoutadvdDancingintothe19thcenturybMeforethe21stbegins,J*eh?oSorrye,afminorran!t,butonethatIthinkshouldbMemadeoccasionallye.)$Ignoring_papMersizesforthemomen!t,-ifyourrecipMenthasacopyofrmpage,formatJy!ourdoMcumentwiththepessimisticprinteroption,\ensurethattheresultfisacceptable,andsendthething.$Ify!ourloMcalcon guration lehasnon-printer-spMeci csettingsthata ecttheoutput,,y!oumightsendacopyofit(includedinthepreambleofyour lebMeforethe\usepackage{rmpage}command,kusingthefilecontentsen-vironmen!t)1underthenamejobname.rmp.Thatis,I ifthedoMcumentisina leʟ 6ff3 L͍ {-=1aA4BpapAeris2108mmd/ cmsy9i2978mmor8.5" cmmi9:278inc9hes11:698inc9hes;USBletterpapAeris8:58inc9hes 118inc9hesporT215:98mm8279:4mm  {-=2arealTpin9ts,notyoursawn-o USversion)36%'FJ3 s3 @ calledcanes-venaciti.tex,callthecon guration lecanes-venaciti.rmp @ andfitwillbMeusedasthecon guration leforthatdocumen!tonlye. ЍQ Or.y!oucouldrunLٽAGT,[wEB XwiththechattyoptionspMeci edtormpage,`and@ cop!ynallthepagelayoutparametersfromtheconsolewindowandpastethem@ in!toDthepreambleofyourdoMcument.~IfyourversionofLٽAGT,[wEB XdoMesn'tallow@ y!ouztocopytextfromtheconsolewindow(Oz[T,[wEB X2.0fortheMacintosh@ doMes;4Idon'tkno!waboutotherv!ersions),Fcopythetextfromthelog le.@ Thencommen!toutthecalltormpage. Theproblemwiththisisthatit xes@ ev!erything,includingpapMersizes,soarecipien!twhousesA4papMerwon'tbMe@ impressedzifthey3 :getadoMcumen!thard-formattedforUSzletterpaper,and@ vice-v!ersa.qOfcourse, youcouldprovidetwosetsofpagelayoutparameters,@ withanotetotherecipien!ttochoMoseoneortheother.QDThisismessye,|butit@ migh!tfproMducethemostreliableandlegibleresults.Q AdpMossible޵w!ayroundthepapMerproblemistoassumethatno-onewill@ bMeLprin!tingonanythingotherthanUSletterorA4papMer, andthepeople@ receivingqthedoMcumen!twon'tmindifthelayoutisn'tverygoMod.wThatqwaye,you@ migh!tusetheletter4paperpapMersize.~Thispapersizeis210nmm38:5ninc!hesc,@ and5doMcumen!tsformattedwithitwill tonA4andUS'letterpaperwithout@ formatting c!hanges.Mindyou,&theresultswon'tbMeverynice,&andworseon@ USletterpapMerthanonA4|letter4paperpagesprin!tedonA4willbea@ littletoMoshort,whic!henlargesthegapatthebottom.vVeeryoften,thisisn't@ toMoHZnoticeable.Butletter4paperpagesprin!tedonUSHBletterpaperwillha!ve@ theftextbModyftoofartotheleft,whic!htendstolookv!eryawkward.#T@ 3.10mSps3eedffandwhattodoaboutitS@ rmpageAc!hewsupalotofproMcessortimewhenitisbeingprocessedatthe@ startofaLٽAGT,[wEB Xrun,butaddsnothingtosubsequen!tproMcessingtime|allit@ doMesNisc!hangepagelayoutparameters.*Narrowcolumnsorshortpagesgive@ T,[wEB X7ahardertimeinlineandpagebreaking,Mwhic!hmightincreaseproMcessing@ time,nbutFIFw!ouldn'tworryabMoutthatifIFwereyou|theunderfull\hboxes@ andf\vboxeswillcausey!oumoreproblemsthattheextra0.2stime.Q One v!erionofrmpage(v0.65)added18.51s +toaLٽAGT,[wEB XrunonmyMac.qThe@ samev!ersionofrmpageadded19.1stotheproMcessingtimewhenIuseditwith@ the|commen!tsleftin(bMeforebeingprocessedb!ydocstrip).Thisisanincrease@ of0.6sor3%.Veersion0.86added161s withcommen!ts,or151swithout,an@ increaseof7%.FInthiscase,K lesizew!asreducedfrom2001KOto851K Ww.It@ seemsythat,(onm!ycomputer,themainbMene tofusingdocstriptoremo!ve@ commen!ts fromaninput leisreduced lesize,notreducedproMcessingtime.@ A:not-terribly-formal;testconcludedthateac!hcharacterinthe rstargument@ toeac!h\DeclareOptioncommandaddedabMout10nmstoprocessingtime|I@ sa!ved~1.61s dwithv!ersion0.72bycommenting-outeightoptionscontaining176@ c!haracters.Q MycomputerisaMacin!toshPerforma47512/160witha25MHz68LC040@ microproMcessor;~IamctoldthisprocessorisroughlyequivdDalen!ttoa40MHz@ 80486SX.PFeorthetestsnotedabMo!vePIPusedOzTeXPv!ersion2.0.1and2.1under@ systemfB17.1P5SU3.@ @Off3 L͍ {-=3aATusefulw9ayTofa9voidingThe/shethathasanancien9thistory37&''FJ3 s3 $ʹYeoucanspMeeduprmpagequitealot.)Alargeamoun!tofthetimetaken b!yrmpageisinproMcessingoptions|LٽAGT,[wEB Xv2z"('soptionprocessingmec!hanismisgv!eryslow.Commentingoutoptionsinthecon g leisverye ectiveatreducingEproMcessingtime(it'sthelengthoftheoptionnames,Xnottheamoun!toffcoMde,thatincreasesthisprocessingtime). $Feor3example,أrmpagev!ersion0.66increasedthetimetoproMcessadocumen!tb!y21.2s;L with73optionscommentedout,0mrmpageonlyadded12.1s.)"ThisisanBimpro!vementofnearly60%.pThisiswhytherearetwocon g lessuppliedwithrmpage:aslo!wonewithalltheoptionsenabled,! andafasteronewithsomefoptionscommen!tedout.$Yeoucanmak!ermpageworkfasterbycommentingout(don'tdeletethem|y!ouoneverknowwhenyoumightneedthem)alltheoptionsyouthinkyouwon'tusex4v!eryoften.SFIfyoudowanttouseoneofthesecommented-outoptions,uncommen!t5it(andalltheoptionsinthesamegroup|you'llseewhatthismeans1wheny!ouloMokatthe le)andleaveituncommented.=TheAlphatexteditor, forMacin!toshescancommentoutagroupoflinesifyouselectthelinesand(presscmd-D;itcanrev!ersetheproMcessifyoupresscmd-opt-D.IexpMectotherOtexteditorscandothesamejobsomeho!w:04itmightbMeworth ndingoutfho!wtodothiswithyourtexteditorifyoudon'talreadyknow$Some^v!ersionsofT,[wEB XundersomeopMeratingsystemstakequiteatimeto nd lestobMeinput.ܱIfthisisthecaseony!ourcomputer,youmightbMeableto reduceproMcessingtimequitealotb!yplacingfrequently-used lesinaplacethat$issearc!hedearlyon.I$havealistoffoldersinmyTeX-inputsfolderthatloMoksfabitlik!ethis:aaLaTeXabRat2e<---rmpageisinhereabtoolsacmfnfssacother2e<---otherpeople'spackagesacotherfdacPSNFSSba.cfgfilesetcbaother2.09baRatoldbbchicken<---LiverpoolJohnMoore'sUniversitylogobbnewfdsbbotherLaTeXbbsomeAMS-LaTeXzaafmzafontinstzafontinstexampleszafontinstinputszzGraphicszzPlainzzRatex+tmp-$ʹIt's!acompromisebMet!ween!speedandeaseofmanagemen!t:TIcanchangeparts"ofm!yLٽAGT,[wEB Xsystemwithoutgettingaheadache,Aandit'snottoMoslow)38':#'FJ3 s3 @ for'me.Thecommonly-usedfoldersarepre xedaa,ab,end'soon;Ofcourse,k9you'vegotto ndoutwhatconven-@ tional]is.LoMokatprofessionallydesignedt!ypography:at]howthetextbMody@ sitsonthepageofabMook,andinmagazinesandnewspapMers|isthetexthigh,@ lo!w,DYor$inthemiddle?Xclosertothebindingedgeortheoutsideedge?Ho!w@ big,.in[visualrelationshiptoeac!hotherandthetextbModye,are[themargins@ top,HbMottom,inside(Dandoutside?cwWhataboutcolumnsoftextinmagazines@ andnewspapMers|ho!wwidearetheye,what'sthegapbet!weencolumnslik!ein@ relationshiptothecolumnwidth,thesizeofthea!veragewordspace,andthe@ pagemargins?bHo!wdoMesthecolumnwidtha ectreadability|thinkabMout@ thefe ectofcolumnwidthonline-breakingandthe o!wofreading.`vQ Yeou'll/noticethatcon!ventionally,lines/oftextlongerthanabMout75c!har-@ actersarea!voided,asarelineslessthanabMout45c!haracters;&andtheoutside@ marginPisusuallylargerthantheinsidemargin,{^forthev!erystraighforward@ reasonthattheoutsidemarginistheonethat'smostdelicateandmosthan-@ dled.YIfzlit'sbig,mdamagetothepapMerislesslik!elytodefacethetext.The@ bMottomimarginisusuallybiggerthanthetopmarginforthesamereason|and@ ev!en9thoughthisreasonisasoundpracticalone,-ifyouproMduceapagewith@ aDsmallerbMottommarginthantopmargin,|itlooksv!eryoddtomostpeople.@ It's.alsofairlycon!ventional.fortheaspMectratioofthetexttomatc!htheaspect@ ratioofthepapMer|ifthetextishalfthewidthofthepaper,6it'llbehalfthe@ heigh!tfaswell.Q ThestandardLٽAGT,[wEB XclassesproMduceapagela!youtthat'sgenerallyinline@ with thosecon!ventions,'so ify!oudon'tpassextremeoptionstormpage,y!ou@ can'tgofarwrong.Ofcourse,}ify!ou'reaimingforaparticulare ectforagoMod@ reason,dsuc!h>as llingapagewithatime-table,y!oumightwantthelongest@ andKwidesttextareapMossible.Ify!ou ndthatyouarpeusinganextremeoption@ (longest,!)forexample),thinkv!erycarefullyabMoutwhyyouaredoingit,!)what@ e ectAthisoptionproMduces,Uandwhetherthisisdesirable.TIfy!ou'rejusttrying@ tofcramthatm!uchftextononepage,t!wofcolumnsisprobablybMetter.Q Becausekt!ypMographyistosomeextentanartisticendeavour,2thereisno@ suc!h>thingasanideallayout,d althoughsomeareclearlyinappropriate.But@ after*afewhoursatthek!eybMoard,it'seasytolosetheabilitytojudgethe@ passingoftime,letalonethee ectadesignhasonanewreader.!I ndthat@ it,oftenpa!ystotrustinitialreactions,s]espMeciallywhencomparingasetof@ alternativ!es.So,Vif3hyou'reindoubtabMoutwhichofyour naltwochoicesto@ use,fasksomeoneelsewhattheythinkofthem.&𨍍@ 4.2eoPositioningffthetextbs3ody荑@ Con!ventionihasitthattheoutsidemarginislargerthantheinsidemargin,@ and!thatthebMottommarginislargerthanthetopmargin.It'snotun!usualto@ matc!hthesizesoftheoutsidemarginandthetopmargin.ATheKoma-script@ doMcumen!tation?reportsthatJanTsc!hicholdrecommendsthatthebMottommar-@ gin^shouldbMet!wicethesizeofthetopmargin,m$andtheoutsidemarginshould@ bMeft!wicethesizeoftheinsidemargin.Q Theoreasonrmpagedefaultstoha!vingtheinsidemarginlargerthantheout-41*W'FJ3 s3 ʹside@ marginisthis:mostofwhatI?t!ypMesetendsupinring-binders,Twhereyou need̩alargeinsidemargintoa!void̩punchingholesinthetext.IYeoucanchangethisqdefaultsettingb!yeditingan\ExecuteOptionsstatementinthecon gu-ration le|seec!hapter7.Yeoucanchangethisdefaultinthermplocal.cfgʹ letb!yputtingthestdmarginsoptioninthedefault\ExecuteOptionsstate-men!t.ՆIfayoudon'tliketheamountbywhichtheinsidemarginisbiggerthantheVoutsidemargin|bMearinginmindthatonecon!ventionVhastheoutsidemarginmatc!hingthetopmargin|youcanchangeitwiththeoffsetoptionset. $IfthetopmarginloMoksbiggerthanthebottommargin,thepagelooks`bMottomhea!vy'andratherodd.YItispossiblethattheonlyreasonforthisisthatev!eryonelaysoutpageswithasmallertopmargin,Abutfollowthiscon!ventiontobMeginwith.rmpageactuallymak!esthetopandbottommarginstheUsamesize,fjustasthestandardclassesdo;pthebMottommarginlookslargerbMecausethebottommarginapppearsxtobeginatthebottomofthetextbody;LٽAGT,[wEB XfmeasuresitfromthebMottomofthefooter.$iKXcouldn't gureoutareliablew!ayKXofgettingrmpagetocalculateappparentʹratiostoftopandbMottommargins,8soy!ou'llhavetobalancethisbyeye.GThealtitude,flong,andshortoptionsetscanhelp.$\ҍ4.38-Sizeffofthetextbs3odyʹCon!ventionallye,GoneNtextcolumnis1.5to2.5alphabMetswide;&AthestandardLٽAGT,[wEB X[widthsgiv!eyouabMout2.5alphabetswide(whic!hisaboutthea!veragewidthof75c!haractersofnormalprose,henceLampMort'scommentintheLٽAGT,[wEB XbMook.U1.5alphabetsisabout44a!veragecharacters,butrmpagewarnswheny!ou!getbMelow39characterswide|T,[wEB X'sabMetterlinebreakerthanahumant!ypMesetter.rmpagewarnsyouifyouexceedthe75|39characterlimits;8toMowidesandtoMonarro!warebotha!wkwardstoread,5andtoonarro!wmakesforrotten&linebreaks.2rmpagedoMesreportthe nal\textwidthintermsofwhatitthinksarea!veragecharacters,whichshouldhelptogiveyouanideaoffwhat'sgoingon.$IfBy!oumust llaverywidespace,Vtryusingmultiplecolumns.Ifyoumustuse҅narro!wcolumns,raggedrightsettingsometimesloMoksbetter,althoughasm!ultiple-columnnarrow-columnedlayoutmightneedtohave\columnsepʹadjustedkwithrmpage'scolsepoptions|loMokatanewspapertogettheidea.$Thevproblemwithlonglinesisthis:Owheny!ougettotheendofoneline,y!ouh5needto ndthestartofthenextone."IfthelinesaretoMolong,tthisjobismadeharder.HTheproblemwithshortlinesist!wofold:%thejobof ndingthestart\ofalineisabMother,sothelessy!ouhavetodoitthebMetter;andshortlinesfmak!eforrottenlinebreaks,whichmakesithardertofollowthetext.$Tsc!hicholdDrecommendsthattheaspMectratioofthetextbodybemadetomatc!htheaspMectratioofthepaper.Thisreferstotheappparent۹aspectratios|apparen!tpapMersizedependsonthebindingused,andapparen!ttextbMody sizedepMendsonthenatureoftheheadersandfooters.]Icouldn'tcomeup withareliablew!ay ofcalculatingthecomparativ!eapparentaspMectratios,ʟ ff3 L͍ {-=2aI'm`elying:rmpagew9arnswhenyouexceedthestandardnumbAerofcharacterspAerline, whic9hTis78.5charactersfor10pt,74.8for11pt,and75.5charactersfor12pt.)42+hҠ'FJ3 s3 @ so ify!ouwanttheseaspMectratiosmatched,$you'llhavetodoitbyeye. lThe @ altitude,[offset,long,short,wide,narrowYoptionsetscanhelp..Notethat@ to1m!yeyeatleast,TmatchingaspMectratiosoftenmatterslessthanmatching@ top~Xandoutsidemargins,[whic!hdoMesappearoftentomak!eabigdi erenceto@ m!ynqcomfortwithalayoutonsmall(A5orso)pages.5Andinanycase,sthe@ matc!h&neednotbMespoton|butquitewhatnearenoughiscan'tbespeci ed@ exactlye.ԩSometimesanalmost-but-not-quitematc!his ne,OsometimesitloMoks@ a!wfulKandyou'rebMettero withadeliberate`I'mclearlynottryingtomatc!h@ thesefdimensions'la!yout.%aō@ 4.4eoTyps3efaceslJ@ TheSUmainthingthea!verageSULٽAGT,[wEB Xuserisconcernedwithislegibilit!ye,candthe@ computerd)moMdernt!ypefacesscorehighlyhere.'Icha!ved)justseenav!olumeof@ conferenceOproMceedings(ProceedingsoftheAppliedOpticsDivisionalConfer-@ enceoofTheInsituteofPh!ysics,qheldatReading16{19SeptembMer1996)in@ whic!hxmostpapMerswereproMducedwithLٽAGT,[wEB X,usingthepublisher'sstyle le.@ Teocm!yeye,thepapMerstypMesetinTimeslookmostlegibleataglance;Mathe@ papMerswqt!ypesetinComputerModernfeeleasiertoreadwheny!ougetdown@ toit.JIwmen!tionthistomakethepMointthatjustbMecausesomethinglooks@ righ!t,ldoMesn't]~meanthatit'seasiertoread|notthatTimesisanythingbuta@ famouslyflegiblet!ypMeface.Q Asageneralrule, serift!ypMefacesareeasiertoreadinbloc!ksoftext, and@ sanseserift!ypMefacesareeasiertoreadasisolatedwordsorphrases. This@ explainsMthec!hoiceoftypMefaceonroadsignsandinnewspapers.}T!ypefaces@ withnahea!vyemphasisonverticalstrokes|suchastheBoMdonibelo!vednofUS@ newspapMerheadlines|disrupttheleft-righ!t owofreading,-"whereastypMefaces@ withamorehorizon!talemphasis,>suchasTimesorBaskerville,>easetheleft-@ righ!tf owofreading.Q ChoMosing~foun!tsisatrickything|readthosetypMographybMooks!But~there@ are someruleswhic!hcanhelpyouproMducepleasant,%legiblepages. Beforea@ realexpMertshootsmedo!wnin ames,Idon'tclaimthatthelistbelo!wis`rules@ forfthecorrectuseoft!ypMefaces'|it'sjust,erm,`receivedwisdom',sortof.卍Q:\.Alw!aysfuseaserift!ypMefaceforyourbModyftext.֍Q:\.Keepnthen!umbMernoft!ypefacesandt!ypefamiliesinadesigntoaminim!um|\.usebMold,>italic,di eren!tsized,andma!ybMeslantedtypMefacesfromthe\.oneffamilywhereappropriate.Q:\.Alw!aysF+followconvention|don'tinventanewconventionunlessyou\.reallyfneedto.Q:\.Don't8mixsimilarbutdi eren!ttypMefaces|Timesforthebodycop!yand\.NewfCen!turySchoMolbookfforcaptionsloMoksawful.Q:\.But|domixv!erydi erenttypMefaces|Timesforthebodycop!yandHel-\.v!eticaa(whichI$pMersonallyloathwithadeeploathing)forcaptionsor\.headings,fforexample,canbMev!erye ective.43,zE'FJ3 s3 #.|ιUsexabModyxtextsizefrom91pt"to121pt *;+somebMooksxsuggestnomore .|than6m111ptaforbMody6mtext,LandI6Prec!kon6m101ptisabittoMosmallat300ndpiC,.|butf neat600ndpiC.#.|ιNev!er,]ever,underlinedunlessy!ouabsolutelyhavetoonpainofsevere.|dandru .#.|ιAnd GeorgeOrw!ellsaidinhisrulesforgoMod English,;breakanyofthese.|rulesfratherthandoan!ythingoutrightbarbarous.)44-|'FJ3 @ Chapter 52@ All T{theoptions(rmpagev0.69@ and T{rmplo cal.cfgv0.11)7@ Most)oftheoptionsinrmpagew!orkbysettinganinternalparamters,Bwhichis @ laterDusedtodecidewhatvdDaluetosetsomethingtoaspartofamorein!volved@ calculation.Sometimesmorethanoneparameterisusedinthisdecision.The@ description3ofeac!hoptiontellsyouwhatthisparameterissetto,Vandwhat@ e ectftheoptionhas.'@ 5.1eoOptionsffinrmpage2>@ Thislisalistoftheoptionscon!tainedinthe lermpage;Mothere'slotsmore@ inDthecon guration le.vNoneoftheoptionsinrmpagearecommen!tedout,@ nor]arean!yoftheoptionsinthecon guration lermpgen.cfg.vSomeofthe@ optionsinthecon guration lermplocal.gfcha!vebMeencommen!tedoutfor@ spMeed'sfsak!e;this lewillbeusedb!yrmpageifyourenameitrmplocal.cfg"zE@ 5.1.1j Rep`ortingdimensionsandtracingcalculationsl@ ThesepMortrait_orientationisde nedastheshortsidehorizontal.I2/3A4isusuallyusedinlandscapMeorien!tation(210s198nmm,asareDLenvelopMes.Some5prin!terdrivers,hwhendealingwithDL2envelopMes,hcall`landscape',h`por-trait',fandvice-v!ersa.$rmpagekno!wsabMoutlotsofsizes;Asomeofthemarelarge,Uobsolete,orun!trimmed*papMersizeswhichI!don'texpMectwillbedirectlyusefultoan!yone.It(justseemedinelegan!ttoleavethemout.PerhapsIhaveawarpMedsenseofsthetics.TIfxsy!ouhaveaMacintoshwithQuickDrawGX,youcantellyourprin!ter@driverabMoutanypapMersizethatyourprinterisphysicallyabletodealwith,fsotheseoMddsizesmigh!tbemoreusefulthanIthink.$IfMan!yAmericanswouldliketosendmethedimensionsofsomemoreUS+vpapMer+sizes(includingen!velopes),D&I'll+includetheminfuturev!ersions.TheonlyplacesIcould ndUSpapMersizedataw!ereLٽAGT,[wEB Xclassesandmyprinter'sman!ual.$AccordingftoBS4000:w>ThefISOUAseriesisbasedonA0,&withasurfaceareaof11m 226..|Eac!hjISOjnBpapMersizeisageometricmeanbet!weenadjacentA.|sizes,fwithsidesinthesamepropMortions.>Eac!hxsizeshallbMeacheivedbydividingthesizeimmediately.|abMo!veitin!totwoequalparts,thedivisionbMeingparalleltothe.|shorterside.Consequen!tlye,theareasoftwosuccessivesizesshall.|bMefintheratio2 :1.>Allthesizeineac!hseriesshallbMegeometricallysimilartoone.|another.$WhatGthismeansisthattheratioofthesidesm!ustbMe1:7p 17p y ɍ2,?soGthatA0isf841nmmn1189mm.$TeolerancesfarespMeci edth!us:Z=sizes+B 150mmG,1:5mm150mmJ< sizes 600mmh2mm600mmJ< sizestxmmMaB3mm)46/v'FJ3 s3 Q LongYISOWsizesarecreatedb!ydividingordinaryISOsizesin!toslices,cut- @ tingfparalleltotheshortedge,e.g., ?@ 1/3fA499n210@ 1/4fA474n210@ 1/8fA813n74΍Q 2/3:A4isapparen!tlyacommonsizecommerciallye,^usedforinvoicesand@ theClik!e.Itisde nedas198F210mm@.NoteCthatthestandardde nessizesto@ thenearestmillimetre, butrmpagedoMesnotroundthecalculatedlongsizes,@ norfdoMesitensurethatonlyISOsizesareprocessedb!ythe`long'options. Q rmpageѹdoMesnotlimity!outomakinglongsizesoutofISO|paperonly@ bMecausey!oucanchopupanybitofpapMeryoulike.ThereasonrmpagedoMes@ notroundlongsizestothenearestmillimetreisthatify!ouareprintingona@ piece`ofready-cutlongpapMer,rmpage'smaxim!umdeviationfromthespeci ed@ size,0.5nmm,iswithintolerance;andify!ouaremakingyourownlongpapMer@ b!yhcuttingupastraightsize,uDroundingtothenearestmillimetreona1/8size@ couldresultina4nmmJerrorb!ythetimeyoucutthestripfurthestfromyour@ datumZedge,whic!hisoutsidethespMeci edtoleranceforthesizeofthesheet@ y!ouarecutting.ThefactthatnotroundingiseasiertocoMdeis,̗ofcourse,@ en!tirelyfco-incidentalandplayednopartinthedesigndecision.Q DatasourcefortheoldBritishbMooksizes:P!earsCyclopMedia,668thedition,@ 1959-1960.P!elhamBoMoksLtd.,1959.(GeneralCompMendium,pageN13).A,@ B,andotherun!trimmedsizestakenfromBS4000.C3,:C4,C5,C6,DL,and@ non-ISOen!velopMesizestak!enfromBS4264.C0,C1,C2,C7,andC7/6taken@ fromfTheCam!bridgeFeact nder,CambridgeUniversityPress,1993.Q Eac!hfpapMertypMeisgivenanumbMer: ?@ 0=unde ned,f1=letter,2=legal,3=executiv!e,@ 9=letter4papMer@ 10=a0,f.3..,20=a10(a4=14,a5=15)@ 30=b0, .3..,f40=b10@ 50=c0,B".3..,f57=c7,58=dl,59=c7/6,@ 60=bspMopseeden!velope, 61=bspopnonisoenvelope,@ 62=bsbroMc!hureenvelope,'63=bslegalenvelope,@ 64=bslargelegalen!velopMe,f65=bscalendarenvelope@ 66=no10en!velopMepaper@ 70=foMolscapffolio,71=foolscapquarto,772=foolscapocta!vo@ 73=cro!wnffolio,674=crownquarto,75=crownoMctavo@ 76=ro!yalffolio,77=royalquarto,wz78=royaloMctavo@ 79=impMerialffolio, 80=imperialquarto,81=imperialocta!vo@ 82=largefcro!wnoMctavo@ 83=dem!yfquarto,l84=demyoMctavo@ 85=mediumfquarto,86=mediumoMcta!vo@ 90=ra0,91=ra1,92=ra2,@ 93=sra0,f94=sra1,95=sra2@ 96=metricfdoublecro!wnpapMer,< 97=metricquadcrownpapMer@ 98=metricflargequadcro!wnpapMer,99=metricquaddemypapMer470'FJ3 s3 ʹ100=metricfsmallquadro!yalfpapMer >U$ThefpapMert!ypesaredivideduplik!ethis:͋3 USfsizesrecognisedb!y3options-(1-3)1 bModgefsizerecognisedb!y1optionv(9)11fAsizesde nedb!y11options:forwritingpapMer,books,etc. i(10-20)11fBsizesde nedb!y11options:forpMosters,etc.Ooptions.{That'sinevitableifIha!vetheseoptiondeclarationsbMeforetheloadop-tiondeclarations,`anduse\ProcessOptionsratherthan\ProcessOptions*.ThiswVissothattheseoptionscano!ver-ridewVthedefaultt!ypMesettingtightness(looseish)frequestedb!ytheloadoptions.tight5TDefault.v Lea!vesnthet!ypMesettingparametersalone.De nes\RM@looseoption.|ιtofbMe0.looseishFChangesˋthet!ypMesettingparameterstobesomethinginbet!ween.|thefadjacen!toptions.De nes\RM@looseoptiontobMe1loose5TChangesthet!ypMesettingparameterstosomethingclosetoAlanJef-.|fries'sfrecommendations.De nes\RM@looseoptiontobMe2looser;`Changesٗthet!ypMesettingparameterstobesomethinginbet!weenٗthe.|adjacen!tfoptions.De nes\RM@looseoptiontobMe3loosest@ Changes thet!ypMesettingparameterstosomethingclosetotwiceas.|slopp!yasKarlBerry'srecommendations.xDe nes\RM@looseoptionto.|bMef4)481ߠ'FJ3 s3 @ sloppyishzChangesnthet!ypMesettingparameterstobeev!enlooserthan\sloppy, \.fornt!wocolumntypMesettingwithPSFNSSnfounts.v De nes\RM@looseoption\.tofbMe5.6鍍@ 5.1.4j Textheightsetting@ Theserequesta\textheightshorterorlongerthannormal.}Ify!ouallowspace@ forheadersandfoMoterswiththeheadersandfootersoptions,Dnormallength@ giv!esyouthesame\textheightasyou'dgetwiththestandardclasses.The@ otherlengthsarescaledupanddo!wnfromthenormalvdDalueinageometrical@ sequence.˸(Actuallye,ztheototalspaceabMo!veoandbelo!wthetextbodyincluding@ headers;andfoMotersisthedimensionthat'sscaledinageometricalsequence,@ butfthatshouldn'tbMothery!outoom!uch.)Q TheftouchlengthoptionsaddorsubtractonefromthevdDaluesethere.Q Therearealsostdlengthandfulllengthoptionsinthecon guration@ le;fseesection5.2.4onpage62.獍@ shortesttDSetsn\RM@lengthoption=3;thisn!umbMerngivesyou:B"\RM@totalheadfootclearance =\.0:5200\paperheight@ shorternLSetsf\RM@lengthoption=6@ shortcSetsf\RM@lengthoption=9@ shortishtDSetsf\RM@lengthoption=12@ normallengthCDefault.IASets\RM@lengthoption=15;\thisn!umbMergivesyou:\.\RM@totalheadfootclearance= 0:2130\paperheight@ longishnLSetsf\RM@lengthoption=18@ long]FNSetsf\RM@lengthoption=21@ longerhŢSetsf\RM@lengthoption=24@ longestnLSetsn\RM@lengthoption=27;thisn!umbMerngivesyou:B"\RM@totalheadfootclearance =\.0:0872\paperheight@ 5.1.5j Headersandfo`oters@ These optionsonlydealwiththegapbMet!ween textbodyandtheheader(or@ foMoter).;PSeeŌsection5.1.12onpage54foroptionstoturntheheadersand@ foMotersfonando .Q Thew!aytheseoptionsworkisbysettingaparameterwhichispassedtothe@ \RM@scalebyoption]command,toscaletherequiredpagela!yout]parameter@ b!y#avdDalueinageometricsequence.HavealoMokatthecommandinrmpage@ forfthedetails.Q \headsepZisjustm!ultipliedbytherequestedvdDalue. \footskipisthe@ distancePRfromthebMottomofthetextbodytothebottomofthefooter.ۡTeo@ appro!ximate(xascalingofthedistancebMetweenthetopofthefoMoterandthe@ bMottomaofthetext,rmpageassumesthatthefooterisasinglelinethatis@ \baselineskipi high,andsubtracts\baselineskipfrom\footskipbMefore@ scaling,fandaddsitbac!kafterwards.Thisseemstoworkwellenough.Q ThezuvdDaluesetb!ytheoptionsbMelowcanbMemodi edb!ythetouchheadsep@ and|otouchfootskipoptions,whic!haddorsubtractonefromtheappropriate@ parameter.獍@ leastheadsepCSetsf\RM@headsepoption=3492F'FJ3 s3 lessheadsepWҲSetsf\RM@headsepoption=6 lessishheadsepiSetsf\RM@headsepoption=9normalheadsepcRDefault.Setsf\RM@headsepoption=12moreishheadsepiSetsf\RM@headsepoption=15moreheadsepWҲSetsf\RM@headsepoption=18mostheadsepWҲSetsf\RM@headsepoption=21leastfootskipcRSetsf\RM@footskipoption=3lessfootskip]\Setsf\RM@footskipoption=6lessishfootskipnZSetsf\RM@footskipoption=9normalfootskipiDefault.Setsf\RM@footskipoption=12moreishfootskipnZSetsf\RM@footskipoption=15morefootskip]\Setsf\RM@footskipoption=18mostfootskip]\Setsf\RM@footskipoption=21e5.1.6<\Columnsep\columnsepԹisastandardLٽAGT,[wEB Xparameter:jitisthespaceinbMet!weencolumnsof(textonam!ultiplecolumnpage.|Thecolsepoptionsscale\columnsepusingthein!ternal\RM@scalebyoptioncommand:`seesection6.7onpage77fordetails.[Brie ye,normalcolsepdoMesnothing;mostcolsepm!ultiplies\colsepʹb!y52.5;5leastcolsepdivides\columnsepby2.5;5andintermediateoptionsuseaffactorinbMet!weenfalongageometricalsequence.$TherexarecorrespMondingtouchcolsepoptions.Theym!ustbeexecutedafterthesemainoptions,whic!hiseasilyarranged|seesection5.2.3onpage61forfthedetails.leastcolsepWҲSetsf\RM@columnsepoptionto3lesscolsepRSetsf\RM@columnsepoptionto6lessishcolsepcRSetsf\RM@columnsepoptionto9normalcolsep]\Default.Setsf\RM@columnsepoptionto12moreishcolsepcRSetsf\RM@columnsepoptionto15morecolsepRSetsf\RM@columnsepoptionto18mostcolsepRSetsf\RM@columnsepoptionto21$IfV"\RM@adaptivecolseptrue,then\columnsepissettobMeafractionofthesn!umbMerofpoin!tsperc!haracter.EpThisisn'talwaysappropriate,andthe agfissettofalseb!ydefault.adaptivecolsepi\columnsepissettobMe2.3timesthewidthofonea!verage.|c!haracter,accordingYtormpage'sreckoning.ThisnewvdDaluecanbMescaled.|b!yfthemostcolseptoleastcolsepoptions.?|The standard\columnsepis2.03timesthewidthofonea!verage.|101ptOComputer$MoMdernRomanc!haracter.Thisisausefuloptionifyou.|are zcreatingast!ylebasedonafountsizelargerthan121pt *.Otherwise,+Cit.|seems=tobMeagoodideaonMonda!ys,3Weednesdays,and=Feridays;)notso.|goModlonTeuesda!ys,Thursdays,andlSaturdays;andonSundays,I\write.|Oghamfontreebark.noadaptivecolseptDefault. \columnsepྐྵisnotc!hangedfromitsdefault.|vdDalue,althoughitmigh!tbMescaledbythemostcolseptoleastcolsep.|ιoptions.)503ͣ'FJ3 s3 @ 5.1.7j Widthofthetextb`odym @ Thewidthoptionslety!ouaskforalargerorsmaller\textwidth.UFeollow- @ ingBYthebasicideaofthestandardclasses,Urmpagecalculatest!woBYdi erent@ \textwidths:Xone9isbasedonthen!umbMer9ofc!haractersinaline;Btheother@ isbasedonthesizeofthepapMer.s Thesmalleroftheset!woguessesisused@ asathebasisforthe nal\textwidth|\textwidthisalsoconstrainedb!y@ \RM@mintextwidth,:\RM@maxtextwidth,\RM@mininsidemargin,\RM@minoutsidemargin,@ \RM@minleftclearance,fand\RM@minrightclearance. Q rmpage@isinclinedtoprin!toutwarningsifithastochangeitspreferred@ \textwidth۹bMecauseofoneoftheabo!verestrictions|theyorkshireoption@ willfsilencethesew!arningsifyou ndthemirritating.Q Thenormalwidthoptiongiv!esa\textwidthclosetothestandardLٽAGT,[wEB X@ width,onUS,letterorA4papMer,N0wherethec!haracter-basedwidthisusually@ used(widefoun!tslikeLucidaCasualaretheexceptiontothis).l$\textwidth@ isHlargerthanusualify!ouprintonsmallerpapMer,Wwherethepaper-based@ \textwidth*Misused.iTheoptionsrangingouttowidestandnarrowestre-@ quest9a\textwidthvdDaryinginasmoMothgeometricalsequence,Onbutremem!ber@ thatVthesmallerofthet!woVwidths(c!haracter-basedandpapMer-based)isused,@ andVTtherearesev!eralotherrestrictionson\textwidth,OsothissmoMothpro-@ gressionkma!ynotbMeapparentasyoustepupordownthroughtheoptions.@ Thefgorydetailsareinthe lermpnorm.Q Yeouncancon!trolwhichofthetwowidths|character-basedorpapMer-based|@ isɊusedasthe nal\textwidth.?Seethenextsection(section5.1.8)fordetails.Q Thestdwidthoptionforcesrmpagetocalculatethe\textwidthinthe@ same2@w!ayasthestandardclasses,I{exceptthatthe nalvdDalueisstillsubjectto@ therestrictionslistedabMo!ve.Soitispossibletoaskforstdwidthandgeta@ \textwidththatisnotwhaty!ou'd'vegotwiththeastandardclass. rmpage@ willfw!arnyouifthishappMens.@ widesthŢP!apMer-basedtextwidthissetto1.3096timesthenormalwidthvdDalue;\.c!haracter-basedtextwidthissetto1.9761timesthenormalwidthvdDalue.\.Setsf\RM@widthoptionto26@ widercSetsf\RM@widthoptionto23@ wide]FNSetsf\RM@widthoptionto20@ wideishnLSetsf\RM@widthoptionto17@ normalwidthDefault.v P!apMer-basedn\textwidthissetto0.7138\paperwidth;\.c!haracter-based\textwidthissetto78.5characters(101pt *),74.8char-\.acters(111pt *),or75.5c!haracters(121pt)|thisproMducesac!haracter-\.based"t\textwidthv!eryclosetothestandardwidthsettingcoMde.RSets\.\RM@widthoptionfto14@ narrowishzSetsf\RM@widthoptionto11@ narrowhŢSetsf\RM@widthoptionto8@ narrowertDSetsf\RM@widthoptionto5@ narrowestzP!apMer-based>ltextwidthissetto0.7636timesthenormalwidth\.vdDalue;Ic!haracter-basedftextwidthissetto0.5061timesthenormalwidth\.vdDalue.Setsf\RM@widthoptionto2@ stdwidthtDA!ttemptsutoproMduceapagewiththesame\textwidthasthe\.standardfclassesw!ouldgive.Sets\RM@widthoptionto32514ޠ'FJ3 s3 halfinchmarginsnZA!ttemptsxtoproMduceapagewithatotalhorizontalmargin .|spaceofoneinc!h.mIfyouhaveaskedforcentredprinting, Lrmpagewill.|tryҥtoproMducehalfinc!hmarginseitherside.bSets\RM@widthoptionto.|31oneinchmarginsiA!ttemptstoproMduceapagewithatotalhorizontalmargin.|space-oft!wo-inches.Ifyouhaveaskedforcentredprinting,Ermpagewill.|trytoproMduceoneinc!hmarginseitherside.Sets\RM@widthoptionto.|30fullwidthLS^ProMduces thewidestpossible\textwidthgiv!enallotherrestric-.|tions.Setsf\RM@widthoptionto296鍍5.1.8<\WidthsettingcontrolʹThesencon!trolwhichdimensionsrmpagetakesnoticeofwhensetting\textwidth|rmpagecanloMokatthesizeofthepaperandthen!umberofc!haracterswhenit'ssettingEN\textwidth.NormallyitloMoksatboth,Xandpic!kstheonethatresultsinthesmallest\textwidth.&ThecoMdethatdoesthisisinthewidthsettingpko{ le;3itw!orksoutwhattodobasedonthevdDalueofthe\RM@setwidthbyʹcommand.$Ifn1y!ouaskforoneofthesewidths:oneinchmargin,yohalfinchmargin,andfullwidth,y!ouJshouldn'talsoaskforcharacterwidthset,bMecausethewidthoptionsBaskforwidthsthatareinheren!tlybasedonthesizeofthepapMer.rmpage:willpMoin!toutthismistakeifyoumakeit,Pandcarryonasifyou'dnotsaidfcharacterwidthset.$I'mnotthatk!eenontheseoptionnames,espMeciallybothwidthsetwhichis 9formedinaregularsequencewiththeothert!wo,)uand 9endsupbMothuglyandnot}Fv!erydescriptive;ifyoucancomeupwithsomethingbMetter,pleaseletmekno!w.獍bothwidthset]\Default.UsebMothpaperandc!haracterbased\textwidthre-.|questsftoset\textwidth.De nes\RM@setwidthbytobMe0characterwidthsetzPUseWthec!haracterbased\textwidthrequestonlytoset.|\textwidth.De nesf\RM@setwidthbytobMe1paperwidthsetcRUsenthepapMerbased\textwidthrequestonlytoset\textwidth..|De nesf\RM@setwidthbytobMe25.1.9<\MarginsʹTheWoptionsinthissectioncon!trolthehorizontalpMositionofthetextbodye.Thetwosideandonesideoptionsarestandardoptionsthatrmpageunder-stand;ftherestofthemarenewinrmpage.$It'sprobablybMesttoreadaboutalloftheseoptions,~notjustsomeofthem,bMecauseftheyallin!teracttosomeextent.獍twoside@ PlacesthetextbModyforprin!tingonbMothsidesofthepaper,taking.|in!toaccounttherequestedo estandwhichmarginyouwanttobMethe.|largerfone(insideorout).?|SetsNT\RM@twosidetrueand\@mparswitchtrue;"Jthelatterstepis.|pMerformed;fb!ythestandardclasses. I'mnotcertainthisistheright.|thingDtodo;fitmeansy!ougetthestandardclasses'e ectifyoupass)525ꏠ'FJ3 s3 \.thisoptiontormpageonlye.Buty!oumightwanttoavoidthestandard \.classes'3,e ect.3.. WaButify!ou'rethatclever,\youcanresettheswitch\.y!ourself.@ onesidenLDefault.DPlacesthetextbModyforprin!tingonbMothsidesofthepaper,\.takingin!toaccounttherequestedo estandwhichmarginyouwantto\.bMefthelargerone(insideorout).Sets\RM@twosidefalse@ centrehŢFeorcesntheleftandrigh!tmarginstobMethesamesize.v Sets\RM@centretrue.@ notcentrezDefault.XAllo!wsz theleftandrightmarginstobMedi erentsizes.\.Setsf\RM@centrefalseQ The]SoptionsinthelistbMelo!wcontrolwhichmarginisthelargerone.ŁCon-@ v!entionalbMookt!ypesettingandLٽAGT,[wEB Xmak!estheoutsidemarginthelarger@ one;>rmpageKmak!estheinsidemarginthelargerone.ThisisbMecausemost@ ofrwhatIr[proMduceisboundinloose-leafring-binders,whereha!vingasmall@ insidefmarginoftenresultsinaholesinthetext.Q Yeou5canc!hangethisdefaultsettingbychangingthenotstdmarginsop-@ tiontostdmarginsinthedefault\ExecuteOptionsstatemen!tinyourloMcal@ con gurationP le. AYeouwill ndthisstatemen!tjustbMelowthelineinthe@ con guration lethatreads:changeathislinetomaEtchyourlocal@ preferences.@ stdmarginsJDefault.v Outsidenmarginisthelargerone.Sets\RM@stdmarginstrue@ notstdmarginsHInsidefmargininthelargerone.Sets\RM@stdmarginsfalseQ YeouYkcancon!troltherelativepropMortionsoftheinsideandoutsidemargins@ with}Ktheoffsetoptions.)Theseo setoptionsdon'tdoan!ythingifthecentre@ optionfhasbMeenspeci ed.Q Theˆdefaulto setis60%ofthetotalhorizon!talmarginspaceinthe@ largerMmargin,v40%inthesmaller. 6ThisthethestandardLٽAGT,[wEB Xv2z"2o set.@ leastoffset@giv!esyouequalmargins;,touchlessoffsetandleastoffset@ together mak!esthenominallylargermarginintothesmallerone,ubyasmall@ amoun!t.dxrmpageDwillwarnyouifthishappMens.dxmostoffsetputs87%ofthe@ totalhorizon!talmarginspaceintothelargermargin;YthisisabMoutasfarover@ tofonesideasy!ourprinterislikelytobMeabletoprint.Q Therearetouchoffsetoptionsinthestandardcon guration les|see@ sectionf5.2.3onpage61Q Ha!vefaloMokatrmpnormformoredetailsify!ouneedthem.@ leastoffset50%flargermargin.Sets\RM@offsetoptionto2@ lessoffsetJ53%flargermargin.Sets\RM@offsetoptionto5@ lessishoffsetH56%flargermargin.Sets\RM@offsetoptionto8@ normaloffsetCDefault.60%flargermargin.Sets\RM@offsetoptionto11@ moreishoffsetH68%flargermargin.Sets\RM@offsetoptionto14@ moreoffsetJ77%flargermargin.Sets\RM@offsetoptionto17@ mostoffsetJ87%flargermargin.Sets\RM@offsetoptionto20Q TheMtouc!ho setoptionsmustbMeexecutedaftertheo setoptions.*Thisis@ easytoarrange:injustdeclaretheoptionswiththetouchoptionsafterthemain@ options,jandCJuse\ProcessOptionsratherthan\ProcessOptions*(thatis,@ theseoptionsm!ustbMeprocessedintheorderofdeclaration,3)ratherthanthe@ orderfgiv!eninthecallingcommands).536P'FJ3 s3 5.1.10CNumb`erofcolumns޶ʹNoteHthatthestandardclassessetthe\@twocolumn agtrueorfalse,7depMend- ing.rmpagefdoMesn't,andw!orksquitehappilywithoutit. $TheGcon g lehasonecolumnwidthtotencolumnwidthoptions,)whic!hc!hange7\textwidthbutdon'tchangethenumbMerofcolumnsthatLٽAGT,[wEB XtypMe-setsftextin.Yeoucanusethemulticolpac!kdDagetodothat.67onecolumnLS^Default.KThis standardoptionisrecognisedb!yrmpage.Thisop-.|tion$mak!esthestandardclassestypMesetonecolumntoapage;Ermpage.|ιcalculatesnac!haracter-based\textwidthbasedonthis.v De nes\RM@textcols.|ιtofbMe1.twocolumnLS^ThisLstandardoptionisrecognisedb!yrmpage.Thisoptionmakes.|the'standardclassest!ypMesettwocolumnstoapage;h$rmpagecalculates.|aŵc!haracter-based\textwidthbasedonthis.;De nes\RM@textcolsto.|bMef2.篍5.1.11CPap`erorientation޶ʹTheseoptionsreallydoforcetheappropriateorien!tation;Hthestandardclassesjust7ksw!ap\textheightand\textwidthwhenaskedforlandscape.Remem-bMerthaty!ou'llmostlikelywanttoprintyourenvelopMeslandscape,/ ev!enify!ouruprinterdriverthinksyoumeanpMortrait(HewlettPackdDard'sDeskWeriterseries6.0prin!terdrivergetsthiswrong.Oops.)And2/3A4isusuallyusedinlandscapMeorien!tation,eventhoughy!ou'llprobablythinkit'sportrait|Ikno!wfIdid.67portraitFDefault.Feorces\textwidthtobMelessthan\textheight.Sets.|\RM@portraittruelandscapeLS^Feorcesn\textwidthtobMemorethan\textheight.v Sets\RM@portraitfalse篍5.1.12CHeadersandfo`oters޶ʹAllo!wsspaceforheadersandfoMoters,:ornot,asy!ouwish.@GTheseoptionsdonota ect thecon!tents ofheadersandfoMotersinan!yway:ifyouwanttoc!hangeftheLٽAGT,[wEB X\pagestyle,youmustdothatseparatelye.$TeurningheadersandfoMotersonando c!hanges\textheight:Hthisisbe-causefofthew!ayfrmpagecalculates\textheight.$rmpageAU rstcalculatesthesumoftheblankspaceabMo!veAUandbelo!wallthetextconthepage;ythisisaconstan!tfractionof\paperheightforanygivenlengthoption.Whatislefto!verafterspacehasbMeenallo!wedforheadersandfoMotersfis\textheight67noheadersLS^ProMducenala!youtnforpageswithoutheaders.v Sets\RM@headersfalse;.|thisfresultsin\headheightand\headsepbMeingsetto01pt *.headers@ Default.v ProMducenala!youtnforpageswithheaders.Sets\RM@headerstrue;.|thisfresultsin\headheightbMeingsetto\baselineskip.nofootersLS^ProMducenala!youtnforpageswithoutfooters.v Sets\RM@footersfalse;.|thisfresultsin\footskipbMeingsetto01ptfooters@ Default.v ProMducenala!youtnforpageswithfooters.v Sets\RM@footerstrue.)547'FJ3 s3 @ 5.1.13p Positioningthetextb`odyvertically#@ Thesexoptionsa ecttheratiobMet!weenxthegapbelo!wallthetextandthegap @ abMo!veallthetext.Thetouchaltitudeoptionsc!hangethisratioinincrements@ off1=24.M(@ highestnLTeop:bMottomfspace=0:8.Sets\RM@headfootbalance=0 @ higherhŢTeop:bMottomfspace=1:8.Sets\RM@headfootbalance=3@ high]FNTeop:bMottomfspace=2:8.Sets\RM@headfootbalance=6@ highishnLTeop:bMottomfspace=3:8.Sets\RM@headfootbalance=9@ normalaltitudeDefault.v Teop:bMottomnspace=4:8.Sets\RM@headfootbalance=12@ lowishhŢTeop:bMottomfspace=5:8.Sets\RM@headfootbalance=15@ lowWTeop:bMottomfspace=6:8.Sets\RM@headfootbalance=18@ lowercTeop:bMottomfspace=7:8.Sets\RM@headfootbalance=21@ lowesthŢTeop:bMottomfspace=8:8.Sets\RM@headfootbalance=24@ 5.1.14p Changingthedateformat@ usdatehŢDefault.iJSets\RM@nicedatefalse,~whic!hcausesnothingtohappMen; \.thef\todaycommandisunmolested.@ ukdatehŢSets\RM@nicedatetrue,I|whic!hcausesthe\todaycommandtobMe\.re-de nedYtoproMduceadateoftheform`4thApril1984'.cThisisthe\.settinggIeuseasadefault;Idothisb!yputtingtheukdateoptioninthe\.loMcal[settings\ExecuteOptionsstatemen!tinmyloMcalcon guration le.@ 5.1.15p Dealingwiththeb]etonpack@age#@ TheCbcoMdetoletrmpagew!orkwithbetonfeltrathercomplicatedtowrite.The@ thing aabMoutthebetonpac!kdDageisthatitchanges\baselineskiptosomething@ non-standard.rmpageneedstokno!wwhat\baselineskipissothatitcanset@ \textheight,Cbut$#bMeton'sc!hangesaren'tmadeuntilthe\AtBeginDocument@ hoMokisexecutedb!yLٽAGT,[wEB X,+whichisafterrmpagehasbMeenloaded.?Ikhadto@ stealEcoMdefrombetonv1.3todealwiththis,mwhic!hmightcauseproblemsif@ y!ouftrytousermpagewithotherversionsofbMeton.Q The~.resultisthatify!ouareusingthebMetonpackdDagewithoutpassingit@ the.Lstandard-baselineskipsoption,Ey!oushouldspMecifyeitherthebeton@ or)thenobetonoptiontormpage: ?cthe rstoptionusesbMeton'smodi ed@ \baselineskiptoset\textheight;w!thesecondoptionusesthestandard@ \baselineskip,:andncanbMeommittedify!ouhavespMeci edthestandard-baselineskips@ optionftobMeton.Q Theϖproblemwiththebetonoptionisthatify!ouspMecifyit,Yrmpage@ usescoMdestolenfromthegutsofbetonv!ersion1.3tosettheappropriate@ \baselineskip.OTherevisnoguaran!teethatthiscoMdewillworkwithother@ v!ersionsfofbMeton.M(@ betonccalculate-a\textheightbasedonthebMetonpac!kdDage's\baselineskip@ nobetonnLcalculatefa\textheightbasedonthestandard\baselineskipm.Both|otheseoptionssetthe\RM@ifbetoncommandtoan!umbMer.\.It's%%pla!yedabMoutwithbeforeandafterhere. ZThe nalvdDalueofthe\.\RM@ifbetonfcommandisgiv!enthesemeaningswithinrmpage:558G'FJ3 VRaꍍ˹0*ebMetonfpac!kdDageloadedandthebetonoptionspeci ed 1*eTheXkbMetonpac!kdDagehasbeenloadedwithneitherthebetonnorthe *enobetonfoptionspMeci ed332*ebMetonfpac!kdDageloadedandthebetonoptionnotspeci ed3*eThebMetonpac!kdDagenotloadedwithneitherthebetonnorthenobeton *eoptionfspMeci ed4*eThefbMetonpac!kdDagenotloadedandthenobetonoptionspeci ed. N<5.28-Ffromffthecon guration leqʹTheOfollo!wingoptionsareallfromthecon guration le. =There'snothing magical]abMoutthis:theycouldalljustaseasilybeinrmpage.styatthepMoin!tSwherethecon guration leisloaded.Buttheideaisthatyoucanc!hangethecon guration le,utnotrmpage,andrmpagew!orksfasterwithfew!er5isin!tendedtobMechangedbyanyone.Pleasereadthecom-men!tstinthe le rst,addacommentatthestartofthe letoidentifyitIasy!ours,"Bandanotetothesamee ectintheoptionalargumentofthe\ProvidesFile:!lifejcangetv!eryconfusedotherwise.CDon'taddordeletean!ything9qexceptcommentcharactersbMetweenthe\ProvidesFilecommandandRthelineLOCALCODEBELOWHEREPLEASE.RMak!esensiblechangesbMelowthe`lineLOCALCODEBELOWHEREPLEASE;`readthecommen!tsinthecon gu-ration leandrmpage.dtx,andusethecommandsIusefordoingthings.lIfy!oufdothis,yourcoMdeshouldworkpMerfectlywithfutureversionsofrmpage.$InthelistbMelo!w,Toptionsthatlooklik!ethis:5VthewidthofA4andtheheigh!tofUS>/letter.DoMcumentstypMeset\.withC/thispapMersizewill tonA4andUSCletterpaper,Wandlookterrible\.onfbMoth.Sizeis210mmb!y8.5in.@ a0papernLSetsf\RM@papertypeto10{1189mmb!y841mm@ a1papernLSetsf\RM@papertypeto11{841mmb!y594mm@ a2papernLSetsf\RM@papertypeto12{594mmb!y420mm@ a3papernLSetsf\RM@papertypeto13{420mmb!y297mm@ a6papernLSetsf\RM@papertypeto16{148mmb!y105mm@ a7papernLSetsf\RM@papertypeto17{105mmb!y74mm@ a8papernLSetsf\RM@papertypeto18{74mmb!y52mm@ a9papernLSetsf\RM@papertypeto19{52mmb!y37mm@ a10papertDSetsf\RM@papertypeto20{37mmb!y26mm@ b0papernLSetsf\RM@papertypeto30{1414mmb!y1000mm@ b1papernLSetsf\RM@papertypeto31{1000mmb!y707mm@ b2papernLSetsf\RM@papertypeto32{707mmb!y500mm@ b3papernLSetsf\RM@papertypeto33{500mmb!y353mm@ b4papernLSetsf\RM@papertypeto34{353mmb!y250mm@ b6papernLSetsf\RM@papertypeto36{176mmb!y125mm@ b7papernLSetsf\RM@papertypeto37{125mmb!y88mm@ b8papernLSetsf\RM@papertypeto38{88mmb!y62mm@ b9papernLSetsf\RM@papertypeto39{62mmb!y44mm@ b10papertDSetsf\RM@papertypeto40{44mmb!y31mm@ c0papernLSetsf\RM@papertypeto50{1297mmb!y917mm@ c1papernLSetsf\RM@papertypeto51{917mmb!y648mm@ c2papernLSetsf\RM@papertypeto52{648mmb!y458mm@ c3papernLSetsf\RM@papertypeto53{458mmb!y324mm@ c4papernLSetsf\RM@papertypeto54{324mmb!y229mm@ c5papernLSetsf\RM@papertypeto55{229mmb!y162mm@ c7papernLSetsf\RM@papertypeto57{114mmb!y81mm@ c7/6paperzSetsf\RM@papertypeto59{162mmb!y81mm@ bspopseedenvelopepaperBSets/\RM@papertypeto60{152mmb!y102mm.\.BS4264jUKjpMostocepreferreden!velope:f5seedjpackets,ۜwageslips,\.generalfpac!kdDaging.ThenameisoneIinvented.@ bspopnonisoenvelopepaper?Sets\RM@papertypeto61{229mmb!y102mm.\.BS4264UKpMostocepreferreden!velope:g gencommercial,Knonisosizes.\.ThefnameisoneIin!vented.@ bsbrochureenvelopepaperSets\RM@papertypeto62{254mmb!y178mm.\.BS42646?en!velopMe;~,bulkyA5,Z5catalogues,broMc!hures.iThenameisoneI\.in!vented.@ bslegalenvelopepaper@Setsf\RM@papertypeto63{270mmb!y216mm.\.BS4264en!velopMe;ܒlegaldocs,~5catalogues,photos. J6ThenameisoneI\.in!vented.@ bslargelegalenvelopepaper@Setsn\RM@papertypeto64{305mmb!y127mm.\.BS4264"en!velopMe;`insurancepolicies,Alegaldocs.R9ThenameisoneI"ein-\.v!ented.@ bscalendarenvelopepaperSets\RM@papertypeto65{381mmb!y254mm.\.BS4264fen!velopMe;bulkydocs,calendars.ThenameisoneIin!vented.@ foolscapfoliopaperSetsf\RM@papertypeto70{13.5inb!y8.5in57:4J'FJ3 s3 foolscappapercRSetsf\RM@papertypeto70{13.5inb!y8.5in 8foolscapquartopaperSetsf\RM@papertypeto71{8.5inb!y6.75infoolscapoctavopaperSetsf\RM@papertypeto72{6.75inb!y4.25incrownfoliopapernZSetsf\RM@papertypeto73{15inb!y10incrownquartopapertSetsf\RM@papertypeto74{10inb!y7.5incrownoctavopapertSetsf\RM@papertypeto75{7.5inb!y5inroyalfoliopapernZSetsf\RM@papertypeto76{20inb!y12.5inroyalquartopapertSetsf\RM@papertypeto77{12.5inb!y10inroyaloctavopapertSetsf\RM@papertypeto78{10inb!y6.25inimperialfoliopaperXSetsf\RM@papertypeto79{22inb!y15.5inimperialquartopaperSetsf\RM@papertypeto80{15inb!y11inimperialoctavopaperSetsf\RM@papertypeto81{11inb!y7.5inlargecrownoctavopaperOVSetsf\RM@papertypeto82{8inb!y5.25indemyoquartopapertSetsf\RM@papertypeto83{11.25inb!y8.75indemyoctavopapernZSetsf\RM@papertypeto84{8.75inb!y5.625inmediumquartopaperzPSetsf\RM@papertypeto85{12inb!y9.5inmediumoctavopaperzPSetsf\RM@papertypeto86{9.5inb!y6inra0paperFSetsf\RM@papertypeto90{1270mmb!y960mmra1paperFSetsf\RM@papertypeto91{1270mmb!y960mmra2paperFSetsf\RM@papertypeto92{1270mmb!y960mmsra0paperLS^Setsf\RM@papertypeto93{1280mmb!y900mmsra1paperLS^Setsf\RM@papertypeto94{900mmb!y840mmsra2paperLS^Setsf\RM@papertypeto95{640mmb!y450mmmetricdoublecrownpaperSetsf\RM@papertypeto96{770mmb!y505mmmetricquadcrownpaperSetsf\RM@papertypeto97{1010mmb!y770mmmetriclargequadcrownpaperMSetsn\RM@papertypeto98{1060mmb!y820mmmetricquaddemypaperSetsf\RM@papertypeto99{1030mmb!y890mmmetricsmallquadroyalpaperMSetsf\RM@papertypeto100{ .|1270mmfb!y960mm$TheflongpapMersizesaredescribedindetailinsection5.1.2onpage46. Onotlongpaper]\Setsf\RM@longpapertypelongto0;notlong|thedefault.7/8longpaper]\Sets\RM@longpapertypelongto1;h7/8long. 5Theselected.|papMerfsizehasitslongestdimensionm!ultipliedby7/8.3/4longpaper]\Sets\RM@longpapertypelongto2;h3/4long. 5Theselected.|papMerfsizehasitslongestdimensionm!ultipliedby3/4.2/3longpaper]\Sets\RM@longpapertypelongto3;h2/3long. 5Theselected.|papMerfsizehasitslongestdimensionm!ultipliedby2/3.5/8longpaper]\Sets\RM@longpapertypelongto4;h5/8long. 5Theselected.|papMerfsizehasitslongestdimensionm!ultipliedby2/3.1/2longpaper]\Sets\RM@longpapertypelongto5;h1/2long. 5Theselected.|papMersizehasitslongestdimensionm!ultipliedby1/2.҇Thisisslightly.|di eren!t0ZforaskingforthenextsizedowninanISO07series;uTtheselong.|sizesarenotroundedtothenearestmillimetre,KasarestandardISO.|papMerAsizes,andcodewhic!hsetsthingsupforparticularprinter/papMer.|com!binationsfdoMesnotrecognize1/2longA3asA4(forexample).3/8longpaper]\Sets\RM@longpapertypelongto6;h3/8long. 5Theselected.|papMerfsizehasitslongestdimensionm!ultipliedby3/8.)58;C 'FJ3 s3 @ 1/3longpaperCSets\RM@longpapertypelongto7;h1/3long. 5Theselected \.papMerfsizehasitslongestdimensionm!ultipliedby1/3.,Ս@ 1/4longpaperCSets\RM@longpapertypelongto8;h1/4long. 5Theselected\.papMerfsizehasitslongestdimensionm!ultipliedby1/4.@ 1/8longpaperCSets\RM@longpapertypelongto9;h1/8long. 5Theselected\.papMerfsizehasitslongestdimensionm!ultipliedby1/8. ፍ@ 5.2.2j Marginalparagraphoptions @ Thewidthofamarginalparagraphissettothespaceleftintheappropriate@ margin,|takingin!toaccountallthelimits. Grmpagethinkstheappropriate@ marginisthis:=inthecaseofm!ulti-columnprinting,-thesmallestmargin;Gin@ thecaseofonesidedprin!ting,normalmarginalparagraphplacement,inthe@ outsidemargin;|inthecaseofonesidedprin!ting,Mreversemarginalparagraph@ placemen!t,ENinStheinsidemargin;Jinthecaseoftwosidedprinting,ENnormal@ marginalparagraphplacemen!t,intheoutsidemargin;randinthecaseoftwo@ sidedfprin!ting,reversemarginalpragraphplacement,intheinsidemargin.Q Thesizeiscalculatedonthisbasis:PthestandardLٽAGT,[wEB Xlength\margin-@ parsepCgiv!esthespacebMetweenthetextbModyCandthemarginalparagraph.@ Thenewlength\RM@mparclearancegiv!estheminimumspacebMetweenthe@ outsideyedgeofthemarginalparagraphandtheedgeofthepapMer(subjectto@ thenadditionalrestrictionsof\RM@minrightclearanceand\RM@minleftclearance@ (butvnot\RM@mininsidemarginor\RM@minoutsidemargin;theseapplyto@ theptextbModyponly).Withintheselimits,\marginparwidthcannotbMesetto@ greaterfthanthelength\RM@maxmparwidth.Q Thisptw!ayofsettingmarginalparagraphsisderivedfromthestandard@ LٽAGT,[wEB Xv2z"m methoMd,Mwhic!huses21inu9asthelargestallowedsize,Mand0.41inu9asthe@ minim!umfgaptotheedgeofthepapMer.rmpage'sequivdDalentparametersQ Yeouncanscalethesizeof\marginparsep,:\RM@mparclearance,andn\RM@max-@ mparwidthqusingthemparsep,Wmparclearance,andqmaxmparwidthoption@ sets.LoMokfatsection3.7onpage33formoreonmarginalparagraphs.Q Ify!outhinkthatthebasevdDalueofanyoftheselengthsistoMosmall,youcan@ dosomethingabMoutit.With\marginparsep,'y!oucouldusethe\setlength@ commandftosetittoadi eren!tvdDaluebMeforeloadingrmpage.Feorexample,y@ \setlength{\marginparsep}{2\marginparsep}@ \usepackage{rmpage}憍Q Becauseptheothert!wopparametersaregiv!entheirinitialvdDaluesinrmpage,@ this`tec!hniquewon'twork. TheinitialvdDaluesof\RM@mparclearanceand@ \RM@maxmparwidthNarecalculatedasacertainfractionof\paperwidth;the@ initialnvdDalueoftheappropriateparameterisdoubledify!ouspMecifythelargebasemparclear@ or largebasemaxmparwidthoptions. Yeoucanseteitheroftheseparameters@ inthecon guration le|thevdDalues-6661ptand-6671ptarereserv!edbyrmpage@ as= agvdDalues;`an!ypMositivelengththat'snottoMolongisokdDaye.Readthesource@ andconsidersettingtheseparametersonaclass-b!y-classbasisifyoudoneed@ tofc!hangethem.Q Theu\mparsepoptionsscalethe\marginparseplengthusing\RM@scale-@ byoption.Seefsection6.7onpage77forthedetails.59<R'FJ3 s3 leastmparsep]\Setsf\RM@mparsepoptionto3 lessmparsepWҲSetsf\RM@mparsepoptionto6lessishmparsepiSetsf\RM@mparsepoptionto9normalmparsepcRDefault.Setsf\RM@mparsepoptionto12moreishmparsepiSetsf\RM@mparsepoptionto15moremparsepWҲSetsf\RM@mparsepoptionto18mostmparsepWҲSetsf\RM@mparsepoptionto21$The\...basemparclearoptionsneedtobMeexecutedafter\paperwidthʹhasnbMeenset.v Easilydonewith\ProcessOptionsratherthan\ProcessOptions*,andN:thepapMersizesettingoptionsdeclaredabo!veN:ratherthanbelo!w. XThe\smallbasemparclear\vdDalueissetafteroptionproMcessingifnoothervaluehasbMeenset.If\RM@mparclearanceis-6661pt *,ǬthenormalbasemparclearvdDalueisset;ifit's-6671pt *,thelargebaselinemparclearvdDalueisset.ThelargervalueisdoublenthesmallervdDalue.v Thissettingisdonejustafterthe\RM@PrinterPaperSettingsʹhoMokfisexecuted,whic!hiswellafter\paperwidthisset.|ThisvdDalueisscaledbyoptionr:(usingthe\RM@mparclearoptionpassedtothe\RM@scalebyoptionʹcommand)BsjustbMeforeit'sused,Vpsoonecanusethe\RM@BeforeWidthSettingʹhoMokftoc!hangethings.normalbasemparclearDefault.Setsf\RM@mparclearanceto-666pt.largebasemparclearXSetsf\RM@mparclearanceto-667ptnormalbasemaxmparwidthDefault.Setsf\RM@maxmparwidthto-666ptlargebasemaxmparwidthOVSetsf\RM@maxmparwidthto-667pt$TheGgapbMet!weenGtheedgeofthepaperandtheedgeofamarginalpara-graph)is0.41in(10.16nmm)withLٽAGT,[wEB X'sstandardclasses.Grmpagec!hangesthisb!yintroMducinganewparameter,\RM@mparclearance,whic!hiscalculatedasafractionof\paperwidth.Normal\RM@mparclearancewithA4pMortraitpaperisf9.88nmm;0.41inwithUSletterpapMer).$Teouc!hhyoptionsfor\RM@mparclearanceand\RM@maxmparwidthhavebMeenaddedfno!w.leastmparclearanceXSetsf\RM@mparclearoptionto3lessmparclearancezPSetsf\RM@mparclearoptionto6lessishmparclearanceSetsf\RM@mparclearoptionto9normalmparclearanceDefault.Setsf\RM@mparclearoptionto12moreishmparclearanceSetsf\RM@mparclearoptionto15moremparclearancezPSetsf\RM@mparclearoptionto18mostmparclearancezPSetsf\RM@mparclearoptionto21$\RM@maxmparwidth6issetasafractionof\paperwidth, suc!hthatwithpMor-traitUSletterpapMer,=y!ouget21inasstandard,justlik!ethestandardclasses.It'sscaledb!yoption(seesection6.7onpage77forthedetails).Ifyouwanttoc!hangenthedefaultbasevdDalueof\RM@maxmparwidth,:the\RM@BeforeWidthSettingʹhoMokfisanidealplacetodoit.leastmaxmparwidthzPSetsf\RM@maxmparwidthoptionto3lessmaxmparwidthtSetsf\RM@maxmparwidthoptionto6lessishmaxmparwidthSetsf\RM@maxmparwidthoptionto9)60=b'FJ3 s3 @ normalmaxmparwidthDefault.Setsf\RM@maxmparwidthoptionto12 ĸ@ moreishmaxmparwidthDSetsf\RM@maxmparwidthoptionto15@ moremaxmparwidthBFSetsf\RM@maxmparwidthoptionto18@ mostmaxmparwidthBFSetsf\RM@maxmparwidthoptionto21H썍@ 5.2.3j Touchoptionsō@ All thetouchoptionsaddorsubtractonefromacoun!terthatisusedto @ con!trol#thesizeofapagelayoutparameter.VThee ectofthisistogivethe@ la!youtjparameterasizeinbMet!weenjthe`main'sizes.+|Thatis,ify!ouaskfor@ wideandtouchwider,y\textwidthissettoavdDalue1/3ofthew!ay(ina@ geometricalsequence)fromwidetowider.Thisresultsinev!enstepsizes:@ wide,touchwider,andjt@uchwidergiv!eawidththesameaswiderand@ touchnarrower. ĸQ Thep:touchoptionsarein!tendedtobMeusedindocumen!ts;ןthet@uchoptions@ arerin!tendedtobMeusedinclass les.Thereasonisthis:aclassdesignercan@ dev!elopasuitablelayoutbypassingoptionstormpage.Whenthisisdone,the@ optionsZpassedtormpagecanbMepassedusingthe\PassOptionsToPackage@ command inaclass le. An!ytouchoptionsshouldbMeturnedintot@uch@ options,Dsoy\ExecuteOptionsstatemen!t.The\RM@notinexecuteoptionsisusedin@ eac!hoftheseoptiondeclarations:titproMducesanerrormessageifusedbefore@ the\RM@donewithoptions agissettrue,whic!hisimmediatelybMeforethe@ \ProcessOptionsfstatemen!t.Q Yeouecan ndoutmoreabMoutthea ectedla!youteparametersb!ylookingat@ thedoMcumen!tationforthemainoptionscorrespondingtothetouchoptions@ listedfhere.P@ t@uchlongerAddsf1to\RM@lengthoption@ t@uchshorterCAddsf-1to\RM@lengthoption@ touchlongerAddsf1to\RM@lengthoption@ touchshorterCAddsf-1to\RM@lengthoption.Seesection5.1.4.@ touchmorecolsepAddsf1to\RM@columnsepoption@ touchlesscolsepAddsf-1to\RM@columnsepoption@ t@uchmorecolsepAddsf1to\RM@columnsepoption@ t@uchlesscolsepAddsf-1to\RM@columnsepoption.Seesection5.1.6.@ touchmoremparsepBFAddsf1to\RM@mparsepoption@ touchlessmparsepBFAddsf-1to\RM@mparsepoption@ t@uchmoremparsepBFAddsf1to\RM@mparsepoption@ t@uchlessmparsepBFAddsf-1to\RM@mparsepoption.Seesection5.2.2.@ touchmorefootskipAddsf1to\RM@footskipoption@ touchlessfootskipAddsf-1to\RM@footskipoption@ t@uchmorefootskipAddsf1to\RM@footskipoption@ t@uchlessfootskipAddsf-1to\RM@footskipoption.Seesection5.1.12.@ touchmoreheadsepBFAddsf1to\RM@headsepoption61>q''FJ3 s3 touchlessheadseptAddsf-1to\RM@headsepoption lt@uchmoreheadseptAddsf1to\RM@headsepoptiont@uchlessheadseptAddsf-1to\RM@headsepoption.Seesection5.1.12.t@uchwiderRAddsf1to\RM@widthoptiont@uchnarrowercRAddsf-1to\RM@widthoptiontouchwiderRAddsf1to\RM@widthoptiontouchnarrowercRAddsf-1to\RM@widthoption.Seesection5.1.7.t@uchmoreoffsetnZAddsf1to\RM@offsetoptiont@uchlessoffsetnZAddsf-1to\RM@offsetoptiontouchmoreoffsetnZAddsf1to\RM@offsetoptiontouchlessoffsetnZAddsf-1to\RM@offsetoption.Seesection5.1.9.t@uchhigherWҲAddsf-1to\RM@headfootbalancet@uchlowerRAddsf1to\RM@headfootbalancetouchhigherWҲAddsf-1to\RM@headfootbalancetouchlowerRAddsf1to\RM@headfootbalance.Seesection5.1.13.t@uchlessmparclearanceAddsf-1to\RM@mparclearoptiont@uchmoremparclearanceAddsf1to\RM@mparclearoptiontouchlessmparclearanceAddsf-1to\RM@mparclearoptiontouchmoremparclearanceAddsf1to\RM@mparclearoption. .|Seefsection5.2.2.t@uchlessmaxmparwidthOVAddsf-1to\RM@maxmparwidthoptiont@uchmoremaxmparwidthOVAddsf1to\RM@maxmparwidthoptiontouchlessmaxmparwidthOVAddsf-1to\RM@maxmparwidthoptiontouchmoremaxmparwidthOVAddsf1to\RM@maxmparwidthoption..|Seefsection5.2.2.5.2.4<\MorelengthoptionsGʹThese~optionsneedtobMeexecutedafterthetouchlengthoptions;otherwise,they'dfbMeinrmpage.sty.$Mostdofthe\textheightsettingoptionsareinrmpagepropMer;4see5.1.4onfpage49.fulllengthRSets\RM@lengthoption=30. Mak!es\textheightaslongas.|pMossible,+takingin!toaccountthevdDariousrestrictionsandtheneedto.|k!eep\textheighttoanintegernumbMertimes\baselineskipplus.|\topskip.stdlengthLS^SetsJ}\RM@lengthoption=0.:Mak!es\textheightthesizeitwould.|bMeOify!ouwereusingthestandardLٽAGT,[wEB Xclasses.I'mnotsureI'vechecked.|ev!erythingYthatneedstobMecheckedtoensurethatthisoptionalways.|doMes.whaty!ou'dexpect,F~butI.fthinkIha!ve.Note.thatrmpagestilltak!es.|notice;offoMotersandheaderswheny!ouusethisoption,psoyoucanget.|the<#standard\textheightwithdi eren!tverticalpMositioningofthetext.|bModye.5.2.5<\Numb`erofcolumnsGʹIfy!ouaretypMesettingtextinmorethanonecolumn,4Mrmpageneedstoknowsofthatitcanset\textwidthappropriatelye.)62?'FJ3 s3 Q ThevustandardLٽAGT,[wEB Xoptionsonecolumnandtwocolumnarerecognizedb!y @ rmpage.Q TheӜ...columnwidthoptionstellrmpagethaty!ouwillbMetypMesettingyour@ text0inthatn!umbMer0ofcolumns,H/buttheonlye ectoftheoptionsistoc!hange@ the!\textwidthcalculation.wIfy!ouwanttochangethenumbMerofcolumns@ thatfy!ourtextissetin,youcanuseapackdDagelikemulticol.%ፑl߲These8optionsa ectonlythecharacter-based\textwidthcalculation| \.for5anygivenwidthoption(normalwidth,-narrower,or5whatever)one\.textѭcolumnisallowedѭtobGeacertainnumberѭofcharacterswide.Use\.theq...columnwidthoptionstotellrmpagehowmanycolumnswideyour\.textUUis,soitcancalculate\textwidthappropriately*.lrmpage@ 5.2.6j Loadingfounts@ All=theoptionsbMelo!wchangehow\textwidthisset,randtheoptionswith@ loadGcintheirnamealsocalloneofthestandardPSNFSSGKpac!kdDagestoloadthe@ foun!t(asidefromLucidaCasualandConcrete,whicharen'tPSFNSSfounts,@ andfCourier,whic!hishandledanomalously).%ፑl߲The(ponlyLucidatypGefaceI(dhaveisLucidaCasual,1jsothat'stheonly \.LucidautypGefacethatrmpagedealswithexplicitly*.HIfyoudouseothers,\.you^canhaveanappropriate\textwidthsetusingthethisfountwidth\.option.lGivennthatthePSFNSSJdistributionhassuppGortforalltheLucida\.founts,cpIcould8bGepersuadedtoincludeexplicitsupportforthemin\.rmpageUUifanyone'sUUinterested.Q Remem!bMerXthat\textwidthisusuallysettobeacertainn!umberXofc!har- @ acterHwide.~Weell,notallfoun!tshavethesamenumbMerofcharacterspMerinch.@ If5y!ousaytimeswidthtormpage,Lxitwillcalculatea\textwidthbasedonthe@ measuredfa!veragewidthofonecharacterinTimesofthespMeci edsize.Q ThiszmeansthatwhilethestandardLٽAGT,[wEB Xclassesw!ouldgiveyoua\text-@ widthEԹthatisfartoMowidefortheTimesfoun!t(whichisgenerallynarrower63@'FJ3 s3 ʹthanComputerMoMdernRoman),rmpagewillgiv!eyoua\textwidththatis prett!yJmuchthesamenumbMerofcharactersacross,swhichmeansyouretaingoModflegibilit!y(aswellassimilarlineandpagebreaks). 9$If2y!ousayloadtimes,Urmpagechangesits\textwidthcalculation,UloadstheyPSNFSSy pac!kdDagethatloadstheTimesfountfamilye,'and(veryimpMortant,thisis)c!hangesthetypMesettingparameterstosimilarvdDaluestotheonessug-gestedb!yKarlBerrye,.thechapwhowrotethefontinstprogramthatgeneratedthefvirtualfoun!tsusedtotypMesetthePSNFSSfounts.$IfIy!ouspMecifyaloosenessoptiony!ourself|seesection5.1.3onpage48|itwillo!ver-ridethestandardloMosenesssetbyaloadfountoption.Theload-concrete1optionrequestsstandardtigh!ttypMesetting,#andisanywaynotrec-ommended:#ifdy!ouwanttousetheconcretefounts,#trythebMetonpackdDage,whic!h;doMesaverygoMod;jobofsettingupLٽAGT,[wEB Xtousethesefounts.]rmpageʹcanfw!orkhappilywithbMeton:seesection5.1.15onpage55.$Yeoucantellrmpagetosetthe\textwidthbasedonthewidthofafoun!titdoMesn't9kno!waboutwiththethisfountwidthoption.#Ify!ouusethisoption,rmpage willcalculatea\textwidthbasedonthesizeofthefoun!tthatiscurren!twhenrmpageisloaded.Soifyouwanta\textwidthbasedon,saye,GrungefUpMdate(familynamefgronm!ycomputer),youcouldsay:c\documentclass[thisfountwidth,12pt]{article}\renewcommand{\rmdefault}{fgr}\rmfamily\usepackage{rmpage}\begin{document}...$rmpage⧹willtelly!ouwhichfountitisworkingwith,andtheresultsofitscalculations.Ify!ougetconfusedbyLٽAGT,[wEB X'sfountselectionscheme,readtheman!ual;fitconfusesmetoMo.$Thefoun!toptionsworklikethis:eachoptionsetsthe\RM@fountfamilyʹcommandv*toaparticularvdDalue.M)An!yoptionwhichsetsthe\RM@loadfountʹ ag9ktrueforcescoMdelateroninrmpagetoloadtheappropriatefoun!t,^,mostofKthemusingoneofthestandardPSNFSS͹pac!kdDages. ThefountloadingcoMde@iswrittenspeciallyforeac!hfount; there'snoeasywaytoaddmorefoun!tsntothelistthat'salreadydealtwith.6'ButyoucouldaddcoMdetothe\RM@AfterProcessOptionsbʹhoMokify!ouwanttodothis;IbsuggestthatthiscoMdealoadsthefoun!t,bselectsit,andde nes\RM@fountfamilytobMe12,tomak!ethezwidthsettingcoMdemeasureitswidth.zTherearenohooksinrmpwnorm.pkoʹtofaddthissortofthing.%>靲TheFthingabGoutusingtheloadfountoptionsisthatthestandard .|PSNFSSpackqagesdon'talwayssetthedefaultmaindoGcumenttypGeface.|(theoneyougetwhenyouaskfor\rmfamily)tobGethefountyou've.|asked for.1(Soifyousayloadhelvet,you'llgeta\textwidthbasedon.|theFwidthoftheHelveticatypGeface,butHelveticaisthefountyouget.|whenUUyouaskfor\sffamily,whichmightnotbGewhatyouwant.)64A'FJ3 s3 l߲ThethingtodoisbGesurewhichtypGefacewillbethemaindocument \.face,and6askrmpagetosetthe\textwidthaccordingly*.iYou6might\.use4theappropriateloadfountoptionforthis,lorloadthefountsyou\.wantwithseparatecallstotheappropriatepackqagesinyourdoGcument's\.preamble.O"Q Ify!oudon'thavethe leneededtoloadtherequestedfountfamilye,xrmpage @ complains.Q Feoun!tffamiliesaresetlikethis:@ 0=cmr@ 1=avantgarde2=bookman3=zapfchancery4=helvetica@ 5=newcenturyschoolbook6=palatino7=times8=utopia@ 9=lucidacasual10=courier11=concrete12=thisfountwidth@ 13=lucidacasualdirtytrickQ Thedirt!ytrickworkslikethis:whicheventuallygotturnedintoothernicedate.MAfterIstartedturningrmpagein!tosomethingfortherestoftheworldtoloMokat(whic!h1itwasn'toriginally),TI1addedtheukdateandusdateoptions.7ButIstillflik!enicedate,soI'vekeptit.Sothere.)K7othernicedatecRThefsameasusdate;doMesnothing 4nicedateFThefsameasukdate;c!hangesdateformat.verbose@ Synon!ymfforchattysilent;`Synon!ymfforyorkshireerrorshowLS^Synon!ymfforyorkshirewarningshowWҲSynon!ymffortaciturninfoshowFSynon!ymfforchattydebugshowLS^Synon!ymfforgarrulouscenter;`ThefsameascentrenotcenterLS^Thefsameasnotcentre5.2.9<\Marginoptions傍ringbindingWҲThisUoptionsetstheminim!umallowedinsidemargintobMeat .|leastC15nmm1ify!ouareprintinginpMortraitorientation.uIt'sinthecon-.| g lebMecauseitm!ustbeexecutedafterthelandscapeandportrait.|ιoptions.It$doMesnothingbutw!arnyouifyouuseitinlandscapMeorien-.|tation. 4?|Bew!are~thatthisoptiontakesnonoticeoflongpapMersizesatall,.|and]islik!elytogivei yresultsifyoucombineitwiththem.ŠIfyouhave.|an!ythoughtsabMoutthisoption,pleaseemailme|I'mnotterriblyhappy.|withfit.5.2.10CPrinteroptions傍ʹEac!hfprinteroptionmustsetthesetenparameters:)66C'FJ3 s3 @ \RM@printertypeA9coMden!umber,de nedbelow.'Thisnumberisusedb!y \.rmpage tok!eeptrackoftheprinterused;youcantellrmpagetodo\.thingsfforcertainprin!tersandnotforothers. @ \RM@ptrrportclearThenon-prin!tingmarginontheright-handsideinpMor-\.traitforien!tation@ \RM@ptrlportclearThesnon-prin!tingmarginontheleft-handsideinpMortrait\.orien!tation@ \RM@ptrtportclearThenon-prin!tingmarginatthetopinpMortraitorienta-\.tion@ \RM@ptrbportclearThenon-prin!tingmarginatthebMottominportraitori-\.en!tation@ \RM@ptrrlandclearThe,non-prin!tingmarginontheright-handsideinland-\.scapMeforien!tation@ \RM@ptrllandclearThenon-prin!tingmarginontheleft-handsideinland-\.scapMeforien!tation@ \RM@ptrtlandclearTheȨnon-prin!tingmarginatthetopinlandscapMeorien-\.tation@ \RM@ptrblandclearThenon-prin!tingmarginatthebMottominlandscapeori-\.en!tation@ \RM@ptrpostolHNominallye,theamoun!tyouexpMectthepositionofthepaper\.tonvdDarye.v Thevalueofthiscommandisaddedtoeac!hofthe\ptr...clear\.parametersfbMeforetheyareused.9Q Prin!terftypMesare:&@ 0=fullbleedf1=general2=pMessimistic3=optimistic@ 10=dw3006g11=dw50012=dw600XS(HPfdeskwriterinkjetseries)@ 20=lj2F21=lj3h22=lj4%2(HPflaserjetlaserprin!terseries)@ 30=canon!bjxf(Canonbubblejet urble)@ 40+fothers(whatev!ercomesup)@ 1000+floMcalprin!terstoavoidclashesQ TheLw guresforalltheseprin!tersareguesses,uexceptfortheDW500and@ D!W600:B"anyndataonprin!tingmarginsfortheprintersabMoveorothercommonly-@ usedprin!terswouldbMegratefullyreceived.IneedtoknowabMoutprintinglim-@ itsVatthetop,bMottom,left,andVrigh!tforportraitandlandscapemodes,and@ whetherbthedataiswhatthebMookbsa!ysorwhatyoumeasured(preferrably@ bMoth,G8but'an!ything'llhelp)._IfanyonereallyusesLٽAGT,[wEB XwithanA3printer,@ doftell:it'ssomethingI'v!ebMeenwonderingabMout.Q WhenRI'v!egotabMetterideaofwhat'sgoingon,LI'llde nemoreprinter@ options.Q \RM@ptrpostolAgenerallysetto1nmm4/(papMersizesareto2nmm),except@ forfourD!W520whichIkeepacarefuleyeon.&@ fullbleedprinterBFLetsfy!ouprintallthewaytotheedgeofthepapMer.9\.\def\RM@printertype{0}\.\def\RM@ptrrportclear{0mm} T\def\RM@ptrrlandclear{0mm}\.\def\RM@ptrlportclear{0mm} T\def\RM@ptrllandclear{0mm}67DW'FJ3 s3 .|\def\RM@ptrtportclear{0mm} T\def\RM@ptrtlandclear{0mm} .|\def\RM@ptrbportclear{0mm} T\def\RM@ptrblandclear{0mm}.|\def\RM@ptrpostol{0mm}generalprinteriArbitraryǬsettingsthatprobablyensureala!youtǬinsidethe.|prin!tingfareaonmostA4printers..|\def\RM@printertype{1}.|\def\RM@ptrrportclear{8mm}\def\RM@ptrrlandclear{8mm}.|\def\RM@ptrlportclear{8mm}\def\RM@ptrllandclear{8mm}.|\def\RM@ptrtportclear{8mm}\def\RM@ptrtlandclear{8mm}.|\def\RM@ptrbportclear{15mm}>\def\RM@ptrblandclear{15mm}.|\def\RM@ptrpostol{1mm}pessimisticprinterXThis usesthew!orstlimitsIcanremembMermeeting,so.|itfforcedoMcumen!tsinsidetheprintingareaonanyprinter..|\def\RM@printertype{2}.|\def\RM@ptrrportclear{10mm} T\def\RM@ptrrlandclear{19mm}.|\def\RM@ptrlportclear{10mm} T\def\RM@ptrllandclear{10mm}.|\def\RM@ptrtportclear{10mm} T\def\RM@ptrtlandclear{10mm}.|\def\RM@ptrbportclear{19mm} T\def\RM@ptrblandclear{10mm}.|\def\RM@ptrpostol{1mm}optimisticprinterzPThisfusesthebMestlimitsI'dexpectfromarealprin!ter..|\def\RM@printertype{3}.|\def\RM@ptrrportclear{3mm} T\def\RM@ptrrlandclear{3mm}.|\def\RM@ptrlportclear{3mm} T\def\RM@ptrllandclear{3mm}.|\def\RM@ptrtportclear{3mm} T\def\RM@ptrtlandclear{3mm}.|\def\RM@ptrbportclear{3mm} T\def\RM@ptrblandclear{3mm}.|\def\RM@ptrpostol{0.5mm}dw300printer]\Afguess..|\def\RM@printertype{11}.|\def\RM@ptrrportclear{6mm} T\def\RM@ptrrlandclear{15mm}.|\def\RM@ptrlportclear{6mm} T\def\RM@ptrllandclear{7mm}.|\def\RM@ptrtportclear{7mm} T\def\RM@ptrtlandclear{6mm}.|\def\RM@ptrbportclear{15mm}\def\RM@ptrblandclear{6mm}.|\def\RM@ptrpostol{1mm}dw500printer]\Hewlett-P!ackdDard'snspMeci cationforitsDeskWeriterandDeskJet.|500/510/520/540fprin!ters..|\def\RM@printertype{11}.|\def\RM@ptrrportclear{6mm} T\def\RM@ptrrlandclear{15mm}.|\def\RM@ptrlportclear{6mm} T\def\RM@ptrllandclear{7mm}.|\def\RM@ptrtportclear{7mm} T\def\RM@ptrtlandclear{6mm}.|\def\RM@ptrbportclear{15mm}\def\RM@ptrblandclear{6mm}.|\def\RM@ptrpostol{1mm}dw600printer]\Measured]fromaparticularHPV600seriesinkjetprin!ter,,with.|afbitadded.)68E'FJ3 s3 \.\def\RM@printertype{12} \.\def\RM@ptrrportclear{5mm} T\def\RM@ptrrlandclear{15mm}\.\def\RM@ptrlportclear{5mm} T\def\RM@ptrllandclear{2mm}\.\def\RM@ptrtportclear{2mm} T\def\RM@ptrtlandclear{5mm}\.\def\RM@ptrbportclear{15mm}\def\RM@ptrblandclear{5mm}\.\def\RM@ptrpostol{1mm}&@ lj2printerJanfarbitraryguessI\.\def\RM@printertype{20}\.\def\RM@ptrrportclear{7mm} T\def\RM@ptrrlandclear{7mm}\.\def\RM@ptrlportclear{7mm} T\def\RM@ptrllandclear{7mm}\.\def\RM@ptrtportclear{7mm} T\def\RM@ptrtlandclear{7mm}\.\def\RM@ptrbportclear{7mm} T\def\RM@ptrblandclear{7mm}\.\def\RM@ptrpostol{1mm}@ lj3printerJanfarbitraryguessI\.\def\RM@printertype{21}\.\def\RM@ptrrportclear{6mm} T\def\RM@ptrrlandclear{6mm}\.\def\RM@ptrlportclear{6mm} T\def\RM@ptrllandclear{6mm}\.\def\RM@ptrtportclear{6mm} T\def\RM@ptrtlandclear{6mm}\.\def\RM@ptrbportclear{6mm} T\def\RM@ptrblandclear{6mm}\.\def\RM@ptrpostol{1mm}@ lj4printerJanfarbitraryguessI\.\def\RM@printertype{22}\.\def\RM@ptrrportclear{5mm} T\def\RM@ptrrlandclear{5mm}\.\def\RM@ptrlportclear{5mm} T\def\RM@ptrllandclear{5mm}\.\def\RM@ptrtportclear{5mm} T\def\RM@ptrtlandclear{5mm}\.\def\RM@ptrbportclear{5mm} T\def\RM@ptrblandclear{5mm}\.\def\RM@ptrpostol{1mm}@ canonbjxprinteranfarbitraryguessI\.\def\RM@printertype{22}\.\def\RM@ptrrportclear{7mm} T\def\RM@ptrrlandclear{12mm}\.\def\RM@ptrlportclear{7mm} T\def\RM@ptrllandclear{7mm}\.\def\RM@ptrtportclear{7mm} T\def\RM@ptrtlandclear{7mm}\.\def\RM@ptrbportclear{12mm}\def\RM@ptrblandclear{7mm}\.\def\RM@ptrpostol{1mm}r@ 5.2.11p Rowland'scuriousoptions@ Theseq arecuriousoptions,de nedb!yme(RJMM)ptopMerformdarkandeldritch@ deeds.ݺTheseQaren'tin!tendedforhoipMolloi,{mainly'costhey'reabiti yin@ places,fbutIlik!ethemandtheymightgiveyousomeideas. Q OurfD!W520isn'tquitetospMec.l@ R+R-dw520printerBF\def\RM@printertype{2}\.\def\RM@ptrrportclear{7mm} T\def\RM@ptrrlandclear{15mm}69F'FJ3 s3 .|\def\RM@ptrlportclear{6mm} T\def\RM@ptrllandclear{7mm} .|\def\RM@ptrtportclear{7mm} T\def\RM@ptrtlandclear{7mm}.|\def\RM@ptrbportclear{15mm}\def\RM@ptrblandclear{6mm}.|\def\RM@ptrpostol{0.5mm}lucidacasualwidthzPLucidafcasualDe nes\RM@fountfamilyto9loadlucidacasualtAv!ersion.9Ifyouloadlucidacasual,\RM@fountfamily.|ιissetto9afterthelucida-casualpac!kdDagehasbMeen\RequirePackaged..|That's3doneb!ycoMdefurtheroninrmpage,=speciallywrittenforthisdirt!y.|tric!k.$I[=ha!ve[Pwrittenpac!kdDagesthatdothesamejobasthestandardsize10.cloʹetc.,Ó les,butforlargersizes.#BecausethestandardLٽAGT,[wEB X\@ptsizeparam-eterݡisin!tendedtobMeasingledigit,pandIݓwanttouseseveraldi erentsizes,Irkha!verde nedanewparameterthatholdsthepMoin!tsizeofthemainbodyt!ypMe,:QtheKcommand\RM@ptsize.Thisparameterisonlyde nedformylargersizes.$Because6:m!ysizepackdDagescanbMeloadedbeforeorafterrmpage,Z.andbe-causefbMothneedtokno!waboutthepoin!tsize,rmpagesays\providecommand{\RM@ptsize}{666}ʹbMeforeCtheextrasizeoptionsareexecuted.uTheoptionsset\RM@ptsizeto thejappropriatevdDalueifthishasn'talreadybMeendone.Allm!yotherpackdDagesthatfrecognizethelargerpMoin!tsizeoptionsdosomethingsimilar.$The3botherthingthatrmpagedoMeswiththeselargerpoin!tsizeoptionsissetD\@ptsizetothe121pt/vdDalue;:thisistofoMolsectionsofrmpagein!tothinkingthatfit'sdealingwitha121ptfoun!t.14pt/ Sets\RM@ptsizeto14ifneededandsets\@ptsizeto2(meaning12112 e,.|toffoMolrmpage)24pt/ Sets\RM@ptsizeto24ifneededandsets\@ptsizeto2(meaning12112 e,.|toffoMolrmpage)36pt/ Sets\RM@ptsizeto36ifneededandsets\@ptsizeto2(meaning12112 e,.|toffoMolrmpage))70G9'FJ3 S@ Chapter 62卑@ Ho8w T{thingswork:卍@ 6.1eo\textheightffcalculation@ The:w!ayrmpagedecidesonthevdDalueof\textheightisthis:;thelengthop- @ tionsJsetalengthcalled\RM@totalheadfootclearancetobMecertainfraction@ ofthe\paperheight.ThevdDalueofthiscommandwillbMethesumoftheblank@ spaceabMo!vetheheaderandbMelowfoMoter,Ǿafterithasbeenc!heckedagainst@ sev!eralfrestrictions.\l߲Ifthenoheadersoptionhasused,/ \headheightand\headsepare \.bGothsetto0pt q;Kifthenofootersoptionhasbeenused,"\footskipis\.set)to0pt q.cSoagivenlengthoptionwill llthepagetothesameextent\.whetherwornotheadersorfoGotersareused;turningheadersandfooters\.o UUwillincrease\textheight.9Q The; rstc!heck;that'smadeisthatthe\textheightproMducedb!ythis @ vdDalueAof\RM@totalheadfootclearancewillnotexceedthebMoundssetb!y@ \RM@mintextheightڹand\RM@maxtextheight.9Theset!wocommandsarein-@ tended^tobMesetb!ylocalcodeonaclass-b!y-classbasisinthecon guration@ le,SBusing>ythe\RM@OnClassTypecommandinthe\RM@AfterProcessOptions@ hoMok,and\de netheallo!wed\rangeof\textheight.Thisc!heck\de nesthe@ commands:9@ \RM@maxpractextheightand\RM@mintotalheadfootclearance@ \RM@minpractextheightand\RM@maxtotalheadfootclearance-@ Theyarecalculatedfromtheusersuppliedlimits;ltheyarebasedonthelargest@ andsmallestvdDaluesthat\textheightisallo!wedtoha!ve,giventhelimitsof@ thet9discretevdDaluesitisallo!wedt9totak!e.GUThe\practextheightparameters@ arefun!usedatthemoment;theymightcomeinhandyonedaye. Q TheVtotalspaceabMo!veVandbelo!wthefooterisdividedin!totwo:?acer-@ tainfractionofthisspacetothegapatthetop,$ftheresttothegapat@ therjbMottom.ATheset!worjlengthsaresa!vedrjin\RM@totalheadclearanceand@ \RM@totalfootclearance. gThe~altitudeoptionscon!trolthisdivisionof@ space|seefsection5.1.13onpage55.Q Chec!ksarethenmadetoensurethatnothingwillbMeprintedoutsidethe@ allo!wedprintingregionalongtheverticalaxis.wThisisde nedbythelengths@ \RM@minheadclearanceHand\RM@minfootclearance,q靲The8}parametersthatde netheavqailableprintingregionalongthe .|verticalwaxisare\RM@minheadclearanceand\RM@minfootclearance..|The_vqaluesofthese\RM@...clearanceparametersaresetprinterby.|printer,Tand~pGossiblypaper-sizebypaper-size.rmpageensurethatthey.|are8atleastaslargeaseitherRM@mintopmarginor\RM@minbottommargin,.|asUUappropriate.>If-theparticularcombinationofprinterandpapGerhassetthe ag.|\RM@jackupltobGetrue,rmpagewilllifttheprintingregiontoclearan.|over-largeLnon-printingmarginatthebGottomofthepage.Thisisuse-.|fulIforpGeoplewithHewlett-PackqardIinkjetprinters.Thereisnosimilar.|facilityRWforautomaticallyloweringtheprintingregionorshiftingitside-.|ways.bThis(isbGecausealargerthanexpectedspaceatthebottomofthe.|pageisrarelyaproblem,butlowerthannormalorshiftedsidedwaysis.|usually0aproblem.eThesee ectsmaybGeachieved,8+butyouhavetodoit.|byUUusingoptionstohavethespGeci ce ectyouwant.>EachUUprinteroptionmustde nethecommands:&d9Ï\RM@ptrrportclear]\RM@ptrlportclearC+\RM@ptrtportclear9Ï\RM@ptrbportclear]\RM@ptrrlandclearC+\RM@ptrllandclear9Ï\RM@ptrtlandclear]\RM@ptrblandclearC+\RM@ptrpostol>靲TheyTde nethenon-printingclearancesinlandscapGeandportrait.|orientation,F(andtheassumedmaximumpGositionalerror.Codecanbe)72IJ'FJ3 s3 \.addedinthe\RM@PrinterPaperSettingshoGoktosetparticularclear- \.ances'ExX. cmmi10=2=>\.widthUUof(im t)ʋ.lrmpagejYasksforanormaltext-basedwidthbasedonthesamenumbGer\.ofcharactersasthestandardwidths,nandcomparesthistoapapGer-based\.widthaVthatiscalculatedas0:7138P\paperwidth:IJ. rTheaVfractionusedgives\.alarger\textwidththanthestandardclasseswhentypGesettingonA5\.papGer,;but asmaller\textwidthwhentypesettinglargefountsonA4\.papGer.lThexnormalcharacter-based\textwidthcalculatedbyrmpageisdif-\.ferent0tothatcalculatedbythestandardclassesbGecausethestandard\.classesrXroundcalculateddimensionsdowntothenextlowestintegernum-\.bGerُofpoints.HIpthinkthisisamistake,QbGecauseitintroGducesanunneces-\.saryZrerrorinmarginsizes,[sormpagedoGesn'tdoit(unlessyou'reasking\.forstdwidth,whichdoGestruncatesthecalculatedvqalueof\textwidth\.only).lThe8spGecialwidths:oneinchmargins,qhalfinchmargins,and8fullwidth,\.allsetthepapGer-basedtextwidthtoa xedvqaluetoleavethespGeci ed\.amountofspaceeitherside,assumingthatyouhaveaskedforcentred\.printing>(fullwidthleavesnospace).Ifyouhaven't,vPthetotalspaceeither73J >'FJ3 s3 .|βsidewilladduptowhatyou'dexpGect,butyoucanget1.5in ononeside, .|andUU0.5in UTontheother,forexample,ifyou'reusingoneinchmargins. 6>stdwidthjHsetsbGoththepaperandcharacter-basedinitialguessesto.|the samevqalueasthestandardclasses.:Iftheselectedinitial\textwidth.|βvqalue*isn'treduced,theresultwillbGethesameasthestandardclasses'.|calculationsD(insertstandarddisclaimerhere|notbGecauseI'mafraid.|of0bGeingsued,gbutbecauseI0thinkyoushouldcheckthatthevqalueof.|\textwidthӲiswhatitshouldbGeifit'sreallyimportant.ZThisisbecause.|IthinkFthisisacomplicatedpieceofsoftwareFbGecauseTU>'ExX'spiggin'awful.|forLdoingmaths,N|andI'venotveri edthealgorithmtomyownsatisfac-.|tion.Ihavetestedit,anditappGearstoworkthewayIwant,sothat'll.|haveUUtodofornow.)$ʹThen rstc!hecknensuresthatthis rstguessiswithinthebMoundsof\RM@mintextwidth ʹorf\RM@maxtextwidth.Ifit'snot,it'smadebigorsmallenough.G>靲If8you'veaskedforcharacterwidthset,qthenthepapGer-based\textwidth.|βisiysettoalargevqalue;ssimilarly*,nifyou'veiyaskedforpaperwidthset,nthe.|character-basedj\textwidthissettoalargevqalue.7Ifyou'veaskedforan.|inherentlyOpapGer-basedwidthlikeoneinchmargins,PbGoththepaperand.|character-based9\textwidthsaresettotheappropriatevqalue.hSoifyou.|also@?askforcharacterwidthset,Dvrmpagewillgiveyouoneinchmargins.|βanyway*,UUandacomplaint.$ʹNo!wPthesmallestofthetwo\textwidthsisselectedastheonetousefor real,?1and%drmpagecalculates\evensidemarginbasedontherequestedo set|the?)propMortionsinwhic!htheavdDailablehorizontalspaceisdividedbMetweenthelargerfandsmallermargins(seesection5.1.9onpage52forthedetails).G>靲WhenUrmpagechecksU\textwidth,ittakesintoaccountwhether .|you're|printingtwosidedornot.SThecheckingcoGdelooksabitcompli-.|cated,bGecause~therearetwo~setsoflimitsthatapplytothehorizontalex-.|tent6$ofthetext:b/\RM@minrightclearanceand\RM@minleftclearance;.|and\RM@minoutsidemarginand\RM@mininsidemargin.rmpageloGoks.|atUUtheappropriatelimits. 6>The_\leftand\right\minclearanceparametersde nethepGos-.|sibleӠprintingregion,2assetfortherequestedprinterandpapGercombi-.|nation;^all[textmust tinsidetheselimits.wThe\insideand\outside.|\minmargin:Rparametersde nethepGermittedextentofthemainbody.|text,J3excluding:marginalparagraphs.uThe\minmarginparametersare.|de nedtobGe0ptbydefault;theywereintroGducedsothatIcouldwritea.|thesisclasswhichhadtoensureparticularminimummarginstomeetthe.|regulations.Y*ou8canseehowI8usedtheminthe\RM@AfterProcessOptions.|βhoGokUUde nitioninthecon guration le.$ʹIfb\evensidemarginistoMosmalltoallo!wthetexttoprintonthepage, ithisincreased,"hand\textwidthdecreasedtomain!taintherequestedo setpropMortions. 7$Thentherigh!t-handedgeof\textwidthischeckedtoensurethatitiswithintheallo!wedprintingregion.Ifit'snot,\textwidthisreduced.Ifso,\evensidemarginfm!ustbMeincreasedtomaintaintherequestedo setpropMor-tions,sandJ\textwidthreducedb!ythesameamounttokeeptheright-handmarginfthesamesize.)74KH'FJ3 s3 l߲IfRyou'veaskedfor\fullwidth,Rrmpagewon'tattempttoretainthe \.o set+propGortions, norwillitissueasmanywarningsabGoutdecreasing\.thingsUUto t. ύQ When|that'sdone,\oddsidemarginissettotheappropriatevdDalue: equal @ tok\evensidemarginify!ou'vekaskedforonesidedorcentredprinting;Nor@ equal3totherigh!t-handmarginonaneven-numbMeredpageifyou'reprinting@ t!wofsidedandnotcen!tred. Q AndW nallye,Zrmpagec!hecksWthatthe nalvdDalueof\textwidthisstilllarger@ thank4\RM@mintextwidth.,GIfit'snot,grmpagecan'tdoan!ythingabMoutit,so@ justfissuesanerrormessage.*@ 6.3eoHos3oks)@ There'sf v!ehoMoks:"@@ \RM@BeforeProcessOptions,f\RM@AfterProcessOptions,@ \RM@PrinterPaperSettings,@ \RM@BeforeWidthSetting,%\RM@AfterWidthSetting.@ \RM@BeforeProcessOptions?ThisnhoMokisexecutedjustbefore\ProcessOptions,\.and 5bMeforethe\RM@donewithoptions aghasbeensettotrue,#(soop-\.tions+whic!hcanonlybMespeci edinan\ExecuteOptionsstatemen!tcan\.bMefrequested.L퍍@ \RM@AfterProcessOptionsThisnhoMokisexecutedw!ellafter\ProcessOptions.\.ItOisexecutedaftermostofthe ddlingabMoutpriortow!orkingoutpage\.parameters;hasbMeendone,wjustafterthecurren!tclasshasbeeniden!ti ed,\.but[bMeforeclass-speci ccodeisexecuted.Thisisthehooktouseify!ou\.w!ant%toaddanewclass:jy!oushouldpreferablyset\RM@classtypewith\.anewoption,declaredeitherdirectlyinthecon g le,orb!yusingthe\.\RM@BeforeProcessOptionshoMok.Thenputclass-speci ccodeinthe\.\RM@AfterProcessOptionsshoMok;/usethe\RM@OnClassTypecommand.@ \RM@PrinterPaperSettings?ThisnhoMokisexecutedafterthestandardprin!ter/paper\.spMeci cncodehasbeenexecuted.v Usethe\RM@OnPrinterType,:\RM@OnPortraitPaperType,\.\RM@OnLandscapePaperType,fand\RM@OnPaperTypecommandshere.@ \RM@BeforeWidthSettingBIfyy!ouwanttouseadi erent leforwidthsetting,\.de nel\RM@widthsettertobMethenameofthe leinthishook.01The\.\RM@OnClassTypeHcommandcanbMeusedtoselectwhic!hclassthis le\.should:xbMeusedfor.Thishookisexecutedafterthe\RM@OnClassType\.commandhasbMeensetb!ythestandardcode,:andjustbeforethewidth\.settingf leisloaded.@ \RM@AfterWidthSettingThis5hoMokisexecutedonreturningfromthewidth\.settingf le.It'shereforstheticreasons.75L+'FJ3 s3 6.48-MarginalffparagraphsqʹThereismoreonsettingthesizeofmarginalparagraphsinsection6.7on pagef77.$IfYXy!ouaregoingtousemarginalnotesinyourdoMcument,ensurethaty!ouzspMecify\normalmarginparor\reversemarginparbpeforeloadingzrmpage.This_isbMecausermpagecalculatesthesizeofmarginalparagraphsbasedonthespacea!vdDailable,andifrmpagethinksyou'regoingtoputmarginalnotesinthemarginwhic!hislargest,Oandyoureallyputtheminthemarginthatissmallest,(it'llWgetthecalculationwrongandy!ou'llhavemarginalnotesthatdon'tf tonthepage.$Ifny!ou'regoingtoswitchbMetween\normalmarginparand\reversemarginparʹiny!ourdoMcument,selectwhicheveroneputsthemarginalnotesinthesmallestmarginfbMeforey!ouloadrmpage.Messye,Iknow|sorrye.$ThestandardLٽAGT,[wEB Xclasses,repMortandarticle,createmarginalparagraphsthat+area xeddistancea!way+fromthetext,withaminim!umclearancefromthe~AedgeofthepapMerof0.8in(onesidedprin!ting),|or0.4in(twosidedprinting),andfamaxim!umwidthof2in.$rmpagefsa!ysyahbMoofsuckstoallthis."m6.58-Dealingffwithdi erentclassesrmpage6giv!eseachclassanumbMer;~thenumbMerofthecurrentclassisstoredinthecommand\RM@classtype.?/Classesaredetectedinrmpage,andinthecon g le.Morethanoneclasscanha!vebMeenloaded;Jtheideaisthatthe rstloadedfclassisde nedasthecurren!tclass."m6.68-Di erentffpaps3ertyps3esandprintersrmpagekno!wsabMoutnon-printingmargins,andabMoutdi erentpapMersizesandorien!tations.Eachprinterhasitsownde nednon-printingmargins,whichareusedftocalculatethenon-prin!tingmarginsforeachpapMersize.$TheRnon-prin!tingmarginsfortheselectedpapMersizearecalculatedandstoredfinthecommands:#;\RM@minrightclearancef\RM@mintopclearance\RM@minleftclearance f\RM@minbottomclearance$ʹEac!h% printeroptionmustde neninecommandssothatrmpagecancalcu-latethenon-prin!tingmarginsforeachpapMersize.Thesecommandstode nethefnon-prin!tingmarginsforeachprinterare:P!ortraitforientationnon-printingmargins:\RM@ptrrportclearfrigh!t-handside\RM@ptrlportclearfleft-handside\RM@ptrbportclearfbMottomedge\RM@ptrtportclearftopedgeLandscapMeforien!tationnon-printingmargins:\RM@ptrrlandclear)2right-handside)76M7'FJ3 s3 @ \RM@ptrllandclearfleft-handside @ \RM@ptrblandclearfbMottomedge@ \RM@ptrtlandclearftopedge@ Assumedfmaxim!umpMositionalerror:\RM@ptrpostol_qQ Then\RM@ptrpostolcommandholdsalengthwhic!hisaddedtothe\RM@minclearance@ vdDalueszMrigh!tattheendofthenon-printingmargincalculations,Fafterthe@ \RM@PrinterPaperSettingshoMokhasbeenexecuted. eProperlyspeaking,@ there#shouldbMefourofthese: Xoneforleft-righ!terrorandoneforup-down@ errorFbinbMothportraitandlandscapeorien!tation,YbutIFJthinkthatoneisprob-@ ablyfadequate.Thestandardprin!tertypMesset\RM@ptrpostolto1nmm.Q rmpage*Aw!orksoutwhichprinterclearanceparameterstouseasthenon-@ prin!tingfmarginslikethis;_pN011.\.Theݬ ag\RM@portraitissettrueify!ouareprintinginpMortraitorien-\.tation,ffalseify!ouareprintinglandscapMe.6N012.\.Theۼ ag\RM@portlandinvertissettrueify!ouareusingalongpapMer\.size*Dwhic!hreducesthelengthoftheparentpapMersizetolessthanthe\.widthfoftheparen!tpapMersize.N013.\.iff(\RM@portraitandnot\RM@portlandinvert)f7orf(not\RM@portraitand\RM@portlandinvert)\.thenfusetheportclearparametersN014.\.iff(\RM@portraitand\RM@portlandinvert)f7orf(not\RM@portraitandnot\RM@portlandinvert)\.thenfusethelandclearparametersN015.\.If_$y!ouareusingalongpapMersizethatisgreaterthanhalftheparent\.size,setto01ptSthenon-prin!tingmarginattheedgewhereyoucutthe\.paren!tsizetocreatethelongsize(assumedtobMeeithertheright-hand\.orfbMottomedge).N016.\.Executefthe\RM@PrinterPaperSettingshoMokN017.\.AddthevdDalueofthecommand\RM@ptrpostoltothenon-prin!tingmar-\.gins"w@ 6.7eoHeaders,fffos3oters,andmarginalparagraphsq@ ThissectionloMoksatho!wtocontrolthesizeofthegapbMetweenthemain@ bModytextand:٢headers,foMoters,andmarginalparagraphs,asw!ellasthegap@ bMet!ween\@marginalparagraphsandtheedgeofthepaper,kthemaxim!umwidth@ of_marginalparagraphs,2]andthegapbMet!ween_columnsoftextinam!ultiple-@ columnfla!yout.Q Thedetailsofho!wthesizeofmarginalparagraphsiscalculatedarein@ sectionf6.4onpage76.77ND!'FJ3 s3 $ʹSome(lengthsusedaspagela!yout(parametersaresettotheir nalvdDalues b!yfthecommand:. \RM@scalebyoption{}{}ʹTheWism!ultipliedbyafactorcontrolledthethe.Theoptionn!umbMerissetto12b!ydefault(whichmeansm!ultiply8byone),].andisallowedtorangefrom1to23.Themultipliersarein> ageometricalsequencefrom0.3263to3.0646.Theoptionleast...setsthepoptionn!umbMerpto3,Bandgiv!esamultiplierof0.4.Iusuallyprin!tonA4paperwithalargeinsidemarginsoIScanputm!yprintoutsinaringbinder,andISlikemydateslikethis:85thNo!vembMer1996.Yeoucanc!hangetheargumentofthisstatementtomatchyourpreferences:Qify!ou'reanAmericanwithaLaserJet4,replacetheprinteroptionwithlj4printer,2c!hangethepapMertypMetoletterpaper,2andthedatetousdate.cIfDmostofy!ouroutputgoMesinring-binders,Xskeepthenotstdmarginsʹoption;jotherwise,jc!hangeittostdmarginstogiveaconventionallargeoutsidemargin.%%RCHANGETHECOMMANDBELOWTOMATCHYOURLOCALPREFERENCES%%R--------------------------------------------------------%%\ExecuteOptions{R+R-dw520printer,a4paper,notstdmargins,nicedate}%%%%R--------------------------------------------------------f$ʹYeouJcanaddalmostan!yoptionyouliketothisstatement:itsetsthedefaultsnRforev!erythingyoutypMesetwithrmpage. 5SomeoftheoptionsinrmplocalNha!vebMeencommentedouttospMeedthingsup,ysoyoumightneedto@uncommen!tthemtoallowthemtowork.jYeoucantellwhetheranoptionneedsuncommen!tingfromthelistofalltheoptionsinchapter5onpage45:optionsythatloMoklik!ethis:.obscureoptionarecommentedout;optionsthatloMoklik!ethis:pusefuloptionarenotcommentedout.Noneoftheoptionsinrmpagefarecommen!tedout|youonlyneedtoeditthecon guration le.)$Yeoujcanha!vejadditionaldefaultoptionsforparticularclasses.4Becausetheoptionscuforparticularclassesareexecutedafterthegeneraldefaults,ptheycano!ver-ridethegeneraldefaults.ɨSoit'squiteallrigh!ttosaya4paperintheExecuteOptions'statemen!tabMoveifyounormallyprintoutslidesonB5pa-pMer,\becausetheb5paperoptionexecutedlateronwillo!ver-ridetheoriginala4paperfoption.$Iffy!ouwantdi erentdefaultoptionsfordi erentclasses,orifyouintendtofusetheslidesclass,readthenextsectionwhic!hexplainsall.)80QfǠ'FJ3 s3 @ 7.3eoCon guringffrmpageforparticularclassesq@ JustƬbMelo!wthe\ExecuteOptionsstatementwhichsetstheglobaldefaults, @ there'sasectionheadeddefaulEtVoptionsforpEarticularVclasses.qThis@ isξtheplacein!tendedforyourclass-spMeci cdefaultsettings.Vrmpageprovides@ afcommandtodothis:U@ \RM@OnClassExecuteOptions{}{}@ It'sѷjustan\ExecuteOptionscommandthatisonlyexecutedforthenamed @ class.Feorfexample,m!ycon guration lehasthestatement:@ \RM@OnClassExecuteOptions{slides}LM`{centre,ukdate,R+R-dw520printer}@ Whic!h|executesthegivenoptionsonlywhenI'musingtheslidesclass.Yeou@ migh!tfliketochangethisstatementtomatchyourpreferences.Q YeouXcanha!veXasman!yofthese\RM@OnClassExecuteOptionsstatements@ asoy!oulike,zalthoughonestatementforeachclassisprobablybMest.˶Ifyouare@ creatingqaclassofy!ourown,|Vsayathesisclassbasedonreport,|Vit'sprobably@ bMestUtomak!esurethatthedefaultoptionsforyourthesisclassareexecuted@ after*1thedefaultoptionsforthereportclass.i=Thatw!aye,K#the*1reportclass's@ defaultsfdon'to!ver-ridefyourthesisclass'sdefaults.Q IfHy!ouwanttocreateanewclasswiththehelpofrmpage,[readsection7.6@ onfpage81formoredetails."0Ѝ@ 7.4eoDe ningffanewprintertyps3e񍍑@ 7.5eoDealingxwithparticularcombinationsofprintereoandffpaps3er@ 7.6eoTfellingffrmpageabs3outanewclassq@ Ify!ouaregoingtode neanewclasstypMe, Xtherearetwoobviouswaysof@ doingit:eitherdeclareanewoptionwhic!hsetsthe\RM@classtypecom-@ mand;dtoy!ournewclassnumbMer(abo!ve;d100,please),orputalineinthe@ \RM@DefineNewClassesfhoMok:U@ \DeclareOption{nuthesisclass}{\def\RM@classtype{101}}@ or@ \newcommand*{\RM@DefineNewClasses}{@ \RM@SetClassType{nuthesis}{101}@ }%endRM@DefineNewClassesQ TheadvdDan!tageofnotusinganoptionisgreaterspMeed.]Theadvan!tageof@ using)anoptionisthaty!oucanpasstheoptiontormpage, ZandbMesurethat@ y!ourYparticularsettingsareactedupMon,evenifyouchangethenameofyour@ class.Q Yeou.cansetdefaultoptionsforaparticularclassinthecon g le:mthe@ defaulEt"optionsforpEarticular"classesfsectionisfory!outoadd:81Rtڠ'FJ3 s3 \RM@ClassExecuteOptions{}{}pJʹstatemen!tshforeachclassyouwantto\ExecuteOptionsfor.makesurethat ify!ouarebuildingoneclassupMonanother(e.g.,sbuildingnuthesisonrepMort),thatFy!ouexecutetheoptionsforthebaseclass rst(e.g., dorepMortbeforen!uthesis).$Then\RM@AfterProcessOptionshoMokistheidealplacetousethe\RM@OnClassTypeʹcommandQtosetupthingsforparticularclasses.Yeoucansetthingslik!emini-m!ummargins,maximumtextwidth,andthelikethere. Seethecon g leforsomefexamples.t7.6.1<\DealingwithoptionsʹIfy!ouwanttobuildanewclassbymoMdifyingastandardclasswiththehelpoffrmpage,y!ouneedtothinkabMoutwhat'sgoingtohappentooptions.$Yeoucantelly!ournewclass,glet'scallitthenuthesisclass,topassoptionsonftormpagequitehappilye,b!yincludingaline:\DeclareOption*{\PassOptionsToPackage{rmpage}*r{\CurrentOption}}ʹin&theoptiondeclarationsectionofy!ourclass letopassalloptionsyoudon'tdealfwithtormpage(notforgettingtosa!y:\ProcessOptions...\RequirePackage{rmpage}ʹlaterfon).$Theproblemwiththisisthatan!yoptionsyouhavesetupexplicitly(forexample,Jy!ouՃmighthavepassthewideoptiontormpagetogetaparticular\textwidth,andtheusermigh!thaveaskedfornarrow. Doyouknowwhichoneftak!esprecendent?)mightbMeover-riddenbytheuser.$TheDsafestw!ayDtodealwiththisistodecidewhic!hofrmpage'soptionsyouwillfallo!wtheusertouse.Yeoumightstickwiththe\DeclareOption*{\PassOptionsToPackage{rmpage}*r{\CurrentOption}}ʹstatemen!tinyourclass leandprepareaspMecialrmpagecon g leforyournew#class,whic!hhasallotheroptionscommentedout.=Ifyoucallthiscon g lefrmpage-nuthesis.cfg,includetheline\newcommand*{\RMconfigfile}{rmpage-nuthesis.cfg}ʹinfy!ourclass lebMeforeloadingrmpage.Oryoumightuse:\DeclareOption{}*r{\PassOptionsToPackage{rmpage}{}}ʹto.passeac!hallowedoptionontormpage,andensurethatyou'renotpassingoptionsftormpagewith\DeclareOption*.$If`y!ouhaveusedrmpagetohelpyougetprintingdimensionsrightfora xedformatandy!oudon'twanttheusertochangeanything,youmight ndit)82SJ'FJ3 s3 @ bMestxtosetthevdDariousparametersdirectlyiny!ourclass le,andforgetabout @ usingrmpageen!tirelye.Youcan ndoutwhattheyweresettobyloMokingin@ the~log le;Cb!ythetimeI'vereleasedrmpage,0everythingthatrmpagechanges@ damnedTw!elloughttobMenotedthere,Wandifnotyoucancursemeforacareless@ foMol,qandvspecifythegarrulousoptiontormpagewhic!hwillprinteverything@ andthensomeiny!ourT,[wEB Xconsolewindow.Don'ttrythisifyou'regoingto@ k!eepfusingrmpagetobuildyourclass|Ihavenoideawhat'llhappMen.u@ 7.6.2j Thingsyoucandowithyournewclassnumb`er@ Changing2textheighttsetting@ Yeoucande nethecommand\RM@textheightgrouptoan!ynumbMeryoulike. @ It'sfprobablybMesttodothisinthe\RM@AfterProcessOptionshook. Q Curren!tlye, ;theqinitialvdDalueoftextheightissetbyoneoftwobloMcksofcoMde:@ one;isexecutedif\RM@textheightgroupis0(default);&theotherisexecuted@ iff\RM@textheightgroupis1(slidesonly).Q Iffy!ouset\RM@textheightgrouptoanythingotherthan0or1foranyof@ y!our1classes,youwillneedtoaddsomecoMdetosettextheight!!Putyournew@ coMde minthe\RM@BeforeTextheightSettinghook;=ha!ve malookatrmpageto@ seefho!wIdidit.M@ Changing2texttwidthsetting@ ALLfTHISISWR!ONGNOW!Q Yeouhcanalsode nethecommand\RM@widthsettertobMean!y lenameyou@ lik!e,|usingrQanyofthehoMoksexecutedbeforethewidthsettingcodeisused.́If@ thecommandisnotde nedjustbMeforethe\RM@BeforeWidthSettinghookis@ executed,sitgisde nedtobMermp!wnorm.pkog(theextensionstandsforpac!kdDage@ option)./If;theclasst!ypMeis5(slides),`thecommandisthende nedtobe@ rmp!wslid.pko.This lenameisthe leloadedtosetthevdDarioushorizon!tal@ parameters.|}ByFdefault,~rmpwnorm.pkoisloadedforallclassesexpMectslides,@ whic!husesrmpwslid.Anexampleofthissortofthingisthisfragmentof@ con gf lecoMde:eȍ@ \newcommand*{\RM@AfterProcessOptions}{ Sd\RM@OnClassType{101}{%class101=nightmareuniversitythesisclassf%Usedifferenttextheightsettingcodetoeverythingelse.f\def\RM@textheightgroup{2}f%Setminimummarginsasspecifiedintheregulations.f%Everythingelseisdonebytheclassfile. s,Thesecommandsf%aredefinedtobe1742ptatthestartofrmpage,sotheyf%can'tbesetintheclassfile.f\def\RM@minoutsidemargin{15mm}f\def\RM@mininsidemargin{40mm}f\def\RM@mintopmargin{15mm}f\def\RM@minbottommargin{15mm}f%setminimumandmaximumtextwidth,asdefinedbytheregsf\def\RM@mintextwidth{130mm}f\def\RM@maxtextwidth{160mm}f%loadcustomwidthsettingcodeinfilevulture-widths.jklf\def\RM@widthsetter{vulture-widths.jkl}Sd}{}@ }83T'FJ3 s3 % %%\newcommand*{\RM@DefineNewClasses}{&"\RM@SetClassType{rmcv}{20}&"\RM@SetClassType{rmletter}{21}&"\RM@SetClassType{bithesis}{22}&"\RM@SetClassType{ljmueepexam}{23}&"\RM@SetClassType{nuthesis}{101}}%endRM@DefineNewClasses%%%nightmareu.thesisusesfixedtotaltextareaheightof7in\newcommand*{\RM@BeforeTextheightSetting}{&"\RM@OnTextheightGroup{2}{%8z\setlength\RM@totalheadfootclearance{\paperheight}8z\addtolength\RM@totalheadfootclearance{-7in}&"}}%endRM@BeforeTextheightSetting%$ʹThecoMdefragmen!tabo!vede nesanewclasst!ype,3`nuthesis,n!umber101, whic!hPisaclassforpreparingthesesforNightmareUniversitye.FThisclassusestextheigh!t&BsettingcoMdethatasksforatotaltextbodyheigh!tofasnearto71inaspMossiblenomatterwhattextheigh!toptionsarespeci ed,andhorizon!taltextparametersaresetb!ythe lecalledvulture-widths.jkl.TheotherlimitsonB>theprin!tingregionspMeci edbytheuniversity'sregulationsareplacedinthe\RM@AfterProcessOptionshoMok.WhatIha!vetypedaboveisinadditiontof\an!ycoMdewhichmightbMeinthosehooksan!yway;Wdon'tf\removeanythingunlessfy!ou'vegotagoModreason|whokno!wswhatmightgowrong?)84A;'FU67 3 cmtcsc105 3 cmmi10NH cmbx12 cmmi10K`y cmr10ٓRcmr7< lcircle10O line10