1

I would like to set the paragraph alignment to "all lines", like in Adobe InDesign, see screenshot below:

enter image description here

Is there a way to do it with LaTeX?

And if yes, will it work with the multicol package ?

Thanks in advance.

Regarding the duplicate question: sorry, but I thought in tems of text justification ("alignment"), not overall shape ("rectangles").

  • 1
    for a single paragraph, you will need to isolate that paragraph in a group, then apply \noindent at the beginning, and \parindent=0pt \par at the end. if applying it to all paragraphs, you should add space between paragraphs so that a reader can tell where each one begins and ends. writing for this style is nontrivial, if you want the result to look good. – barbara beeton Mar 15 '16 at 14:55
  • 2
    Is this what you're looking for? Is there a tool that makes paragraphs into rectangles? (Edit: note the end of egreg's answer.) – Torbjørn T. Mar 15 '16 at 14:58
  • The {\parfillskip=0pt \emergencystretch=.5\textwidth \par} trick is what I was looking for. Thanks Torbjørn T. – bik0z Mar 15 '16 at 17:25
  • Possible duplicate: How can one set full justification within left-justified (\raggedright) text? The solution approach uses \justifying from ragged2e. – Werner Mar 15 '16 at 18:06
  • Werner, what I want is justification of the very last line of the paragraph, too. The solution in the post linked by Torbjørn T. does exactly that. – bik0z Mar 15 '16 at 19:28