Texmaker and TeXstudio ⇒ paragraph and spacing
paragraph and spacing
I use \\ at the end of the statement when I want to end paragraph 1 and start paragraph 2. I assume \\ leaves one extra line between any two paragraphs. Now, if paragraph 2 is starting on new page, then also it is leaving this extra space between paragraph 1 and paragraph 2. So I have to remove \\ from the paragraph 1. But why do I have to check for each paragraph if it is staring on each of the new page? Do we have some automated technique by which Latex itself will understand if a paragraph is starting on a new page, then there is no need to leave the extra line space between paragraphs? Is there any specific command to adjust such things?
Thank you,
Omkar
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- Stefan Kottwitz
- Site Admin
- Posts: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
paragraph and spacing
don't use \\ for extra lines between paragraphs. Use \parskip instead, like
Code: Select all
\setlength{\parskip}{\baselineskip}
Code: Select all
\addtolength{\parskip}{\baselineskip}
Stefan