Long code samples in shaded table

Fred Ridder docudoc at hotmail.com
Wed Dec 2 14:23:54 PST 2009


Oops. Right you are, Richard. My bad.

But I could have sworn that my approach worked for me in the past. I must be getting early symptoms of what's-his-name's disease...

-Fred Ridder

 
> Subject: RE: Long code samples in shaded table
> Date: Wed, 2 Dec 2009 12:09:30 -0700
> From: richard.combs at Polycom.com
> To: docudoc at hotmail.com; framers at lists.frameusers.com
> 
> Fred Ridder wrote:
> 
> > If you define a table format with the Top and Bottom settings for
> Default
> > Cell Margins set to 0 pts, the table will have no affect whatsoever on
> the
> > line spacing that you define for your code listing paragraph style.
> Piece
> > of cake.
> 
> Not quite, Fred. If you do only that, FM puts the first line of the pgf
> at the very top of the cell (assuming Cell Vertical Alignment is Top),
> regardless of the line spacing -- just as it does at the top of a text
> frame. And the last line of the pgf sits at the bottom of the cell
> (unless a min. row height changes that). The Line Spacing setting
> affects only lines of text within the same cell. Lines of text in
> adjacent cells will have no space between them. 
> 
> You have to set the pgf's top cell margin to the same value as line
> spacing minus font size (or you could do it with the bottom cell margin,
> or split it between the two, but I prefer using space above to control
> vertical spacing for almost everything). Or you can do it with the
> table's default cell margins. 
> 
> 
> Richard G. Combs
> Senior Technical Writer
> Polycom, Inc.
> richardDOTcombs AT polycomDOTcom
> 303-223-5111
> ------
> rgcombs AT gmailDOTcom
> 303-777-0436
> ------
> 
> 
> 
> 
> 
> 
 		 	   		  


More information about the framers mailing list