
The only way I could get that many hyphens in that text is to force tex to prefer them, this shows various alternative settings
\documentclass{article}
\usepackage{ragged2e}
\begin{document}
\def\t{I want to hyphenate this sentence, but the presence of quadruple lines successively hyphenated}
\noindent\mbox{\vrule\
\begin{minipage}[t]{3.1cm}
\hyphenpenalty=-500
\t
\end{minipage}\ \vrule\
\begin{minipage}[t]{3.1cm}
%\hyphenpenalty=-500
\t
\end{minipage}\ \vrule\
\begin{minipage}[t]{3.1cm}
\raggedright
\t
\end{minipage}\ \vrule\
\begin{minipage}[t]{3.1cm}
\RaggedRight
\t
\end{minipage}\ \vrule}
\end{document}
\usepackage{microtype}. You might be lucky with this. – LaRiFaRi Dec 03 '14 at 13:36\doublehyphendemerits. in knuth'sgkpmac.tex, it's set to100000; latex sets it to only10000. but the suggestion to usemicrotypeis a good one; it should work with pdflatex as well. – barbara beeton Dec 03 '14 at 13:43\righthyphenmin? The reason I ask is that you report the hyphenation pointsenten-ceoccurring. This is not only wrong, it can only happen if you or one of the packages you load have modified the parameter\righthyphenmin. – Mico Dec 03 '14 at 16:03microtypeor\RaggedRightwill not do the trick. Please show some real use-case! If you want to count the number of hyphens at line ends, this would need some real scripting (probably easiest in Lua). If you have columns that narrow, you should redesign your table or what ever construct you have. – LaRiFaRi Dec 04 '14 at 11:57