Bug 58573 - footnotes not vertically aligned to last line of body text in following page (as in good typographic style)
Summary: footnotes not vertically aligned to last line of body text in following page ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Depends on:
Blocks: Footnote-Endnote
  Show dependency treegraph
Reported: 2012-12-20 13:02 UTC by mannugigu-520
Modified: 2017-07-04 08:15 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

footnotes not aligned with last line of body text on following page in libreoffice (226.04 KB, image/png)
2012-12-20 13:02 UTC, mannugigu-520

Note You need to log in before you can comment on or make changes to this bug.
Description mannugigu-520 2012-12-20 13:02:29 UTC
Created attachment 71852 [details]
footnotes not aligned with last line of body text on following page in libreoffice

in these months Libreoffice gained new useful features and team has
fixed many long-time-unsolved bugs

but there is a thing that, if we cannot strictly to define as a BUG, is,
at least, a "defect" regarding the right typography

I mean the behavior of footnotes versus the text body contained in
subsequent pages

professionally formatted books, look like this


as you can see, footnotes (last footnote) are perfectly vertically
aligned with the last line of text in following page

http://tli.tl/0740NZ (zoom in detail)

while if we insert a footnote in OpenOffice/Libreoffice, this is what we get


an horrible difference between footnote and last line of body text that
result not aligned that makes appereance of documents with footnotes
very ugly

if making this enhancement is not too hard, it will be a great step
toward dtp for LibreOffice
Comment 1 László Németh 2012-12-21 08:22:46 UTC
Unfortunately, there is no justified vertical alignment in LibreOffice.

You can solve this problem with correct page space height (and removing the extra spaces between the paragraphs). Eg. 12 pt body text and 50 lines need 12 * 1.15 (default factor of the line height in LibreOffice) * 50 = 690 pt = 690/72 = 9.583". Set the page margins to leave 9.584" for the page space, and the footnote and the body text will be aligned correctly. Use also register-true body text (see page and paragraph settings) and frames anchored to the top or the bottom of the page space.
Comment 2 László Németh 2012-12-21 09:37:00 UTC
To simplify this process, I suggest a new behavior in the page setting dialog: checking the register-true check box or modification its reference style could “round” margin heights for the correct (“register-true”) page space size. Using the 12 pt reference style of the previous example, 2-2 cm top and bottom margins of an A4 page (21 cm x 29,70 cm) will be ~0.5mm-0.5mm narrower automatically:

((29.7/2.54)*72 - 12*1.15 * round((((29.7-2*2)/2.54)*72)/(12*1.15)))/72*2.54
instead of 4 cm.
This little modification (1.94-1.94 cm top and bottom margins instead of 2-2cm in this example) will eliminate the big justification problem of the page text and the footnotes and frames anchored to the page text area. Other UI option is a new button for this task.
Comment 3 László Németh 2013-03-19 16:54:17 UTC
I have added an icon to the Typography toolbar extension to automatize the suggested workaround:


Description: Click on the first icon to 'round' the page margins of the actual page (style) for precise fitting of the text lines to the page text area. The modification is based on the font height of the Text body paragraph style.
Thanks to this setting, register-true page formatting or paragraphs without extra spacing and headings with base line height based spacing will result correct alignment of the bottom of normal text and footnotes.