Skip to content

Commit

Permalink
Add hyphenation package and explanation
Browse files Browse the repository at this point in the history
  • Loading branch information
compor committed Sep 19, 2024
1 parent 078ce0e commit 5b07407
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions paper.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down Expand Up @@ -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}


Expand Down

0 comments on commit 5b07407

Please sign in to comment.