Long code samples in shaded table

Fred Ridder docudoc at hotmail.com
Wed Dec 2 10:37:45 PST 2009


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.

-Fred Ridder

 
> Date: Wed, 2 Dec 2009 15:08:37 +0000
> To: frame at daube.ch; framers at lists.frameusers.com
> From: srickaby at wordmongers.demon.co.uk
> Subject: Re: Long code samples in shaded table
> 
> At 11:28 +0100 2/12/09, Klaus Daube wrote:
> 
> >How about this idea:
> >- Convert all lines (paragraphs) of the code example to a table (one paragraph becoming one
> >row.
> >- Use a table format with no horizontal ruling between the rows.
> >- The automatic breakting between the rows should be no problem.
> 
> That sounds feasible: I will try it. It might be a little awkward getting the 'line' spacing right, but it's worth a go.
 		 	   		  


More information about the framers mailing list