In work that I write, I frequently have a big mathematical block that uses a lot of single-letter symbols. This is fine, and in fact the standard for the specific sub-field in question. My issue (it's not really an issue, but something that bugs me) is that in the normal text sections of the work I frequently mention some of these symbols. These are written so that they match the presentation of them in the mathematical block, which in practice means that I end up wrapping every mention of the symbol in an inline maths block. E.g. from something I'm currently writing:
At step \(k > 1\), ... \(b\) objects are removed, ... replaced with new \(b\) objects ... adding one further \(m\) object to \(M\).
In the instance above, the k > 1 should be inside an inline maths section in order to typeset it correctly, but it always feels a bit wrong to me to wrap all the single symbol references like \(b\) and \(M\) in an inline maths block, as that doesn't really seem like what maths mode is for.
Is there a recommend alternative way to get the same typesetting, without actually switching into math mode? I'm aware of the \textit command, but I'm not sure if that will always produce the same results as using maths mode - I imagine there might be some document class out there that will end making the two have different typesetting. Or should I simply use maths mode and not worry about it?
I couldn't find any guidance when I searched on this topic, though I may just not have searched on the correct terms. I'm currently using pdfLatex, so I assume that's Latex2e (I'm actually using the default in Overleaf), but I'm hoping that there's a fairly general answer to this.
$b$instead of\(b\)which is the same thing and saves two keystrokes.\textit{b}selects a different font altogether. – David Carlisle Apr 11 '19 at 23:53$k > 1,\dots b$. – Apr 12 '19 at 00:06$b$selects a different font than\textit{b}(or, actually,$\mathit{b}$). What he d8dn't say is that, depending on the fonts used, the shapes may actually be different, and certainly the inter-letter spacing is different; the shape difference is usually slight, with the computer modern fonts being the model. – barbara beeton Apr 12 '19 at 00:23$that you will not need to write it in the text, then you will lose one editing advantage; that is, you will not be able to get the same highlighting that you typically get when using math mode. – Al-Motasem Aldaoudeyeh Apr 12 '19 at 01:18