1

This question already has an answer here:

I am using Charter for math (mathdesign package) and Bitstream Vera for body text (through XeLaTeX's fontspec package. However, when using things like \text{} in math mode, the text still appears in the Vera font. It's hard to explain without a visual, so here is one now:

$$\Delta v = v_\text{exhaust} \ln \frac{m_\text{initial}}{m_\text{final}}$$

Which returns the following image:

the Tsiolkovsky Rocket Equation

I would like to know how I can make the words 'exhaust', 'initial', and 'final' use the Charter font like the rest of the equation.

marked as duplicate by Joseph Wright Jan 29 '15 at 7:29

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 2
    Welcome to TeX-sx! \text is meant for producing text mode material, not math mode text. Are you looking for \mathrm? – Joseph Wright Jan 28 '15 at 21:24
  • Thanks! That sets it to the correct font by itself! I'll just use \mathrm from now on. – Eric Jan 28 '15 at 21:29
  • @JosephWright -- this one might help someone else, so (unless it's a dup), an answer, please. – barbara beeton Jan 28 '15 at 21:33
  • 1
    @JosephWright And may be expanding about the dos and don'ts of \mathrm, \mathit, \mathup, \text, \textup, \textrm, \textit in math mode. I have myself doubts about their use. – Manuel Jan 28 '15 at 21:49
  • @Manuel see for example tex.stackexchange.com/questions/130510/… – David Carlisle Jan 29 '15 at 0:10

Browse other questions tagged or ask your own question.