Re: Re: Programming page break
- To: mathgroup at smc.vnet.net
- Subject: [mg9477] Re: [mg9425] Re: Programming page break
- From: Allan Hayes <hay at haystack.demon.co.uk>
- Date: Thu, 6 Nov 1997 02:40:20 -0500
- Sender: owner-wri-mathgroup at wolfram.com
"P.J. Hinton" <paulh at wolfram.com> [mg9425] Re: Programming page break > This is a function that you use as a wrapper to whatever you are > evaluating. It takes whatever options you want and places them in > the resulting output cell. > embedOptions[expr_,opts___?OptionQ]:= CellPrint[Cell[BoxData[ToBoxes[expr]],"Output",opts]] > Paul: Is there any disadvantage in using StylePrint? embedOptions2[expr_,opts___?OptionQ]:= StylePrint[expr,"Output",opts] We get exactly the same result from the test: embedOptions2[Integrate[x^3 - x, x], PageBreakAbove -> True] Allan Hayes hay at haystack.demon.co.uk http://www.haystack.demon.co.uk/training.html voice:+44 (0)116 2714198 fax: +44 (0)116 2718642 Leicester, UK