4

Possible Duplicate:
What’s the difference between \mathrm and \operatorname?

I am a beginner of latex, and am always having a hard time differentiate these commands since they seem always produce the same result in math mode. So I am wondering what is the difference between them?

marked as duplicate by Qrrbrbirlbel, Guido, Werner, Mensch, egreg Jan 1 '13 at 10:07

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.

  • 1
    No, they don’t. \text picks up the text-font settings outside of the math-mode it is used in. Everything else: What's the difference between \mathrm and \operatorname? – Qrrbrbirlbel Jan 1 '13 at 6:54
  • 1
    Besides that, \mathrm (and \text) do not understand the concept of limits (\limits/\nolimits). Further Reference: Is there a preference of when to use \text and \mathrm? – Qrrbrbirlbel Jan 1 '13 at 7:05
  • As suggested by @Qrrbrbirlbel the first sentence of your question isn't correct. Please consider correcting it because it may give the wrong impression to starting users. – user10274 Jan 1 '13 at 7:29
  • @marc sentencing changed! – minimax Jan 1 '13 at 7:55
  • Welcome to TeX.sx! Usually, we don't put a greeting or a "thank you" in our posts. While this might seem strange at first, it is not a sign of lack of politeness, but rather part of our trying to keep everything very concise. Upvoting is the preferred way here to say "thank you" to users who helped you. – Guido Jan 1 '13 at 8:36