Linked Questions

4
votes
0answers
985 views

Difference between \mathrm, \operatorname and \text? [duplicate]

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 ...
0
votes
0answers
15 views

Spacing of a macro similar to \sin [duplicate]

I want to create a macro \dom (for domain) that behaves similarly to \sin in the sense that it has spacing \, if it is followed by a letter such as in \dom a and that is has no spacing if followed by ...
107
votes
7answers
46k views

Define additional math operators to be typeset in roman

Mathematical operators, such as function names, should be set in roman type, not italics. Latex already has commands for some operators, including \max, \min, and \log. How can I define additional ...
46
votes
1answer
7k views

Which command should I use for textual subscripts in math mode?

Textual subscripts like in W_{total} should be typeset in an upright text font (so that code isn't good practice), as has been discussed in various questions here. Now there are several ways to ...
14
votes
1answer
283 views

Further questions about mathrm and operatorname: spacing after \colon

EDIT: As clarified in the answers below, this appears to be a bug with amsmath and colon and thus doesn't really have anything to do with mathrm versus operatorname. This question contains an ...
8
votes
3answers
386 views

How to properly typeset E_{\mathrm{k}} in beamer

Scientific typography makes an important distinction between italic type and roman (upright) type (exemplary source). The symbol for kinetisch energy is E_k with E printed in italic type, k printed ...
1
vote
2answers
2k views

Correctly left align a set of equations

I have a set of equations and I want to have them left-aligned instead of center-aligned. Also, I want them all to be numbered. I searched a bit and found that using flalign we can achieve this. But ...
1
vote
1answer
1k views

How to insert long subscripts involving characters?

I tried to write METrate (where rate denotes the subscript) as $MET_rate$. But only r appears as subscript.When I tried writing it as $MET_r_a_t_e$ I get it in the correct format during compilation as ...
2
votes
1answer
420 views

Error using equation*

I get an error in the following: \documentclass[12pt,a4paper,english]{article} \usepackage{amsmath} \begin{document} \begin{equation*} \left\{\begin{matrix} u_t+vu_x=0 & x \in \mathbb{R}\\ g(x)=...
1
vote
1answer
435 views

Incompatibility of lmodern and fourier?

Using the lmodern package, I had the typical font size issues in math mode: for example the sums were not large enough in some of my equations. To solve this I followed egreg's answer to the following ...
0
votes
1answer
40 views

Proper way to semantically enclose several characters as a single name

Answering this question could involve saying something about MathJax. It depends on what turns out to be the answer. I am interested in how things should be done in the LaTeX side, though. LaTeX, as ...