Imagine you told your friend who likes to write novels as a hobby about the great typesetting which is possible with TeX so often that now he asked you to typeset his new novel with TeX. After studying Bringhurst you decided that computer modern will be the best possible font, that a4paper is the best possible paper format, that 10pt is the best possible font size for the project and that you want to let KOMA-script
compute the text area for you. Now that the content is fixed because it's your friend's words and the layout is fixed because you don't want to mess with Bringhurst, you start typing:
\documentclass[DIV=calc]{scrbook}
\begin{document}
Every typographer's favourite mathematical functions are \( \mathrm{arccosh} \), and \( \mathrm{arctanh} \).
They make nice typesetting easy and never cause bad spacing.
Among the more boring functions are \( \cos \) and \( \tan \).
\end{document}
You compile, and then the shock: An overfull hbox in the very first line:
Now, what are all the options to avoid the overfull hbox and in which order should you try to apply them?
Note that
- You cannot rearrange the sentence.
- You cannot change the global layout of the document.
I know that there are several discussions on how overfull hboxes arise on this site and several ways of avoiding them are mentioned. But as far as I know there is no practical set of rules for an un-experienced user (like I am) to follow. So I hope this question won't be a duplicate.
\hbox
es and\vbox
es and how can I get rid of them?;-)
Seriously, these should be defined with\DeclareMathOperator
and not typed in with\mathrm
.