ragged-right text and preserve paragraph indentation

I want to justify my text to left without losing the paragraph indentation. I tried ragged and flushleft, although both justify the text and the next paragraph. So I am losing intendation. I do not want to do individual paragraphs because my document is pretty long.

Replay

Do you just want something like this?

ragged-right text and preserve paragraph indentation

\documentclass{article}
\usepackage{kantlipsum}
\newlength{\normalparindent}
\setlength{\normalparindent}{\parindent}
\raggedright
\setlength{\parindent}{\normalparindent}

\begin{document}

\kant[1-3]

\end{document}

Or, using \RaggedRight from the ragged2e package you can assign the desired value to the length \RaggedRightParindent for indentation:

\documentclass{article}
\usepackage{lipsum}
\usepackage{ragged2e}

\setlength\RaggedRightParindent{15pt}
\RaggedRight

\begin{document}

\lipsum[1-3]

\end{document}

ragged-right text and preserve paragraph indentation

Category: formatting Time: 2014-05-28 Views: 0

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.164 (s). 12 q(s)