Take the 2-minute tour ×
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 was going through this tex files www.biostat.umn.edu/~brad/8400/HQuick_cv.tex‎. However, when I use this tex, the text is not justified properly

enter image description here

See the words establishments, Experimental are crossing the margin. How can I fix it?

share|improve this question
2  
Are you loading babel with english option? –  Sigur Feb 3 at 23:41
    
@Sigur. Yes Sigur –  user34790 Feb 3 at 23:55
    
The referenced file does not use babel –  David Carlisle Feb 4 at 0:02
add comment

1 Answer

Please make questions self contained. However the referenced file disables all hyphenation after the first section. which presumably was not intended. Comment out the offending line

\renewcommand{\section}[1]{\pagebreak[3]%
 %%%%%%%%%%%%%%%%%%%%%%   \hyphenpenalty=10000%
    \vspace{1.3\baselineskip}%
    \phantomsection\addcontentsline{toc}{section}{#1}%
    \noindent\llap{\scshape\smash{\parbox[t]{\marginparwidth}{\raggedright #1}}}%
    \vspace{-\baselineskip}\par}

The file also uses a lot of obsolete LaTeX 2.09 font commands such as \bf and \em

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.