[OS X TeX] Typography problem

Thu Mar 31 15:02:50 EDT 2022

Jonathan,

Thanks for this suggestion. Writing

\begin{theorem}
If\/ $\mathscr{W} \in M$ and if\/ $W \in \mathcal{V}$
\end{theorem}

rather than

\begin{theorem}
If $\mathscr{W} \in M$ and if $W \in \mathcal{V}$
\end{theorem}

works extremely well, for both Utopia and Minion fonts, and better than just adding something like a \thinspace after the f.

However, this still requires a manual adjustment in each instance. I fully support the questioner’s rant in https://tex.stackexchange.com/questions/19298/contradiction-in-a-texbook-example:

> But as TeX is all about clean separation of content from the presentation, why am I required to do such manual typographical adjustments when using fonts such as Computer Modern?
> Shouldn't TeX do the adjustment automatically when it meets a certain combination of (its own) fonts and characters? To me this feels like Knuth is violating his own principle of messing with manual formatting as little as possible. If I have misunderstood the need for typing \/ all the time, please enlighten me.

Manual adjustments in my case look daunting. BBEdit tells me that there are 1915 instances of “f $” in that 200 page document, 1307 of which come from “of$” and 533 of which come from “if $”. Unfortunately, I’m not knowledgeable enough to search for these strings only within theorem environments. I don’t know how to do that, let alone do a search and replace like “f$” —> “f\/ $” only within theorem environments. Since the \/ seems to have no effect unless the “f$” is within a theorem environment, I suppose I could do a search and replace on all 1915 instances of “f \$”, but that could look a little messy in the .tex code.

And there may be letters other than f that are problematical (depending on the font), but it appears that f seems to be by far the worst culprit.

Richard

> On Mar 31, 2022, at 7:00 AM, Jonathan Fine <jfine2358 at gmail.com> wrote:
>
> Hi Richard
>
> Have you tried using italic correction?
>
> https://tex.stackexchange.com/questions/93961/how-does-italic-correction-work <https://tex.stackexchange.com/questions/93961/how-does-italic-correction-work>
>
> best wishes
>
> Jonatha
>
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20220331/635f9054/attachment.htm>