GeneralHow to make paragraph indented like this ?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
User avatar
anta40
Posts: 38
Joined: Thu Sep 11, 2008 2:36 pm

How to make paragraph indented like this ?

Post by anta40 »

I'm trying to write my homework solution in LaTeX.
The problem is, how can I make a paragraph indented like this ?

ImageImage

See ? Each line is intented.

In LaTeX, the indentation is like this :
ImageImage

Any help?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

How to make paragraph indented like this ?

Post by gmedina »

Hi,

your examples show a difference not only on the indention but also on the justification of the text. A format like the one in the first image can be achieved by an enumerate environment together with

Code: Select all

\raggedright
. The following simple code illustrates two options:

Code: Select all

\documentclass{article}
\usepackage{lipsum}%just to generate some text

\begin{document}

\begin{enumerate}
  \item \lipsum[1]
  \item \lipsum[1]
\end{enumerate}

\begin{enumerate}
  \raggedright
  \item \lipsum[1]
  \item \lipsum[1]
\end{enumerate}

\end{document} 
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply