Skip to content

Commit

Permalink
fix(style): reduce the number of word breaks
Browse files Browse the repository at this point in the history
Increasing the hyphen penalty value to 1000 means that generally words
are not hyphenated between lines. This makes justified text easier to
read in my opinion.
  • Loading branch information
olivierwilkinson committed Oct 25, 2021
1 parent 8d4a282 commit ab6c943
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cv.tex
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
\author{[email protected]\\+447931405305}
\date{} % Don't show a date

% Define general styles
\hyphenpenalty=1000 % Don't break words unless necessary

% Define table style
\newcolumntype{L}{>{\raggedleft}p{0.15\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
Expand Down

0 comments on commit ab6c943

Please sign in to comment.