As an odd recurrence with many previous documents (and by subsequent trials and errors), I noticed that with this default, reduced MWE:
\documentclass[a4paper]{article}
%
\usepackage[OT1]{fontenc}
\usepackage[utf8]{inputenx}
%
%\usepackage{amsmath,amssymb,amsthm}
%
%\usepackage{fixltx2e}
%
%\numberwithin{equation}{section}
%\numberwithin{figure}{section}
%\numberwithin{table}{section}
%
\usepackage[english,italian]{babel}
%
\begin{document}
%
All'interno di una semicirconferenza vi è uniformemente distribuita una carica $Q$, definibile
%
\end{document}
some lines of text contain evidently too much space between words; as the output clearly shows:
To me it's difficult to think that babel
wasn't able to recognize the correct hyphenation for the last line word carica
, as the legal breaking ca-ri-ca
should have sufficed to decrease the word spacing of the first line.
The rather surprising part came out after deleting the italian
option, because at first this error was shown:
! Package babel Error: You haven't loaded the option italian yet.
See the babel package documentation for explanation.
Type H <return> for immediate help.
...
l.3 \select@language{italian}
?
I honestly do not know why this error message is supposed to exist. However, by disregarding this, the generated output is:
Now the last word of the line was wrongly hyphenated (as suspected); but still, this leads to this final question: why babel
couldn't simply hypenate carica
as ca-
, gaining the correct word spacing, instead as leaving those ugly voids?. I know that this word is not esoteric, and should be enlisted into the hypen dictionary.
And, for the sake of completeness, why there is such an error when I delete a language option? My thought about this could be that whenever an option is modified, the *.aux
file somehow interferes with the new declaration, hence pointing out an error; but I'm not sure.
carica
) hypenate correctly in the first place?