liantze / AltaCV

Yet another alternative curriculum vitae/résumé class with LaTeX
Other
1.27k stars 331 forks source link

Use ragged2e instead of plain \raggedright #21

Closed akreuzer closed 5 years ago

akreuzer commented 5 years ago

I suggest using \RaggedRight from the ragged2e package instead of plain \raggedright.

For the included sample CVs this does not change much. But for CVs with multi-line text with longer words, \raggedright sometimes leads to unnatural spacing at the end of lines.

I included a sample illustrating the changes. With ragged2e old AltaCV

@liantze Thank you for making such a great CV package.

liantze commented 5 years ago

I agree that \RaggedRight would give better typographic output, and had considered using that initially. But then I decided to just use \raggedright, to avoid questions from users unfamiliar with typesetting conventions or more familiar with word processors, that "I've already set it to left-aligned, why are the words still all broken up/hyphenated?"

Perhaps a document class option ragged2e can be added to control loading it? Would you like to add the option, or shall I merge this PR first and add the option later?

akreuzer commented 5 years ago

You are right - making the use of ragged2e configurable is better. I added an option ragged2e as you suggested.