diff options
author | wlemb <wlemb> | 2003-04-25 16:15:13 +0000 |
---|---|---|
committer | wlemb <wlemb> | 2003-04-25 16:15:13 +0000 |
commit | 8a6a523dc13b887c2367aa2d4121b74335eacc00 (patch) | |
tree | c0fae1d974e921582da454036e7239304a2f16c1 /doc/pic.ms | |
parent | c858cdb9d53ab98c60dfc2546c1b751fbf045025 (diff) | |
download | groff-8a6a523dc13b887c2367aa2d4121b74335eacc00.tar.gz |
* src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
Use a loose DTD.
* src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
vbox with positive height and zero depth if in TeX mode.
* NEWS: Document glyph name changes for grodvi and grolj4.
Diffstat (limited to 'doc/pic.ms')
-rw-r--r-- | doc/pic.ms | 36 |
1 files changed, 30 insertions, 6 deletions
@@ -10,11 +10,17 @@ .\" This document was written for free use and redistribution by .\" Eric S. Raymond <esr@thyrsus.com> in August 1995. .\" -.\" $Id: pic.ms,v 1.21 2003/04/24 01:07:32 wlemb Exp $ +.\" $Id: pic.ms,v 1.22 2003/04/25 16:15:17 wlemb Exp $ .\" -.\" Set a proper TeX -.ie t .ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X -.el .ds tx TeX +.\" Set a proper TeX and LaTeX +.ie t \{\ +. ds tx T\h'-.1667m'\v'.224m'E\v'-.224m'\h'-.125m'X\" +. ds lx L\h'-0.36m'\v'-0.22v'\s-2A\s0\h'-0.15m'\v'0.22v'\*(tx\" +.\} +.el \{\ +. ds tx TeX\" +. ds lx LaTeX\" +.\} .\" .de CE\" Centered caption for figure. Assumes previous .KS .ce 1 @@ -1988,8 +1994,9 @@ You must yourself print that vbox using, for example, the command \ecenterline{\ebox\egraph} .RE .LP -Actually, since the vbox has a height of zero this will produce -slightly more vertical space above the picture than below it; +Actually, since the vbox has a height of zero (it is defined with \evtop) +this will produce slightly more vertical space above the picture than +below it; .RS .LP .CW @@ -1998,6 +2005,23 @@ slightly more vertical space above the picture than below it; .LP would avoid this. .PP +To make the vbox having a positive height and a depth of zero (as used +e.g.\& by \*(lx's \f(CW\%graphics.sty\fP), define the following macro in +your document: +.KS +.DS +.CW +\edef\egpicbox#1{% + \eexpandafter\esetbox\ecsname #1\eendcsname + \evbox{\eexpandafter\eunvbox\ecsname #1\eendcsname\ekern 0pt} +.R +.DE +.KE +.LP +Now you can simply say +.B \egpicbox{graph} +instead of \ebox\egraph. +.PP You must use a \*[tx] driver that supports the .B tpic specials, version\~2. |