I started using latex a few months back, and i think its fantastic. never going to go back to MS Word.
Im writing a thesis and Im having some issues with paragraphs. For no reason, I get huge gaps between random paragraphs.
if i use \\ it happens
if i remove \\ it happens
ive tried looking at the class file 9its a standard university one) but cant see any reason for it.
i think i tracked the problem down today, it seems when there are two paragraphs on a page, it will end the second paragraph at the end of the page, not matter how big a gap it has to put in between the two paragraphs...
Im submitting in the next few weeks and getting desperate to find a fix!
Thanks in advance,
Conor.
Last edited by cgnieder on Tue Oct 16, 2012 1:47 pm, edited 1 time in total.
It depends on your class file and your settings. Usually we need to see code to provide a fix. Here I just guess you typeset pages in a balanced mode, so LaTeX tries to fill all page equally, even if it means to insert vertical whitespace.
Without a minimal working example (if you don't know what that is please follow the link) it is hard to say what happens and why. So, here are a few remarks to paragraph building and the usage of \\ and \newline, resp.
A paragraph is everything between two empty lines:
An empty line is treated by LaTeX equivalently to the insertion of \par. Indeed, it inserts a \par then implicitly. The following is equivalent to the first example:
So \newline is not supposed to be used to end a paragraph and start a new one.
The distance between paragraphs is determined by a length called \parskip and is 0.0pt plus 1.0pt as a default. That means it is zero but may be stretched up to 1.0pt if necessary. If you have bigger gaps you're doing something differently. Are you adding a \newpage somewhere and have figures or tables on the page where this happens? Or... So, in order to help you, please provide a minimal working example.
con20or wrote:Although now it adds a blank page between chapters fro some reason.
In books, which are printed two-sided chapters usually start at right hand pages. So there's an empty page inserted, when necessary. I guess that's it what you noticed. I guess you don't want to start a chapter at the left hand side. Or do you print one-sided?
Ok, so set these class options (for \documentclass, in the square brackets): oneside, openany. Possibly your class will support those standard options, probably the class is derived from a standard class.