Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

13
  • 1
    I would use M_{\mathrm{add}}(n) instead of \textup to avoid that the index can change along with the surrounding textfont (e.g. if this is in bold). For the "Memory:" it depends on the meaning. Commented Sep 15, 2014 at 13:05
  • @UlrikeFischer The choice between \mathrm and \textup is subjective; the safest is, in my opinion, \textnormal, but having a formula in a boldface context should be quite rare (that is, never). Using a personal command reliefs from the burden. The word “Memory” instead should inherit the font from the context. Commented Sep 15, 2014 at 13:10
  • Good solution, but not for my problem --- i really need cyrillic as part of math. Still, great thanks! Commented Sep 15, 2014 at 16:16
  • @LapshinDmitry I've added the method for defining the letters as math (italic) variables. If you don't want italics, change the {it} into {n}. Commented Sep 15, 2014 at 17:15
  • 3
    @LapshinDmitry If you don't say what are your needs, it's just guessing. Commented Sep 15, 2014 at 17:48