Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!spool.mu.edu!uunet!mcsun!unido!gmdzi!wittig From: wittig@gmdzi.gmd.de (Georg Wittig) Newsgroups: comp.text.tex Subject: Re: Underlining a whole paragraph Keywords: LaTeX, underlining, help, HELP Message-ID: <4239@gmdzi.gmd.de> Date: 6 Mar 91 12:52:08 GMT References: <1991Mar5.065740.27490@leland.Stanford.EDU> Organization: GMD - The German National Research Center for Computer Science Lines: 38 rsingh@elaine17.stanford.edu (Rajesh Kumar Singh) writes: >I know that underlining sucks :-) but this advisor of mine >absolutely wants to underline almost a paragraph of text in >article style. >Even a continous underline is OK. The trouble is that latex >typesets the WHOLE PARAGRAPH AS ONE SINGLE LINE. I looked >up in latex guide on pages 51 and 171 but it didn't help. This one was in comp.text.tex some time ago. &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& \documentstyle{article} \def\underl#1 {\leavevmode\let\first=\relax\underli #1 } \def\underli#1 {\ifx\let\next=\relax\unskip \else\let\next=\underli\first\ulinebox{#1}\fi\let\first=\undersp\next} \def\undersp{\penalty50\ulinebox{\space}\penalty50} \def\ulinebox#1{\vtop{\hbox{\strut#1}\hrule}}%Taken from TexHax v.88, 52 \begin{document} \underl now is the time for all now is the time for all good men to now is the time now is the nownownow now iw is fhgdkhfd dfygdfg fkudshf & \end{document} &&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&& Have fun! -- Georg Wittig GMD-Z1.IT P.O.Box 1240 | "Freedom's just another word D-W-5205 St. Augustin 1 (Germany) | for nothing left to lose" email: wittig@gmdzi.gmd.de | (from "Me and Bobby McGee", telephone: (+49) 2241 14-2294 | Janis Joplin, Kris Kristofferson)