1

\\ command in latex creates a new paragraph. I want a command in which when I finish a line, I want to have next line black and then I want to start from the left of next line. Is there an easy command for this.

Example:
What I want:

'I wrote something here

I want to start from here'

What I do not want :

'I wrote something here

    command in latex  starts from here, with gap in the left'
Sean Allred
  • 27,421
gopal
  • 305

1 Answers1

4

The default with the standard classes are paragraphs, whose first lines are indented and without additional space inbetween:

\documentclass{article}
\usepackage{lipsum}
\begin{document}
\lipsum[2-4]
\end{document}

Result parindent, no parskip

Package parskip adds space between paragraphs and the paragraphs start without indentation:

\documentclass{article}
\usepackage{lipsum}
\usepackage{parskip}
\begin{document}
\lipsum[2-4]
\end{document}

Result with parskip, no parindent

In TeX paragraphs are ended by an empty line (which triggers an \par command). \\ is mainly used in tables (environment tabular), or where explicit line breaks are needed. \\ at the end of a paragraph (before an empty line) is an error. TeX has broken the line to start a new one, but there is nothing causing an underfull \hbox warning.

Heiko Oberdiek
  • 271,626