From: Philip G. R. <phi...@ti...> - 2004-01-09 13:44:45
|
> Hi - I am trying to write my doctoral dissertation. I'm using a large cls > file written by someone else that is supposed to put the entire documen= t > into the school's thesis format. I'm having a problem with the placeme= nt > of floats - figures and tables. I don't want more than one float per > page. I duly opened up the cls file and found a line that read > \setcounter{totalnumber}{3} > and changed it to > \setcounter{totalnumber}{1} > This didn't fix the problem. Is there some other command that trumps > totalnumber somehow. Or is there a way that totalnumber is being reset= > without me knowing about it? Well it should fix it, in the sense that early in the document floats sho= uld appear one per page. However, if your optional placement arguments are, e.g., [phtb] then the "p" option will allow a whole page of floats to app= ear when there is a sufficient backlog. This placement may also have been se= t by default in the .cls file with, e.g., \def\fps@figure{phtb} \def\fps@table{phtb} You can override this globally with the same (minus the "p") in your prea= mble (enclosed in a \makeatletter ... \makeatother pair) or locally with, e.g.= , [htb] on every float environment. I personally prefer the global solution and, indeed, always have a .sty associated with each document containing all such directives (this also avoids the need for a \makeatletter ... \makeatother pair). Cordialmente, Philip G. Ratcliffe __________________________________________________________________ Tiscali ADSL SENZA CANONE: Attivazione GRATIS, contributo adesione GRATIS, modem GRATIS, 50 ore di navigazione GRATIS. ABBONARTI TI COSTA SOLO UN CLICK! http://point.tiscali.it/adsl/index.shtml |