# Tagged Questions

{math-mode} is about typesetting mathematical content, e.g. tweaking the appearance of spacing and symbols in a formula, or producing specific mathematical constructs. For questions about "wrapper" environments like equation or align, consider the tag {equations}.

1k views

### Typesetting mathematical formulas in line breaking

When you typeset a mathematical formula is there a rule regarding the breaking of the formula in a new line, meaning if for instanse the formula breaks in a plus sign (+) or in a equal sign (=) then ...
86 views

### Alternative subequations numbering and references

I know how to have a set of equations numbered as subequations: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} Some text here \...
50k views

### What is the difference between \dfrac and \frac?

The title says it all, both \dfrac{a}{b} and \frac{a}{b} make fractions, so what is the difference between the two?
37 views

### how to have tilda and vector above a symbol [duplicate]

Is there a way to have symbol with a tilde and arrow stacked on top of each other? I tried $\vec \tilde{p}$ but it doesn't look good.
244 views

### Five iterated integrals

Apparently, there are the commands \iint, \iiint, and \iiiint to type iterated integral symbols. To compute an integral in R^4 x [0,T] (i.e. over a 4-dimensional space and time), I would type \...
75 views

### Numbers in multi-language document

When I use two different languages like English and Arabic (one is written form left to right and the other is written from right to left), the equation numbers are written in Arabic, e.g. 14, but ...
97 views

### Is there a way to get “dumb” single quote in math mode?

In mathmode, ' gets converted to "prime" symbol. What I'd like is neither the closing nor opening single quote as in (How to get the closing single quote in math mode). Rather, how do I get an ...
31 views

49 views

### TeXStudio: redefined newcommand variant has bad error highlighting

I would like to use the following command in my LaTeX code \newcommand{\newsym}[2]{\newcommand{#1}{\ensuremath{#2}}} so that I can easily define new symbols that I often use in my equations, such ...
250 views

### Making triangular hat

Is it possible in Latex to make a triangular hat? The one that is used in math over three letters representing points to indicate a triangle. Something like:
55 views

### how to subscript when there is a cap on mathematical expression?

The following equation is typed using MS word When I tried to type same using latex with subscript _i ended up with this result bcoz there is a cap above subscript "beta". The latex output is this ...
36 views

### Long \mapsto-arrow [duplicate]

Is there a longer version of \mapsto, like with \rightarrow and \longrightarrow? I found an ugly solution by inserting a couple of \quads on top of \xmapsto, but it's not very elegant.
57 views

### Substitute \frac for a slash (/) only on inline math mode

I was wondering if there is a way to have LaTeX interpret $\frac{a}{b}$ as $a/b$, but $\frac{a}{b}$ as $\frac{a}{b}$. It is a little tedious to change a inline equation $a/b$ to a display ...
9k views

### Why different bra ket notations?

Why are bra and ket defined in the official package braket.sty in two different ways (\bra, \Bra and \ket, \Ket)? I do not understand why there exists the command \bra with non-scalable delimiters. ...
38 views

### Equation with condition [duplicate]

I'd like to create the following equation: Could you please give me a solution? Thank you.
25 views

### line breaking has no effect in doublespace

I am trying to break a doublespace content without any success. \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \begin{document} \begin{doublespace} \noindent \(\left\{\...
157 views

56 views

### Help writing a matrix

I have trouble in wrtiting this block matrix Any idea? Thanks a lot.
213 views

### How to draw a vertical bar on top of a math symbol?

I can do $_\tau^{|}$ which renders: What I don't like is: The tau becomes under the baseline I can't control the line's length Can someone help me? Thanks!
3k views

### How to get a good “divisible by” symbol?

In addition to the "divides" relation, denoted b | a, there is also a "divisible by" relation expressing the converse (a is divisible by b), often designated with three vertical dots. Up until now, I'...
99 views

### What is the correct command to produce small wedges in differential forms?

In a differential form (see, for example, Definition 10.11 in Principles of Mathematical Analysis): there are wedge-like symbols. I found two plausible commands to produce them: \wedge and \land. ...
99 views

### Dot over A not in the right place

When I write $\dot{A}(t)$, the dot is not aligned with the top of the letter A. is there a way to correct this?
Why does this give an error? \begin{align*} $\sum_{i=0}^K n_{\text{i}} * P * 1000$ \end{align*} Why can't I use align* for my math formula which includes a summation?
During my research I noticed different sum signs: The first one is mine and is created by $\sum_{i=1}^n$. The second one is from a paper. Any idea how to write it in LaTeX?