TransWikia.com

Last line of the last reference has wrong indentation

TeX - LaTeX Asked on December 5, 2021

I have a journal of class:

documentclass[twocolumn]{svjour3}

and the bibtex reference at the end:

bibliographystyle{abbrv}
bibliography{vldbj_references}

flushend

end{document}

but the last reference[59], no matter which one it is, always has the last line with wrong indentation as in the attached photo:

enter image description here

No matter what changes I make to the reference in the bibtex file or if I select another reference. The last line will have incorrect indentation.

Any idea why this happening?

Thank you very much!

One Answer

It looks like the column balancing has collected and examined the last line on the page using lastbox, and in doing so it has lost the horizontal offset (lists use parshape).

What is the flushend command? I guess it comes from the flushend package. Looking at the package documentation I see an obvious package option:

keeplastbox It skips removing anything from the last column. As example it is useful and can be used then document ends by reference item and last line of text should be with indent.

That is, if a balanced page may end with a bib-item, or any type of item, then you should use

usepackage[keeplastbox]{flushend}

If you aren't using the package directly, but it is being loaded by the mysterious svjour3 class, you might be able to do

documentclass[twocolumn,keeplastbox]{svjour3}

Answered by Donald Arseneau on December 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP