6

I am rewriting (and updating) my resume in LaTeX. I was dismayed because LaTeX automatically hyphenates words that need to go onto a new line when a line is too long. I found a way to turn off hyphenation (see code below), however this makes the line ragged and it runs into the margin and looks terrible. Is there a way to turn off hyphenation such that if a word is too long, the whole word is moved to the next line so a line won't run into the margin of a document?

\usepackage[none]{hyphenat}
Education \\
U. Chicago \hfill 2008-2012 \\
\begin{itemize}
\item Long bullet point describing all of my technical skills that goes for several lines
\end{itemize}
3
  • \raggedright would do this, but it would not justify the remaining lines.
    – Werner
    Jan 27, 2013 at 20:21
  • 3
    Try \usepackage{microtype}, it reduces the number of hyphenations.
    – Alex
    Jan 27, 2013 at 20:23
  • 1
    The only sensible way to have non hyphenated text is using ragged right typesetting (or writing in Vietnamese or Chinese, that have no issue with hyphenation, because it doesn't exist for these languages).
    – egreg
    Jan 27, 2013 at 20:56

1 Answer 1

3
\documentclass{article}
\usepackage[none]{hyphenat}

\begin{document}

Education \\
U. Chicago \hfill 2008-2012 

\begin{sloppypar}
\begin{itemize}
\item Loong bullet point describing all of my technical skills that goes overseverallines
\end{itemize}
\end{sloppypar}

\end{document}
2
  • @Alex microtype package worked.
    – Phil Braun
    Jan 28, 2013 at 15:28
  • @PhilBraun: sure, that is always a good idea. But your question was about to prevent hyphenation ...
    – user2478
    Jan 28, 2013 at 16:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .