🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #4516

Re: troff .DC macro for drop caps, version 2.0

#4516
From: David Wolverton
Date: Wed, 09 Mar 1988 15:00
26 lines
1669 bytes
In article <4021@vdsvax.steinmetz.ge.com>, barnett@vdsvax.steinmetz.ge.com (Bruce G. Barnett) writes:
> In article <688@houxs.UUCP> daw@houxs.UUCP (David Wolverton) writes:
> |Can someone figure out how to modify the macro to do this? 
> 
> fiddle with the line that says:
> .nr pS (\\n(nL*\\n(.L*\\n(.v/10)+(35*\\n(fS*(3*\\n(nL-4)/200)
> 
> change the value to 35 to something larger.

This equation for computing pS assumes that the value in number register .v is
10 times the current vertical separation set by .vs (default 12pts.).  It turned
out that in my case (DWB 2.0 printing to Imagen 8/300), the relationship
between .v and .vs was different.  The equation .vs = (.v - 2)/4 gives me
approximately the right results for typical font sizes (e.g. 10 - 18 pts.).
(Thanks to Bob Marks for help with figuring this out.)

Since I'm not concerned with double-spaced text, I use the equation
	.nr pS (\\n(nL*(\\n(.v-2)/4)
which seems to work for me.

Does anyone know of a way to find the value of the vertical separation set by .vs
without using .v, or the right equation to adjust the value in .v to get this
information independent of the destination?

Dave Wolverton
ihnp4!houxs!daw
Technical Details
Message-ID: <767@houxs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mailrus!ames!sri-spam!rutgers!mtune!mtgzz!mtgzy!mtuxo!homxb!houxs!daw
References: <561@agsm.unsw.oz> <688@houxs.UUCP> <4021@vdsvax.steinmetz.ge.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!mailrus!ames!sri-spam!rutgers!mtune!mtgzz!mtgzy!mtuxo!homxb!houxs!daw
From: daw@houxs.UUCP (David Wolverton)
Newsgroups: comp.text
Subject: Re: troff .DC macro for drop caps, version 2.0
Message-ID: <767@houxs.UUCP>
Date: 9 Mar 88 15:00:00 GMT
References: <561@agsm.unsw.oz> <688@houxs.UUCP> <4021@vdsvax.steinmetz.ge.com>
Organization: AT&T Data Systems Group, Holmdel, NJ
Lines: 26
Summary: here's what I did