; TeX output 1996.03.07:1115$^$': cmti10MidnightMacr}'os:gloss.tex 4D"V cmbx1053ڍC4pi( cmssdc10gloss.texaK`y cmr10MacrosU>forverticallyaligningwordsinconsecutivesentences. aV*ersion:1.0U>(26NovembGerU>1990)(doc:10NovemberU>1990)aCopyright[cU> !", cmsy10 }1991U>MarcelR.vqanderGoGotA芍T*o5glossmeanstoinsertexplanationsortranslationsofwordsbGetweenthelinesofatext.3F*oreaseofreading, oneUUgenerallywantsUUtheexplainedwordandtheexplanationtolineup,asin܍$Dit$This:Wis:WisEe}'enEaWtNe}'derlandsWtDutchvo}'orbeeld.example.Theڈmacrosde nedingloss.texmakeitconvenienttotypGesetsuchglossedsentences._T*ousethemacros,you- rsthaveto'ExXquitesometimetotypGesetsuchaparagraph.01*= manfnt$o cmr9Eac9hTwordfromthe rstlinefollowingߤN cmtt9\glossissetinanhbAoxasfollows옍$\hbox{\eachwordone\strut cmsy9hw9ordi }The>macro\eachwordoneisb9ydefault\letequalto\it,HbutcanbAerede ned.WThepreviousparagraphwasmade with#,$\let\eachwordone=\rm$\def\sixstrut{\vruleheight5ptdepth1.5ptwidth0pt}$\def\eachwordtwo{\let\strut=\sixstrut\sixrm}옍(IfV\strutw9erenotrede ned,#therewouldbAetoom9uchVspacebet9weenVthe rstandthesecondline.)qF:urthermore,#toobtainalargerseparationbAet9weenthepairsoflines,1the\baselineskipw9assetto22.5pt(\baselineskipgovernsthewspacingbAet9weenwtheglossedpairs,lthespacingwithinthepairisgo9vernedwbythe\struts.)CSinceaworddoAesnotccon9tainspaces,andeachwordisfollowedbyaspace,the\eachwordmacroscaneasilybAemadetotaketheword(andTthe\strut)asargumen9t.pF:orinstance,thefollowingde nitionwillunderlineeverywordinthe rstline.$\def\eachwordone#1 {\rm\underbar{#1} }TheJspacefollo9wingtheworddoAesnotdisappearatalinebreak,WNbecauseitishiddenwithinanh9box.T:oJhidethisextraspacebAet9weenthelastw9ordandtherightmargin,the nalthingneededtotypAesetthepreviousparagraphwas$\setbox0=\hbox{ }\advance\rightskipby-\wd0ThisTisnotpAerfect,becausethesizeofthespacedependsonthefon9t:pthereisav9erbstickingoutslightly:.0$Thew9ordbAoxesarepairedtogetherinasinglevbAox,Gand\glineconsistsofasequenceofthesevbAoxes.The$vbAo9xes|:areseparatedbysomeglue,equalto\glossglue.gWithoutthisgluenolinebreakswouldbAepossible,norhw9ouldthespacesbAetweenthewordsbAestretchable.gloss.texsays\glossglue=0pt9 plus2ptminus1pt.Thestretc9hTandshrinkcompAonentsareonlyrelev|rantif\unhbox\glineisused.0$Sometimes youwouldrathernothaveextraspacefollowingaword,;forinstancewhenpartsofa wordUUareglossedseparately:qIn^_$Dit$This:Wis:WisEe}'enEanWtvo}'orbeeld-Wtexample.je.(\little")?in?߫inhet Ne}'derlands. Dutch.$^MidnightMacr}'os:gloss.tex 4D73ڍ&itgispreferabletohavegnospacefollowing\vo}'orbeeld-"gifitisnotnecessary*.PxThiscaneasilybGeachievedwith aUUmacrolike$\def\+#1 ?{#1}whichF5isinsertedjustbGeforethewordthatshouldnothaveaspace:j7\+voorbeeld-*je.lItcanalsobGedonebyUUmakingthehyphengobbleupthespace,asin'㎍$\let\hyphen=-$\catcode`-=\active$\def-#1 ?{\hyphen#1}However,&athisdoGesnotworkifthereisawordwithahypheninthemiddle.g~T*ohandlethatsituation,&aamoresophisticatedde nitionof-cancheckwhatthenextcharacteris,Iusing\futurelet.W*ewillnotdothatUUhere,asithaslittletodowithglossedsentences./=;g G4pi( cmssdc101*= manfnt$': cmti10ߤN cmtt9