Text FormattingDifference between "\\" and "\par"

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
ytyyutianyun
Posts: 5
Joined: Thu May 10, 2012 5:00 am

Difference between "\\" and "\par"

Post by ytyyutianyun »

What's the difference between "\\" and "\par"?
Thanks

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10359
Joined: Mon Mar 10, 2008 9:44 pm

Difference between "\\" and "\par"

Post by Stefan Kottwitz »

  • \\ ends a line, the following text starts at the beginning of a new line. The next line belongs to the same (logical) paragraph.
  • \par ends the paragraph (so implicitly also the line). But because the paragraph is ended, a paragraph indentation or a paragraph skip may be added, in addition to the line skip, depending on the settings.
Stefan
LaTeX.org admin
ytyyutianyun
Posts: 5
Joined: Thu May 10, 2012 5:00 am

Re: Difference between "\\" and "\par"

Post by ytyyutianyun »

Thanks, I don't know how I can possibly thank you enough.
Post Reply