I am using the
libertine package with
For maths I use the Computer Modern font.
In formulas I need longer variable names and to do get the spacing right I use
The font used is however Computer Modern which is fine for one-letter variables but looks a bit odd for longer ones (the short and long variables are used for semantically different objects so a difference in font should not be too upsetting).
What is the correct way of globally redefining the font set by
Right now I have
which looks like a hack. Is there a better way? Which unwanted side-effects could my solution cause?