{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
1answer
54 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
129 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
155 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
91 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?
2
votes
1answer
67 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
54 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
44 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
114 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
56 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
113 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
200 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
56 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
301 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
114 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
89 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
30 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
68 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
35 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
33 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
55 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
44 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
105 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
89 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
48 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
244 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
107 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
46 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
40 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
112 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
410 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
93 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
84 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
67 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: ...
0
votes
1answer
32 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 ...
44
votes
4answers
2k views

How do I display pi in LaTeX like Don?

Way back in 1979, Donald Knuth, tried to give the feeling that π is irrational using the idea of infinite sequence of smaller and smaller font sizes like what I have tried to do here using HTML and ...
1
vote
2answers
52 views

LaTeX question for \overrightarrow

I'm new to LaTeX and I have a question about the LaTeX code (which I have to do for my essay), for the inner product of vectors on an exponential*,how can I fix the problem that the two vektors k and ...
0
votes
0answers
36 views

Commands for the style/font of numbers in LaTex

In LaTex Letters have different fonts by commands like \mathcal, \mathbb etc.. However, those commands cannot apply to numbers. Are there some styles or fonts for numbers?
0
votes
1answer
49 views

Cant get theorems in an appendix

I get the error \begin{document} ended by \end{theorem}. \end{theorem} and Environment theorem undefined. \begin{theorem} when trying to compile this latex document. Here is the problematic ...
1
vote
0answers
62 views

Cryptic Errors. Probably a quick fix? ( noob )

Completely confused. Tried to run latex script from yesterday on a different computer. Doesn't work now. here are my errors: \AtBegShi@Output ...ipout \box \AtBeginShipoutBox ...
0
votes
1answer
52 views

Several lines in equation

I would like to get in LaTeX what the following code produces on Math.SE: $$\pi(X,Y)\to HoM(X,Y)\\\ [f]\mapsto[RQf]$$ And if I wanted to have an equation number to the right of the two lines, ...
3
votes
1answer
46 views

Formatting an equation environment to fit within the margins

\mathcal{P}^s_{\delta}(F) = sup \Bigg\{ \sum_{i}|B_i|^s : \{B_i\} \text{is a collection of disjoint balls of radii at most $\delta$ with centres in F} \Bigg\} This piece of text wont stay in the ...
5
votes
1answer
107 views

Show integration limits above & below the integral

Well considering this code, the "E" is shown after the integral: \begin{equation} m = \iiint_E \rho \ \mathrm{d}V \end{equation} The limit is shown slightly behind the number, how can I place it in ...
5
votes
1answer
56 views

Poor kerning with adjacent uppercase variables in math mode

I want to lay out a sequence of adjacent variables in math-mode with reasonable spacing between the letters. But LaTeX produces output which (to me) is "obviously wrong": \documentclass{article} ...
2
votes
0answers
34 views

Bold or verb text in mathpar

I'm writing a derivation tree using mathpar but I'm unsure as to how to markup some words. The derivation tree is for a small programming language, so the premise and/or conclusion contain words I ...
4
votes
2answers
37 views

Latex math: indexes not allowed in small matrix

I am using the small matrix in order to represent a matrix in a text, I defined myself a command like: \newcommand{\maText}[2]{\bigl(\begin{smallmatrix}#1\\#2\end{smallmatrix}\bigr)} And it works ...