Tell me more ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm writing an article and I wish to "justify" the alignment of the text, how do I go about this? By justify I mean making each sentence appear with same length (it's called justifying in e.g. word)

I want to apply this to the whole text that I've written so far.

EDIT:

What I want to do is to align the text to both the left and right margins , adding extra space as necessary

enter image description here

share|improve this question
3  
Welcome to TeX.sx! LaTeX justifies text as standard, so a minimal working example (MWE) that illustrates your input would be useful. – Joseph Wright Nov 2 '12 at 22:40
2  
Do you mean stretch each sentence to the same length (which would look very odd) or simply break lines such that the text block has straight left and right edges (this is the default behaviour) – David Carlisle Nov 2 '12 at 22:41
1  
Sorry, but the edit did not help at all. Can you make an example of what you want to achieve in Word, printscreen it and add the picture into the post? – tohecz Nov 2 '12 at 22:55
2  
Found the error while reproducing it. It was apparently some whitespace that caused the error. Thank you all your help. I will probably be back with another question, where I will make sure to be more clear and give code :) – Jatt Nov 2 '12 at 23:41
3  
OK thanks, the question will probably get closed as "too localised", which is just an administrative thing to sign off the question, don't let it put you off asking further questions (but please always post complete documents:-) – David Carlisle Nov 2 '12 at 23:44
show 9 more comments

closed as too localized by David Carlisle, Harish Kumar, Qrrbrbirlbel, Paul Gaborit, percusse Nov 3 '12 at 0:34

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.