[OS X TeX] Card Format

Alan Litchfield alan at alphabyte.co.nz
Wed May 6 22:42:41 CEST 2009


I think I would build a tabular framework for the page and set the  
width to linewidth, then I'd use minipages to construct each of the  
examples and solutions. You'd need to be fairly careful about spacing  
though to ensure that you don't end up with very large blank spots at  
the end of pages.

Alternatively you could use frameboxes and minipages in them.

Be sure to let us know how you get on.

Cheers
Alan
On 7/05/2009, at 7:23 AM, Alain Schremmer wrote:

> Is there a way to get something like the following look for each  
> single page of a book? (Hence the name "card format")? The idea is  
> that the outer lines are always on the margins and the inner lines  
> can be changed to accommodate the contents of the boxes.
>
> In other words, the line between Example and Solution should be  
> easily changeable from page to page, ditto for the line between  
> Exercises and Answers and same for the horizontal double line  
> between top and bottom. (No need for such a separation as in the  
> sample)
>
> I was thinking of minipages with the contents done as usual but I  
> don't see how to ensure that each "card" is exactly on one page nor  
> how to make the sum of the widths of the boxes equal to the width of  
> the page, nor how to make the sum of the heights of the boxes equal  
> to the height of the page.
>
> From a quick read of Companion 2ed, the geometry package does not  
> seem to deal with that, tabulars are not fixed and Companion 2ed  
> does not seem to address this type of stuff at all.
>
> Very hopeful regards
> --Regards
>

Alan Litchfield MBus(Hons), MNZCS
School of Computer and Mathematical Sciences
AUT University
Private Bag 92006, Auckland, NZ








More information about the macostex-archives mailing list