Text FormattingHanging Indent for numbered Paragraphs

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jblaster
Posts: 1
Joined: Sat Sep 21, 2013 5:23 pm

Hanging Indent for numbered Paragraphs

Post by jblaster »

The code I have is this.

Code: Select all

1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat \\
But as you can see in this output:
hanging-indent.png
hanging-indent.png (5.49 KiB) Viewed 4040 times
The part that says "mod" is not aligned with the first word, "Lorem." I would like all subsequent parts of the paragraph like the letter 'm' in "mod" to be directly under the letter 'L' in "Lorem" including any future numbered paragraphs (there will be some other stuff in between the paragraphs). How can I achieve this?
Last edited by localghost on Sat Sep 21, 2013 5:39 pm, edited 1 time in total.

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
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Hanging Indent for numbered Paragraphs

Post by localghost »

What about using an {enumerate} environment? Could be customized by enumitem.

Just for information to other users for awareness of possibly already existing solutions. The question has also been posted to {TeX} SX. Please read what our administrator thinks about that.
Board Rules wrote:A crossposting is always contra-productive. But there is nothing really against it as long as it is mentioned. This means that a direct link has to be added. So other users who want to help are preserved from double efforts and waste of time.

Best regards and welcome to the board
Thorsten
Post Reply