%0 DATA
%A Nicholas, Beaumont
%D 2017
%T Fitting a Table to a Page Using Non-linear Optimisation
%U https://bridges.monash.edu/articles/journal_contribution/Fitting_a_Table_to_a_Page_Using_Non-linear_Optimisation/5080627
%R 10.4225/03/593600967cb02
%2 https://bridges.monash.edu/ndownloader/files/8598820
%K tables
%K monash:2472
%K 2003
%K optimization
%K typesetting
%K 1959.1/2472
%X It is sometimes difficult to fit a large table comprising several rows and columns onto a page. The usual tactic is to manually adjust column widths, abbreviate some text and/or change some cells' font sizes until the table fits onto a page. We show that it is possible to express the problem of adjusting column widths so as to minimize the height of a table as an optimization problem with non-linear constraints. Five test problems were routinely solved using a free software package. We stress that the solutions are approximate because the model imperfectly simulates how many lines of a cell of a table will be required to contain a segment of text, but they appear to provide good approximations in difficult cases. The scant literature is summarized; the formulation and solution techniques outlined; examples are described; and differences between theoretical and actual answers explained. It would be possible to incorporate the calculations in word processing and typesetting packages such as Word and TeX.