🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.framemaker
Article #100

Re: Attach grey backround box to Headings

#100
From: Arnis_Gubins
Date: Mon, 30 Mar 2009 15:48
24 lines
1748 bytes
Jon,

There are two ways to accomplish.

One method is to use a single-cell table. However, a side-effect of
this is that since the headings are in the table flow, they will be
the last ones processed on a page when a TOC is generated. This may
result in some headings being out of order if you have a mixture of
boxed and unboxed heading on a page.

Another method is to use two paragraph tags together. The first tag
has a FrameBelow with a graphic box set to the appropriate height of
the background box. You then set the space below for this paratag to
be the negative value of the frame below height. Also set the Next Pgf
Tag to be the one for your actual heading. 

The next paragraph tag is for the actual heading. Set the space above
value to also be the negative value equal to the one in the preceding
paragraph tag. This will "back-up" the heading over top of the box in
the previous tag.

You may have to adjust the above/below values slightly to get things
perfectly centred in your box depending upon the font that you're
using (due to differing x-heights of fonts).
Technical Details
Message-ID: <o0q1t49vrbbqh0ep23l7vck7r1u7gcqloi@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b8737a.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: fd315,d00da7a1d509c4ee
X-Google-Attributes: gidfd315,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Arnis_Gubins@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.framemaker
Subject: Re: Attach grey backround box to Headings
Message-ID: <o0q1t49vrbbqh0ep23l7vck7r1u7gcqloi@4ax.com>
Date: Mon, 30 Mar 2009 08:48:44 -0700
References: <59b8737a.-1@webcrossing.la2eafNXanI>
Lines: 24
X-Newsreader: Forte Agent 5.00/32.1171
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit