I am currently using the amsbook class to write my thesis. It happens quite regularly that some text lines cross the margin of the document. So far, I have no clue why and in which cases that happens (e.g., it does not only happen in math environments). Does anyone know why this happens and how to fix it?
Here is some minimal example from my thesis, where this happens. I have included the packages that I use, but the same problem occurs if I do not use any of them.
\documentclass{amsbook}
\usepackage[english]{babel}
\usepackage{amsmath, amsthm, amsfonts,amssymb}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}\usepackage{lmodern}
\usepackage[bookmarks,bookmarksopen,bookmarksnumbered,colorlinks,linkcolor=blue,citecolor=red,urlcolor=grey,breaklinks]{hyperref}
\usepackage{enumitem}
\usepackage{graphicx}
\usepackage{tikz}\usetikzlibrary{positioning}
\usepackage{tikz-cd}
\usepackage{accents}
\usepackage{mathtools}
\usepackage{todonotes}
\usepackage{mathrsfs}
\theoremstyle{definition}
\newtheorem{Def}{Definition}[chapter]
\begin{document}
\begin{Def}[Polynomial Hubbard Trees]
Let $p$ be a post-critically finite polynomial. The \emph{Hubbard Tree} of $p$ is the unique finite embedded tree $H\subset\mathbb{C}$ for which the following conditions are satisfied:
\begin{itemize}
\item $\Omega^+(C(p))\subset H$ and all endpoints of $H$ are contained in $\Omega^+(C(p))$. (\textbf{Minimality})
\item The embedded tree $H$ is forward invariant, i.e., $p(H)\subset H$. (\textbf{Invariance})
\item For every pair of points $z,w\in H$, the in-tree connection $[z,w]_H$ is a regulated arc. (\textbf{Normalization})
\end{itemize}
\end{Def}
\end{document}
babel
package? maybe addingmicrotype
package can help you. for more you need to show (short as possible) example of your document which show your problem.({\bfseries Minimality})
(instead of(\textbf{Minimality})
).\textbf{...}
in this particular case not). this is over my knowledge of LateX :-(