[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: OT: Latex



On Fri, Feb 12, 2010 at 09:09:52PM +0100, Stefan Salewski wrote:
> On Mon, 2010-02-08 at 11:12 +0100, Gabriel Paubert wrote:
> > 
> > The main use of this macro is to be able to control the pagestyle of a figure
> > which occupies a whole page. By placing:
> > 
> > \floatcontrol{\thispagestyle{empty}}
> > 
> > between the \begin{figure} and \end{figure}, header/footer/page number is 
> > eliminated from the page on which the figure (schematics in this case) 
> > appears.
> 
> I think 
> 
> /thispagestyle{empty}
> 
> should do the same.

No, \thispagestyle{empty} does not work as expected inside floats. 
I had to encapsulate it in a token list associated with the (full 
page) figure to issue the commands for the page on which the figure 
would be placed.

Try it if you don't believe me. But a look at the definition of
\thispagestyle shows that it uses \global and \gdef, which means
that it will be associated with the next page to be produced by
the output routine, while whole page floats, or page containing 
only floats will always come after.

	Gabriel


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user