{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}.

learn more… | top users | synonyms (2)

2
votes
2answers
80 views

Overline over a symbol with an index

For example, if I want to write a closure of a set, which is denoted A_1, should I use $\overline{A_1}$ or $\overline A_1$ (or something completely different)? For me, the more logical choice seems ...
3
votes
2answers
107 views

Reformat the mathematical product sign

I'm pretty sure there is a simple formatting solution to this, I just can't find it anywhere. I'll describe what I want to achieve with the code and the picture. In my last post I was told to add ...
0
votes
1answer
84 views

How put color in all math mode?

I want to put all math mode in a color, for example, red. But I don't know how to do that. In this web I found how to do it, but in Beamer, I want do it too in Article, Book, etc. Thanks for your ...
0
votes
1answer
45 views

Getting items above and below a compound math symbol

I'm trying to get information to appear above and below a math symbol such as \sum or \leftrightarrows. I've found information detailing \mathop and the syntax behind it but when I try to use it, it ...
7
votes
2answers
116 views

Aligning equations in matrix with outside character

I would like to align these equations on the equals sign (so that the curly braces are flush) and also align the 'ranges' on the RHS side on the 't'. Can anyone help? \begin{equation} ...
3
votes
1answer
71 views

Importing single symbols in the sense of “How does the assignment work?”

I looked at Importing a Single Symbol From a Different Font and Handwritten R-like-kay. As a result, I downloaded the STIX package and looked up the highly welcome curly k \kay and found it to have ...
3
votes
2answers
108 views

$\varepsilon$ not show in bookmark?

I don't know why the math in section is not show in bookmark? \documentclass{amsart} \usepackage{bookmark} \usepackage{hyperref} \hypersetup{ pdfencoding=auto } \begin{document} ...
1
vote
0answers
47 views

Change the font used by \text

The \text macro can be used to embed text fragments in math formulas. However, if one uses separate math and text fonts (e.g. because the text font does not support math), \text of course uses the ...
2
votes
1answer
114 views

writing fractions inside a matrix

How to write a matrix which is showed above in latex ? Please help me with this matrix.
1
vote
1answer
56 views

Make box in math mode with current math font

The commands $\mathcal{\mbox{$M$}}$ and \mbox{$\mathcal{M}$} produce different output. I would like a replacement for \mbox that creates a box preserving all features of the current font in math ...
2
votes
1answer
62 views

Subscript scaling with Latin Modern Math

I'm using XeLateX, Unicode math, and the Latin Modern fonts (Latin Modern and Latin Modern Math). To me, it looks like subscripts in mathematical expressions are being properly (optically) scaled -- ...
4
votes
4answers
144 views

Make uppercase letter have same width as number in math mode?

I want to have \[ \begin{array}{c} \phantom{+} \, 39A_{12} \\ \underline{+ \, 488_{12}} \\ \phantom{+} \, 866_{12} \end{array} \] but the spacing looks awkward with the "A". Is there a way to get ...
5
votes
1answer
159 views

Different shape of parentheses

While correcting a thesis of a colleague I found this: As you can see, the parentheses around the first and the second item differ, however, they're implemented in the exact same manner (see code ...
4
votes
2answers
106 views

Bar over/under integral symbol

I try to typeset bar over/under integral symbol with \overline\int,\underline\int But the line looks too long, any solution?
4
votes
1answer
48 views

Why doesn't \begin{center} center my LaTeX?

Why doesn't this print out centered? \begin{center} \begin{pmatrix}\mu_{G_i, S}\\ \mu_{G_j, S} \end{pmatrix} &\sim N \begin{bmatrix} \begin{pmatrix} 0\\ 0 ...
2
votes
1answer
84 views

Kerning on the boundary between mathmode and textmode

Consider the following code: If $x ∈ X$, then $y ∈ Y$.. When it is rendered by TeX, the space between “X” and “,” and similary between “Y” and “.” seems to be too big. Is there any problem with ...
2
votes
1answer
32 views

Number to text - error results with fraction

When I use integer with following code, it works correctly. But fraction (say 4.7) is used, errors result. \documentclass{minimal} \usepackage{fmtcount} \begin{document} \numberstringnum{4} ...
2
votes
1answer
57 views

How to add space in math mode after a line break

I want to be able to add some space at the beginning of a new line - in math mode. What I have now is this: What I'm aiming for is this: I tried \hspace but it seems to be ignored when there's ...
2
votes
2answers
53 views

\widetilde{} alternative for formula over the tilde

I'd like to put some formula over the tilde in math mode and adjust the tilde length to the length of that formula. It seems that \widetilde{} is almost what I need, however it puts the formula below ...
2
votes
1answer
120 views

Align math sequence next to text

I am writing an assignment and I have a long algorithm that takes up almost a whole page. I would really like this to be shoved to the side so I can write besides it. For the algorithm to look correct ...
4
votes
1answer
64 views

Font size inside subequations environment!

How I can change the font size inside the subequations environment? See below: \begin{equation} \textstyle \xi_{1} = A + B + C; \end{equation} The command \textstyle works fine inside the ...
1
vote
1answer
122 views

What is this typography in this variable?

I am wondering how to get "gamma2" to have the same font as in Doing gamma2 = \Gamma (\alpha + 2) gives the wanted equation, but "gamma2" does not have the font of the example. How can I get ...
4
votes
2answers
208 views

Spacing around longer function argument's parentheses

The line i(x,y,z,t) = \delta(x-\ell_x(z)) \delta(y-\ell_y(z)) \hat{\imath}(\xi(z),t) produces (for my eyes, at least) too little space between the successive function calls. It is difficult to ...
0
votes
0answers
65 views

Unbalanced columns after using multicol

I'm having some issues getting my equations to balance after entering the multicols environment. You can see that the equations are slightly unevenly matched. Any help is appreciated. ...
4
votes
2answers
307 views

Fast way to start a new line

I have quite a few equations in a latex document that are similar to this one here: \mathbb{E}(\cos^2) = \frac{\pi \left(\beta \left(8 \left(2 \alpha ^2+2 \alpha +1\right) \beta ^2-12 (2 ...
3
votes
2answers
116 views

Should superscripts be carried out of a fraction?

I can't help stumbling upon the usual way LaTeX renders fractions with superscripts: I think that the asterisk has a lower "weight" then the symbol and should not be treated as equal. I find ...
3
votes
1answer
97 views

Math aligned, equation pushed to the left

I am using the aligned environment in order to represent the equations aligned, but latex is always pushing the first line a little bit more to the left, since there is no for part there, i tried to ...
1
vote
1answer
32 views

Missing $ error with matrix

The code below produces the mistake in the picture. Any idea why? % !TEX encoding = UTF-8 Unicode \documentclass[a4paper,12pt]{report} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
2
votes
1answer
69 views

How to prevent an equation from flowing over the end of line?

One of my equations, which is not particularly long, happened to be in the end of a line. LaTeX put it in such a way that it uglily flows over the end of the line. Is there an automatic way to fix it, ...
4
votes
2answers
40 views

Controlling vertical space in displayed math mode

Apparently \hspace works inside displayed math mode to move formulas horizontally, but it seems that \vspace is ignored when I want to moved them vertically. I would like to control the vertical ...
3
votes
1answer
39 views

Subequation labeling inside an “aligned” environment

I can align several equations inside a single brace with the following code. \begin{equation} \left\lbrace \begin{aligned} k \cdot E &= 0 \\ k \cdot B &= 0 ...
1
vote
1answer
55 views

Default spaces between letters in math-mode

Question for TeX-gurus. Sometimes I find that the default spaces between letters in the math TeX-mode is to short. Say, I would prefer to have slightly increased spaces between abc in $abc$. On the ...
0
votes
1answer
59 views

Plus-minus sign in the continued fraction

How to write the plus/minus signs aligned with the bottom of the fraction. I can write the rest of the part of equation (1.1) and (1.2). but can cot write the plus/minus sign at the bottom.
1
vote
1answer
52 views

Problem with tocloft, minitoc and bold math mode

To ensure equations in headings are written bold as well I have added the following command to my document: \makeatletter \g@addto@macro\bfseries{\boldmath} \makeatother This works very well until ...
2
votes
4answers
108 views

Line up equations

I want to line up my two equations by the two first equal signals so I wrote this \begin{align} \left\ \begin{matrix} \Delta l &= \Delta l_1 + \Delta l_2\\ N &= ...
2
votes
2answers
96 views

Enforce continuous math environment when concatenating multiple math environments

I have a non-standard setup for my symbols. Instead of defining them explicitly in every equation, e.g.: \begin{equation} a_i={\bf b}^{(est)}_i \cdot {\bf c}^{(obs)}_i \end{equation} I define ...
0
votes
0answers
57 views

Times new roman in math mode, except for greek letters

I'm using \usepackage{times} to change my font to Times New Roman, but I noticed that some math commands like $\max$ still show up in Computer Modern. So I used \usepackage{mathptmx} to fix this, and ...
1
vote
1answer
247 views

what is the latex command for this notation

could anyone tell me what will be the latex command for this? I am very much confused, I am not even comfortable in matrix writing while typing latex I always copy paste the matrix command to write a ...
3
votes
2answers
112 views

How do I vertical align text?

This is question is related to an extension of an earlier question: How do I display pi in LaTeX like Don? I want to display using LaTeX, the HTML+CSS equivalent of .pi sup { vertical-align: ...
4
votes
2answers
58 views

Align baselines of underset elements in display math equation

I am trying to create a display equation showing the coefficients of an example polynomial for use in the quadratic formula. Basically, I want each coefficient of the polynomial to have an arrow ...
0
votes
1answer
41 views

What is \( used for? [duplicate]

I have seen the following syntax in a LaTeX example : \( Inline math formula \) What is the difference between those delimiters and $ ?
8
votes
1answer
120 views

Why do I need an \hbox inside \vcenter to make it work?

I want to vertically center an object in an equation. I thought: "Ok, \vcenter is the way to go." But I don't understand (not even from the TeX primitives reference), why I need an \hbox inside my ...
6
votes
4answers
424 views

Arrows between arrows

Here is a fragment from MacLane's classic book "Categories for the working mathematician": Here is another one that's a bit more complicated: Is there a package that allows to (hopefully easily) ...
3
votes
1answer
95 views

How to write letters with a circumflex? [duplicate]

I want to write a theorem with letter G, which has over ^ it. I tried $G^{\^}$, but that doesn't work.
0
votes
0answers
15 views

Undefined control sequence for $ \left\{ f\in \mathbb{R} :f\neq 0\right\}$ [duplicate]

Undefined control sequence for $ \left\{ f\in \mathbb{R} :f\neq 0\right\}$ and for $\left\{ x\in \mathbb{R} :\neq -1\right\}$.
3
votes
2answers
92 views

how to give some text an equation number

I want to be able to write the following in LaTeX: We make the further assumption that \begin{equation} \label{eqn:assumption} There is a bounded linear operator $B:X\to X^*$ such that ...
-1
votes
2answers
80 views

Confusing missing $ [closed]

Can anyone help with this. I'm not sure at all what I'm doing wrong but i get an error Missing $ inserted. $ on the 2nd line with c)\ The rest of the text works fine and there are ...
3
votes
1answer
74 views

how to typeset empty inner product

I want to typeset the following in TeX (without the arguments). < , > I know that I can accomplish this by doing \langle , \rangle As an example I want to write something like the follwing: ...
0
votes
0answers
24 views

How to use function \newcommand to turn off math mode? [duplicate]

I have a problem. I defined new commands: \newcommand\be{\begin{equation}} \newcommand\ee{\end{equation}}, which works perfectly for math mode. Then I tried with more advanced formulas: ...
1
vote
1answer
38 views

How to use the displaymath environment within a table?

I am trying to use the cases construct within a table. I tried to follow this example. When I copy paste the entire example, it compiles without an error. But when I try to reproduce it, I get ...