0

I wonder if you have a more practical way of doing the following:

  • Indent the text in 4cm
  • Maintaining justified alignment
  • The text should occupy all available space except the edges and 4cm

Something like the image below (the right alignment is bad) enter image description here

It is possible to do this also using two minipage, but it is still not very practical

1 Answers1

1

I would use:

\documentclass[]{scrartcl}

\usepackage{lipsum}

\begin{document}
\hfill
\begin{minipage}{\dimexpr\textwidth-4cm}
    \lipsum[1]
    \xdef\tpd{\the\prevdepth}
\end{minipage}

\prevdepth\tpd\lipsum[2]
\end{document}

results

Why do you need that?

Skillmon
  • 60,462
  • Brazilian standards require that long quotations be made in this way. – Marcelo Rodrigues Apr 10 '17 at 17:48
  • 1
    @MarceloRodrigues You should watch out for the incorrect spacing between the minipage-paragraph and the next one. I added \xdef\tpd{\the\prevdepth} and \prevdepth\tpd for that (taken from one of the answers to the duplicate posts). – Skillmon Apr 10 '17 at 17:52