1. ## Latex justify

Hi,
How do u justify text on latex as done in MS office for example.
I'm not refering to left or right alignment but justifying ie. text is aligned to both left and right.

Thanks

2. Originally Posted by krindik
Hi,
How do u justify text on latex as done in MS office for example.
I'm not refering to left or right alignment but justifying ie. text is aligned to both left and right.

Thanks
I thought that justified text came with the defaults on most

\documentclass{article}

documents.

CB

3. ## Justified text

Hi krindik,

because with most classes the text would be fully justified by default there must be something in your code preventing this, perhaps you've used \raggedright or the flushleft environment or a corresponding command.
Few classes don't justify by default, like the beamer class. In that case a quick solution would be to use the macro \justifying of the ragged2e package:
Code:
\usepackage{ragged2e}
\justifying
Stefan

--
TeXblog.net