I've recently read through my \jobname.log
files to spot errors in typography.
I came across this:
Overfull \hbox (6.8925pt too wide) in paragraph at lines 650--651
[][]\T1/cmtt/m/n/10 plot([][][]<functie>[], []col=<kleur>[], []lwd=<breedte van
de geplotte lijn>[], []type=<type plot,
[]
Underfull \hbox (badness 10000) in paragraph at lines 650--651
\T1/cmtt/m/n/10 zie hierboven>[], []xlab="<eenheid op de x-as>"[], []ylab="<een
heid op de y-as>"[], []main=[]
[]
In the document this part of the document looks like
.
In this case there are three options for me:
- Use
\linebreak
before the part of\textcolor{orange}{main=...
. - Use
\linebreak
in the middle ofmain=...
(current solution). - Don't use any linebreaks.
All three solutions produce a message of both underfull as well as overfull hbox.
Is there a way to encourage LaTeX to linebreak within the environment to fix at least one of these errors? Or scale text, adjust boxes of characters, etc.
I've read through the existing questions and they all suggest linebreaking. In this environment that may be too much asked for, but I'd at least like to explore to possibilities to fix this in a special case (if a such special solution even exists - fingers crossed).
\documentclass{...}
and ending with\end{document}
.