; TeX output 1997.03.13:0923s}n}9K`y cmr10|': cmti10lenc||numb||fontز||text|| =1*s}n}9GGcmss17droppingq:DtGGcmr17{7taLdKGXQ cmr12AT[-E;gXMacroforDroppingtheFirstaCharacter(s)7tofaPqaragraph!", cmsy10"RMatsDahlgren(߆T cmtt12matsd@homenet.se)&37?R1997/02/22.@t : cmbx9Abstractэ5o cmr9ThisodoAcumen9tdescribesthe ow cmss9droppingpac9k|rage,whichode nesacommand,!ߤN cmtt9\dropping,to '9dropthe rstc9haracter(s)ofaparagraph.ItisbasedonF:redJ.Lauwers'sdropcaps.sty.In'9short,@idroppingXis7anautomatizationofdropcapsinthattheuserdoAesnotneedtokno9wthe'9in9ternalQnameofthefont le(the.tfm- le)butcancontrolthisviatheordinaryL5Aacmr6A TuAEXc.2"5" cmmi9"'9commandsT`\rmfamily'$j cmti9etc.'9ThisT leandthepac9k|rage:Copyrightc# cmsy9 j1996-1997byMatsDahlgren.pAllrightsreserved.!č9&Nff cmbx121&Intros3duction9'm#R cmss10droppingissaL5ffٓRcmr7A͉TU>'ExXpackqagewhichmakesiteasytostartanewparagraphwithadroppGedletter 9orUUletters.qThelinesfollowingthedroppGedletterareindentedsonoover-writingistooGccur.92&Userguide9(N cmbx122.1,RequirementsuT9The'ExX2 b> cmmi10"9of3 1995/12/01(ornewer).fYdroppingVworks3 bGestwithdvipsandMakeTeXPK3installed,9althoughnot9formallyUUneeded.qWithoutthese,theoutputmaynotbGeasgoodasexpected.9droppingv.0.11hasbGeentestedusingL5ffA͉TU>'ExX2",iof1995/12/01patchlevel2aswellasthetest9releaseUUofL5ffA͉TU>'ExX2"+Tof1996/06/01,bGothrunningTU>'ExX3.1415anddvips5.58underOpenVMS.692.2,Usage9TheUUpackqageisincludedbystating\usepackage{dropping}9InPthedoGcumentpreamble.[Thepackqagerecognizesthesameoptionsasthegraphicspackqagev.1.09(1996/05/29)MQbyD.P*.CarlisleandS.P.Q.Rahtz.oWhichMQisusedisassumedtobGecontrolledvia9theUUexistenceofagraphics.cfg leintheL5ffA͉TU>'ExXinstallation.9'ffğ @ -:q% cmsy6L|{Ycmr8ThisXdo'ExXlength(withunit)whichstateshowfarfromtheleftmarginthe9droppGedqtextshouldstart.<&AHpositivenumbGercorrespondstoanindentationrightwards,ԟanegative9numbGer7willforcethedroppedtexttostarttotheleftoftheparagraph.gThedefaultvqalueis0pt,9meaningthedroppGedtextwillbealignedwiththerestoftheparagraph.Themandatorynumb9argumentvshouldbGeanintegernumbGerwhichstateshowmanylinestallthedroppGedtextshould9bGe.kTheClastargument,Ftext,isCthetextwhichshouldbGedropped.kThisargumentmayeitherbGea9singleletterorseveralletterswithoutanyformattinginformation,ortheargumentmaystartwith9a[font-changingcommandofthetypGe\rmfamily.Intheformercase,therearenospecialthings9to`EthinkabGout,candthedroppedtextwillbetype-setinthedocument'sdefaultfont.However,cif9afont-changingcommandisused,מtherearetwothingstobGeawareof:B<*"V cmbx101.wY*oucanonlyusethe9font-changingcommands\rmfamily,\sffamily,\ttfamily,\mdseries,\bfseries,\upshape,9\itshape,ƴ\slshape,or|\scshape(i.e.Fnotothe\textxxcommands).2.Thefont-changing9command(s)3mustbGefollowedbyapairofbraces,:k{},and3ablankspacefortheinternalstripping9routines1towork.Several1font-changingcommandsmaybGeusedinseries.Thus,hbGoth{This},9{\bfseries{}?this},>and {\ttfamily\itshape{}this}areexamplesofvqalidtextarguments9to\dropping.UNotethattheconstruct\textit{\dropping[lenc]{numb}{text}}doGesnotywork9propGerly*. ㎍3YF*redJ.Lauwers'scommand\bigdropisalsoavqailableifthedroppingpackqageisloaded.mC\bigdrop *$YItUUhasexactlythesamesyntaxasifrdropGcapsisloaded,thatis:$Y+Thefourthargument,چtext,isthetexttobGedropped(only$YplainUUtextisvqalidhere!).qF*orfurtherdetails,pleaseseethedropGcapsdocumentation.!č93&Examples9,': cmti10This"%8section*givessomesimpleexamplesoftheuseofdropping. Asa rstexample,this ㎍"%8veryparagraphwasstartedbystatingthecommand qǍ"%8`\dropping{3}{\itshape{}?This}'c9inthebGeginning.sNoticethebraces(`{}')andthespace9bGeforeUU`This'r!Ǎ -_/U cmssi10I9naddition,/thisparagraphgivesanexamplewheretheoptional rstargumentof\droppingis9used.Theparagraphwasstartedby`\dropping[-6pt]{2}{\slshape\sffamily{}?I}n',andas 䍑9you_(hopGefully!)cansee,b-itworks netohaveseveralfont-changingcommandsinone\dropping9command.Ǎ9TrhethirdexampleisanexamplewherethedefaultdoGcumentfontisbGeingused.Bynow,Iyou ㎍rprobablyR(have guredoutthatthisparagraphisstartedwith`\dropping{4}{T}he'.pF*oryoutorseemHthefulle ectofthedropping,sEtherehastobGeatleastfourcompletelinesintheparagraph,randDsothistextwithnotsomuchDtosaytheL5ffA͉TU>'ExXuserisgoingonandonandonandonand ㍑9onUUandon...!č94&KnownffProblems⍍9 !", cmsy10'9If0\droppingisusedtostartaparagraphwhichitselfstartsclosetothebGottomofapage,'9thedroppGedtextwillhangdownintothefoGoterandgivearatherweirdimpression.Avoid qǍ'9thisUUbysome(unfortunatelymanual)page-breaking.=3 ts}n}9'9Reallylarge(morethantwolinestall)droppGedtextisnotverybeautifulunlessthe '9graphics.cfgu lesspGeci esdvipsasthedefaultgraphics'driver(oranoptionwhichin'9turnUUcallsthedvipsoption).!č95&Acknowledgements9Firstandmostofall,IwanttoacknowledgeF*redJ.LauwersforprovidingthedropGcapspackqage qǍ9andlettingmeusethecoGdethereof(accordingtothecopyrightnoticeinthedropcaps.sty le;9see alsodropping.ins).6'droppingwouldofcoursenotbGewhatitistodaywithoutF*red'swork.9(Unfortunately*,UUIdonothaveUUanycurrente-mailaddressofF*red's.)9Ialso wanttothankDonaldArsenau(asnd@reg.triumf.ca)andRobinF*airbairns9(Robin.Fairbairns@cl.cam.ac.uk)_foransweringmyquestiontocomp.text.texabGoutcondi-9tionalJstrippingofstrings,>aswellasPietvqanOostrum(piet@cs.ruu.nl)andAlainKetterlin9(alain@ia1.u-strasbg.fr)UUforansweringmy\splittingofastring"question.96&SendingffaBugReps3ort9droppingGislikelytocontainbugs.Although,IdonotconsiderthistobGea\supported"packqage, ㎍9repGortsZofbugsinthepackqagearemostwelcome.|Before lingabugrepGort,pleasetakethe9followingUUactions:qǍr1.'9EnsureUUyourproblemisnotduetoyourowninput le,packqage(s),orclass(es);r2.'9EnsureUUyourproblemisnotcoveredinthesection\KnownProblems"abGove;㎍r3.'9T*ry:toloGcatetheproblembywritingaminimalL5ffA͉TU>'ExXinput lewhichreproGducestheproblem. ㍑'9IncludeUUthecommandǍ1\setcounter{errorcontextlines}{999} '9inUUyourinput;r4.'9RunUUyour lethroughL5ffA͉TU>'ExX;㍍r5.'9SendUUadescriptionofyourproblem,theinput leandthelog leviae-mailto: 98=matsd@homenet.se.Ǎ9EnjoyyourL雍Q0t}\cmti7ATKß'E-X!matsd.=4!Ys}n}97&TheffCos3deg9F*orǝtheinterestedreader(s),hereisashortdescriptionofthecoGde.BFirst,thepackqageistoidentify qǍ9itself:6f1\NeedsTeXFormat{LaTeX2e}[1995/12/01] 6f2\ProvidesPackage{dropping}[1997/02/22v.0.11] Ǎ9Then,UUsomecounters,dimensionsandabGooleanUUareset:6f3\newcount\bigscale6f4\newcount\down6f5\newdimen\saveunitlength6f6\newdimen\wantedheight6f7\newif\ifstrtcmmnd\strtcmmndfalse ƍ9The di erencesbGetween thedi erentgraphics'driversaretakencareofbymeansofoptionsto qǍ9theUUpackqage.qFirst,thedvipsoptionisdeclared(coGdegreatefullytakenfromdropcaps.sty).6f8\DeclareOption{dvips}{%6f9\newcount\wantedcount910\newcount\actualcount%911\newdimen\actualheight%912\def\findsize#1#2{%913\bigscale=1000%914\font\BIG=#1scaled\bigscale%915\setbox0=\hbox{\BIG#2\/}%916\actualheight=\ht0%917\wantedcount=\wantedheight\actualcount=\actualheight%918\advance\actualcountby50%919\divide\actualcountby100%920\multiply\wantedcountby10%921\divide\wantedcountby\actualcount%922\font\BIG=#1scaled\wantedcount%923\setbox0=\hbox{\BIG#2\/}%924\bigscale=\wantedcount}} Ǎ9Next,UUthe\non-dvips-users'"coGdefromdropcaps.styisdeclaredtobeanoption,\other":925\DeclareOption{other}{%926\def\nextmagstep#1#2#3{%927\bigscale=#3%928\font\BIG=#1scaled\bigscale%929\setbox0=\hbox{\BIG#2\/}}%930\def\findsize#1#2{%931\nextmagstep{#1}{#2}{\magstep0}%932\ifdim\ht0<\wantedheight%933\nextmagstep{#1}{#2}{\magstephalf}%934\ifdim\ht0<\wantedheight%935\nextmagstep{#1}{#2}{\magstep1}%936\ifdim\ht0<\wantedheight%937\nextmagstep{#1}{#2}{\magstep2}%938\ifdim\ht0<\wantedheight%939\nextmagstep{#1}{#2}{\magstep3}%940\ifdim\ht0<\wantedheight%941\nextmagstep{#1}{#2}{\magstep4}%942\ifdim\ht0<\wantedheight%943\nextmagstep{#1}{#2}{\magstep5}%944\fi\fi\fi\fi\fi\fi}}=5*s}n}9F*ollowing9this,/thevqariousothergraphics'driversasrecognizedbythegraphicspackqagearede- 9clared.igThe<4xdvioptionjustcallsdvips(asingraphics),A;andsodoGestheoztexoption^1(arecent 9release.ofOzTU>'ExXcontainsagraphics.cfgwhichcallsthedvips-optionofKgraphics).ZSAllother9optionsXccalltheotheroption.zNoteifsomeuser(s) ndthatanoptionshouldusedvipsinstead qǍ9of]Rother,_QpleasefeelfreetochangeinyourloGcaldropping.sty leaslongasyoualsoinformme 䍑9(viaUUe-mailtomatsd@physchem.kth.se)oftheappropriatechange! ,945\DeclareOption{xdvi}{\ExecuteOptions{dvips}}946\DeclareOption{dvipsone}{\ExecuteOptions{other}}947\DeclareOption{dviwindo}{\ExecuteOptions{other}}948\DeclareOption{emtex}{\ExecuteOptions{other}}949\DeclareOption{dviwin}{\ExecuteOptions{other}}950\DeclareOption{oztex}{\ExecuteOptions{dvips}}951\DeclareOption{textures}{\ExecuteOptions{other}}952\DeclareOption{pctexps}{\ExecuteOptions{other}}953\DeclareOption{pctexwin}{\ExecuteOptions{other}}954\DeclareOption{pctexhp}{\ExecuteOptions{other}}955\DeclareOption{dvi2ps}{\ExecuteOptions{other}}956\DeclareOption{dvialw}{\ExecuteOptions{other}}957\DeclareOption{dvilaser}{\ExecuteOptions{other}}958\DeclareOption{dvitops}{\ExecuteOptions{other}}959\DeclareOption{psprint}{\ExecuteOptions{other}}960\DeclareOption{pubps}{\ExecuteOptions{other}}961\DeclareOption{ln}{\ExecuteOptions{other}}962\DeclareOption*{\ExecuteOptions{other}} 9Nowitistimetoloadthegraphics.cfg le,andifitisnotfoundsendawarningtotheuserand *9assumeǯdvipsisaround...:Thenǯinordertofreesomememory*,anyremainingoptionisproGcessed.963\InputIfFileExists{graphics.cfg}{}{%964\PackageWarningNoLine{dropping}{%965Youhaveno`graphics.cfg'fileinstalled.\MessageBreak966Iwillassumeyouareusing`dvips'}967\ExecuteOptions{dvips}}968\ProcessOptions 9NextfollowsF*redJ.Lauwers'soriginalcommand\bigdropexceptthatthe\typeoutstate-mC\bigdrop *9mentsUUhavebGeenremoved.969\def\bigdrop#1#2#3#4{%970\saveunitlength=\unitlength%971\unitlength=\baselineskip%972\setbox1=\hbox{\the\fontI}%973\wantedheight=#2\baselineskip\advance\wantedheightby-\baselineskip%974\advance\wantedheightby\ht1%975\findsize{#3}{#4}%976\hangindent=\wd0\advance\hangindentby#1%977\hangafter=-#2%978\ifdim\dp0>0.25\baselineskip%9797\loop\ifdim\dp0>\baselineskip980"W\advance\baselineskipby\baselineskip981"W\advance\hangafterby-19827\repeat9837\advance\hangafterby-19847\baselineskip=\unitlength985\fi%986\noindent%9ffğ J= "5-:1LThanksXtoJohanFJrob cmmi10K`y cmr10ٓRcmr7L8