Page LayoutUnwanted Gap at Top of Page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
bezza
Posts: 4
Joined: Wed Jul 11, 2012 10:42 am

Unwanted Gap at Top of Page

Post by bezza »

Hi All,

Wonder if anyone can help. I've not got the source file to post here because I hope it's relatively simple to sort out and I'm just missing something. I have a paragraph end with a reference which is then going to a new page. When I put the paragraph break in \\ the reference e.g. (bez [2009]) stays on the one page, which then leaves a large gap at the top of the next page. I have tried numerous things but removal of the break results in the year of the reference dropping down a page and then no paragraph break.

Hope that makes sense! Any ideas?!

Cheers in advance.

Bezza

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Unwanted Gap at Top of Page

Post by localghost »

bezza wrote:[…] I've not got the source file to post here because I hope it's relatively simple to sort out and I'm just missing something. […]
Nevertheless a solution would be much easier to find if you reduce the problem to a proper minimal example to avoid guesswork for others. This might be the reason why is thread is orphaned for such a long time.


Thorsten
User avatar
cgnieder
Site Moderator
Posts: 2000
Joined: Sat Apr 16, 2011 7:27 pm

Unwanted Gap at Top of Page

Post by cgnieder »

bezza wrote:[...] When I put the paragraph break in \\ [...]
As Thorsten said this is a case where a Infominimal working example is invaluable. Nevertheless I want to add that a paragraph break is never produced with \\! \\ starts a new line which is not the same as the end of a paragraph. There are two ways to start a new paragraph:
  1. leave an empty line in your source

    Code: Select all

    ...this is the end of a paragraph.
    
    This is the start of a new paragraph...
  2. add \par instead of \\

    Code: Select all

    ...this is the end of a paragraph.\par
    This is the start of a new paragraph...
Regards
site moderator & package author
Post Reply