diff --git a/paper.tex b/paper.tex index 61d9c1c..b82e872 100644 --- a/paper.tex +++ b/paper.tex @@ -55,6 +55,7 @@ \usepackage{thmtools} % required for autoref to lemmas \usepackage{algorithm} \usepackage[noend]{algpseudocode} +\usepackage{hyphenat} \input{tex/setup.tex} \input{tex/acm.tex} @@ -660,6 +661,10 @@ \subsubsection{Managing acronyms automatically} \item We can obtain plural form using \texttt{\textbackslash{}acp\{ir\}} giving: \acp{ir}. \end{itemize} +\subsubsection{Adding hyphenation rules} +While \LaTeX\ handles word breaks automatically, and packages like \texttt{microtype} aim to minimize word splitting, there are instances where either new words lack hyphenation rules, or the suggested hyphenation for a word is undesirable. +The \texttt{hyphenat} package allows adding hyphenation rules using the \texttt{\textbackslash{}hyphenation} macro, e.g., \texttt{\textbackslash{}hyphenation\{Alex-Net\}} for AlexNet. + \end{draftonly}