The Guide to LaTeX (4th ed.) states that \/
is used to break up ligatures (p. 30 and p. 469), which I thought was standardly done with {}
. As \/
is normally known to insert an italic correction (see "How does italic correction work?"), and {}
and \/
yield demonstrably different output, which of the two options is considered best practice? Are there subtleties to be aware of, for choosing one vs the other?
In the following code
\documentclass{article}
\begin{document}
shelfful % (1) ligature
shelf{}ful % (2) no ligature
shelf\/ful % (3) no ligature, wider than in the line above
\end{document}
the spacing between the two "f" letters is wider in line 3 than in line 2, which is not surprising, but if a hair space is meant, the question is whether one is justified and also whether an italic correction makes sense for this purpose (as this is not actually a situation with italics).
Additional options: The question linked to by David Carlisle lists other (creative but hacky) options: {shelf}ful
(identical to shelf{}ful
, according to that source), shelf{\kern0pt}ful
, shelf\-ful
, and shelf\discretionary{-}{}{\kern.033333em}ful
(the babel
solution "|
essentially combines this approach with some fine-tuning). This question was meant to differentiate just between the two recommendations which one is likely to encounter (namely {}
and \/
), to help unconfuse the learner. In any case, it seems like neither is optimal, with the best solution being babel
's "|
. This question-answer set serves as documentation for this whole situation.