Article View: comp.text.tex
Article #1640Re: LaTeX change bars
From: Jan Hinnerk Haul
Date: Tue, 29 May 1990 10:01
Date: Tue, 29 May 1990 10:01
36 lines
1523 bytes
1523 bytes
cmcmanis@stpeter.Eng.Sun.COM (Chuck McManis) writes:
>Here is a good TeXHaX question: How can I generate change bars in
>a LaTeX document.
I assume you want a black vertical bar in the margin of your document
to indicate changes against prior versions.
Well, that's quite easy:
\marginpar{\rule[-offset]{width}{height}}
For two-sided documents, you should use
\marginpar[\hfill\rule[-offset]{width}{height}}]%
{\rule[-offset]{width}{height}}}
(the % used to invaltdate the newline, so the line fits better)
Put this in the first line of your changed paragraph.
The offset moves down the bar (because its negative), for width
I would recommend 1mm or 0.5em, and as height the height of your changed
paragraph.
Please note that a \parbox will not be cut between pages.
The information herein is taken from H.Kopka, Latex: Eine Einf\"uhrung,
Addison-Wesley (Germany). I somewhat condensed and translated it.
PLEASE do NOT send LONG MAILS - we have to pay $0,30 per kilobyte. Thanks.
--
Jan Hinnerk Haul
.signature wird gerade frisch gestrichen - bitte nicht anlehnen
Technical Details
Message-ID:
<2027@wedel.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!cica!sol.ctr.columbia.edu!ira.uka.de!smurf!gopnbg!mcshh!lutzifer!wedel!pirxReferences:
<136281@sun.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!cica!sol.ctr.columbia.edu!ira.uka.de!smurf!gopnbg!mcshh!lutzifer!wedel!pirx From: pirx@wedel.UUCP (Jan Hinnerk Haul) Newsgroups: comp.text.tex Subject: Re: LaTeX change bars Message-ID: <2027@wedel.UUCP> Date: 29 May 90 10:01:04 GMT References: <136281@sun.Eng.Sun.COM> Organization: Me, Myself, and I - Wedel, West Germany Lines: 36