\hyphenation
is not working when the word defined with the macro is next to a slash in the text. For example:
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\setlength{\parindent}{0pt}
\usepackage{hyphenat}
\hyphenation{de-mo-du-la-tion}
\begin{document}
Some text Some text Some text
Some text Some text Some modulation/demodulation''.\par\addvspace{6pt}
\end{document}
\hyphenation{}
. But when the rule is given in the text body with \-
it works.