Tables and axes > Creating tables > Printing more than one table per page > Short tables with wide breakdowns
 
Short tables with wide breakdowns
Use squeeze=1 with tables that spread over more than one page, to tell Quantum to fit as many pages of the table as possible on one printed page. You might use this if you have a short table with too many columns to fit across the page. Generally, when Quantum finds a table that is too wide to print on one page, it prints as many columns as it can on the first page and then starts a new page and prints the remaining columns. However, by specifying squeeze=1 you can force Quantum to print the two parts of the table on the same page if there is room.
For example:
tab region cartype;squeeze=1
l region
col 110;Base;North;South;East;West
l cartype
n10Base
n23Ford;unl1
fld c(136,140); ..codes for Ford cars
n09
n23Volkswagen/Audi;unl1
fld c(136,140); ..codes for Volkswagen/Audi cars
n09
n23BMW;unl1
fld c(136,140); ..codes for BMW cars
When you use squeeze=1 by itself, Quantum squeezes tables onto one page by suppressing the page break that it would normally insert between pages. Titles that would normally be printed at the top or bottom of each page are still printed for each table page, even if it means that the same text appears twice or more on the same printed page. To suppress some or all these titles by specifying a different value for squeeze, see Controlling titles, footnotes and bottom text.
For more information about how Quantum splits and paginates very wide tables, see Pagination.
See also
Printing more than one table per page