Text Formatting ⇒ Some unusual indentation and spacing
-
- Posts: 3
- Joined: Wed May 26, 2010 3:48 am
Some unusual indentation and spacing
Also, there are no spaces between the aforementioned lines. I thought I took care of that by hitting return twice in the .tex file.
- Attachments
-
- Digestive p2.tex
- (2.19 KiB) Downloaded 196 times
-
- Digestive p2.dvi
- (5.52 KiB) Downloaded 212 times
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
Some unusual indentation and spacing
standard LaTeX suppresses indentation for the first paragraph after a sectional heading, as the following MWE illustrates:
Code: Select all
\documentclass{article}
\begin{document}
\section{Test section}
First paragraph.
Second paragraph.
\end{document}
Code: Select all
\documentclass{article}
\usepackage{indentfirst}
\begin{document}
\section{Test section}
First paragraph.
Second paragraph.
\end{document}
-
- Posts: 3
- Joined: Wed May 26, 2010 3:48 am
Re: Some unusual indentation and spacing
I'll read up some more on line spacing and see if I can sort that out. It may be I just need to read more about standard formatting.
Some unusual indentation and spacing
You're welcome.fleetadmiral73 wrote:Thank you for the thoughtful response...
Sorry, I overlooked that in your initial post. Standard LaTeX doesn't add extra vertical space to separate consecutive paragraphs. The start of a new paragraph (with the exception mentioned before) is signaled by indentation.fleetadmiral73 wrote:...I'll read up some more on line spacing and see if I can sort that out...
If you want to add vertical spacing between paragraphs, you have three options:
1) The "manual" option: at the end of every paragraph add one of the commands \smallskip, \medskip, or \bigskip. In this case indentation is superfluous so you could consider suppressing it by adding
Code: Select all
\setlength\parindent{0pt}
2) Load the parskip package.
3) Use a document class (for example the ones from the KOMA-Script bundle) that implements commands to automatically obtain additional spacing between paragraphs.