diverse-project / varylatex

Varying LaTeX for fitting your requirements
7 stars 2 forks source link

Columns style and space left in a document #17

Closed c-a-m-o closed 3 years ago

c-a-m-o commented 4 years ago

The current way of calculating the left space is not taking into account the fact that a document (like the example document) can have a 2-column layout, meaning that the space left in the rightmost column will not be computed.

It may be possible to use the current technique with the interval tree, but with two dimensions, to get the tallest empty rectangle box possible.

FAMILIAR-project commented 3 years ago

I think it works well now