{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)

1
vote
0answers
16 views

Beamer \textcolor space in math mode problem [duplicate]

Why in the second case the spacing is correct and not in the first ? Maybe not fully correct in the second between + and u ? \documentclass[xcolor=dvipsnames]{beamer} \begin{document} ...
2
votes
2answers
138 views

Move Equations in Book

I asked a question here on how to align tables differently on even and odd pages. Now I need to do the same for equations written in align environment. I tried the same trick proposed for tables. They ...
1
vote
1answer
39 views

Best practice for mean value of function: bar or overline or something else?

If you have a function f, it is common to denote its mean value by a line over it, like \bar u. Suppose I have a function like $f_T$, then how should I write the mean value? Like $\bar f_T$, ...
4
votes
1answer
26 views

Symbol with tilde AND sub/super-scripts

I need to typeset a mathematical symbol consisting of a letter with a tilde and both sub- and super-scripts. The subscript is fine, but the tilde runs into the superscript. How can I fix this? Here ...
3
votes
0answers
37 views

Angle brackets with commath and Asana Math too large (or small)

I want to set bra-ket equations in my document, which uses Asana Math (with lualatex, fontspec and unicode-math). commath is also a requirement for certain stuff. However, in this specific ...
11
votes
3answers
261 views

How do I adjust \underbrace spacing?

I have an equation like this \documentclass{article} \usepackage{IEEEtrantools} \usepackage{amsmath} \begin{document} \begin{IEEEeqnarray*}{rClCl} \left( \begin{array}{c} ...
0
votes
1answer
38 views

Right-aligning numbered equation

How do I get the last equation (6.24) to align to the right...? See my current code below.
0
votes
0answers
25 views

How to change to math mode? [duplicate]

I am learning LaTeX for the first time and I am learning how to write an article. I have been told that its better to type mathematical stuff in math mode. Presently I am typing the text and I assume ...
5
votes
4answers
177 views

How to get curly brace, alignment and separator line in the same equation?

Hi, I already know how to get curly brace and alignment. \[ \left\{ \begin{aligned} 8x + 6y &= 4 \\ -15x - 6y &= -3 \end{aligned} \right. \] The problem is how to draw separator or sum ...
2
votes
1answer
31 views

Changing Fonts between \textstyle and \scriptstyle with MTPro2

I'm a fan of Spivak's MTPro2 fonts, except for the fact that the numerals don't quite match the regular Times (ptm) numerals. Is there a slick way to change the \displaystyle and \textstyle numerals ...
2
votes
1answer
31 views

blockarray Size of Brackets

Is there a way to increase the size of the brackets when using blockarray and block? Please see the example below: \begin{align*} \begin{blockarray}{l c c c c} & ...
3
votes
1answer
46 views

print the rows of a matrix in two different sections in order to prevent the elements from mixing together

As you see in the following picture I have a 4x4 matrix and the elements are so lengthy that they will not fit in a single line of an A4 paper. In fact this equation is printed in a book that I'm ...
2
votes
2answers
53 views

\displaystyle for a part of the document

Is there a way to use \displaystyle for a part of my document? I do not want to change everywhere the inline math sizes, on the other hand it is a bit tedious to write everywhere (in a list of ...
0
votes
0answers
48 views

Bisimulation symbol? [duplicate]

Very simple question: I'm looking for the symbol that indicates that two worlds from 2 different Kripke-models are bisimilar, that there is a bisimulation between those two. In most articles a ...
2
votes
2answers
68 views

How to add horizontal fill after an displayed equation in lyx?

So how to put the horizontal fill immediately after the displayed equation? I mean, I want the "(equation 1)" to be in the same line as the displayed equation. How should I do that? Guys please ...
1
vote
1answer
30 views

Breakline in math mode - no equation

I've found many questions about math mode and linebreak but each time about many equations. My problem is in a function definition. It's really long and using \text. So I have an overfull \hbox and ...
5
votes
1answer
223 views

How to define a symbol that can be used in both a glossary and an equation?

I created a list of symbols table as you can see : \newglossaryentry{slambda}{ name=$\lambda$, description={wavelength} } When I tried to put this symbol in the equation : \begin{equation} ...
1
vote
1answer
19 views

Control Spacing and Alignment in align environment

I have an align-environment and basically want all the Z's and all the signs (+-) left-aligned + all centered + the smallest possible/sane gap in between + numbering + labels (if possible): ...
1
vote
3answers
165 views

what should this piece of LaTeX do?

Today I just started learning LaTeX. This is my first code: \documentclass[a4paper,11pt]{article} \DeclareMathSymbol{\bot}{\mathord}{symbols}{"3F} \DeclareMathSymbol{\perp}{\mathrel}{symbols}{"3F} ...
0
votes
0answers
28 views

How to typeset the stochastic exponent symbol? [duplicate]

Here is a screenshot where the symbol is present. I am not sure what command should I use to produce the symbol in the left of (3.11). However, after comparison, I think it is not \varepsilon.
2
votes
1answer
28 views

Intertext causes overfull hbox in align* environment

\documentclass{article} \usepackage{mathtools} \begin{document} \begin{align*} a & =b & & \text{if } \begin{dcases*} ...
0
votes
0answers
11 views

How to get Line breaking in Math Tuple in a definition [duplicate]

See the MWE below. The tuple falls outside the margin. If I make the sentence a bit shorter or longer then it works fine. So this is unreliable. Now I can off course force line break before the ...
0
votes
0answers
29 views

Inline listing in ams environment drops space before mathescape

In http://tex.stackexchange.com/a/127018/83257 there is a patch to make inline listings work in math mode. When using this together with listings' mathescape option, the space after a math escape is ...
0
votes
1answer
33 views

vertical alignment symbols from two different equations

I would like to align equations from two different lines. \documentclass[12pt]{article} \begin{document} $$ a = b +1 = c +2 = d +3$$ The quick brown fox jumps over the lazy dogs. $$ a = b$$ ...
1
vote
1answer
70 views

Using TEX in Mathtype

I use Mathtypeto insert mathematical equations in MS world. Today I understood that there's no built-in symbol for $\mathscr(F)$ in MathType so I searched for a way of using LaTex codes in MathType. ...
0
votes
1answer
50 views

Excess vertical space around display math

I'm sorry but I cannot produce a minimal compilable example. I use book as a documentclass. When compiling pdfLaTeX I get some very annoying random placed additional vertical space around display ...
0
votes
1answer
34 views

Sum with limits as a variable with subscript

How would I define a sum with limits from 1 to M{subscript i} [i.e in latex $M_{i}$]
5
votes
1answer
42 views

What is \if@display used for in amsmath?

I noticed that in part of an answer where \pod is redefined using \mathchoice, the statement \if@display...\else...\fi is used for the first two options of \mathchoice. I was wondering: what does ...
2
votes
0answers
21 views

How to use italic bold with Zapf Chancery in math mode? [duplicate]

How to write a boldface italic in math mode when Zapf Chancery is used? I used this code: \documentclass{article} \usepackage{amsmath} \usepackage[latin9]{inputenc} \usepackage{mathptmx} ...
4
votes
1answer
53 views

How can I declare a heavy maths version without altering spacing and symbol choice when \hm is used from the bm package?

Consider the following MWE which is modified from my answer here: \documentclass{article} \newcommand\gmfamily{\fontfamily{mdugm}\selectfont} \DeclareMathVersion{varnormal} ...
3
votes
0answers
105 views

When to use upright letters in math mode

what are the conventions when to use upright letters in math mode? Example: \begin{align} W_{mag} = \frac{1}{2}LI^2 \end{align} should the inductivity and the current be typeset in ...
6
votes
1answer
104 views

Math versions and bm

I am wondering how one can tell the bm package what \mathversion it should use. Using the example of Using \DeclareMathVersion \documentclass{article} %%% text fonts \renewcommand\rmdefault{txr} ...
10
votes
3answers
372 views

How can I make a math version of itemize, enumerate, and description environments?

tabular is to array as itemize is to …? I'd like to have a list like \documentclass{article} \begin{document} \begin{eqlist} \item E=mc^2 \item e^{i\pi}+1=0 \item \text{ducks} + \text{caffeine} ...
0
votes
1answer
41 views

Usage of the curly brackets [duplicate]

I have noticed today that the LaTeX would compile regardless if I put curly brackets or not. What I mean is this: I would usually write in maths mode \frac{1}{2} however latex also compiles if I write ...
6
votes
3answers
53 views

Vertical spacing in mathtools

When using mathtools with the option showonlyrefs I find a spurious vertical spacing. I have found a similar question but the issue there was a long equation, which is not my case. Consider the MWE ...
3
votes
2answers
78 views

Equation numbers not showing up while using align together with mathtools

In the following \documentclass{memoir} \usepackage{amssymb,amsmath} \usepackage[fixamsmath]{mathtools} \mathtoolsset{showonlyrefs,showmanualtags,mathic,centercolon} \renewcommand{\u}{\textbf{u}} ...
0
votes
1answer
33 views

Is there a way to change the text size of \displaystyle?

I know you can apply different font sizes in math mode such as \scriptstyle and \scriptscriptstyle. What I am looking for is a way to get that "size" but still have the "style" of \displaystyle. ...
1
vote
0answers
28 views

Bold subscripts with \bm changes sans to serif [duplicate]

Let us assume I have some equation like \documentclass{article} \usepackage{cmbright} \usepackage{amsmath} \usepackage{bm} % boldmath % ******** \begin{document} bold not working: ...
8
votes
3answers
872 views

Making an anti-clockwise circled arrow around a + sign in a math environment

\makeatletter \newlength\@SizeOfCirc% \newcommand{\CricArrowRight}[1]{% \setlength{\@SizeOfCirc}{\maxof{\widthof{#1}}{\heightof{#1}}}% \tikz [x=1.0ex,y=1.0ex,line width=.15ex, draw=black]% \draw ...
4
votes
2answers
208 views

What is This Math Font Called? [duplicate]

I would like to know what is this font called? How can I reproduce it? I know that it is neither \mathsf{} nor \mathcal{}. Is there any reference where can I find all mathematical fonts?
3
votes
1answer
60 views

Add a fitted box to a multiline equation

I am trying to draw a fitted box around some equations. However, I was not able to control the width of the box. How can I achieve this? \documentclass{beamer} \usepackage{amssymb,amsmath,empheq} ...
2
votes
2answers
18 views

Forcing an Alignment to a Specific Part of the Page

I know how to align these equations along the equal sign. What I want to do is put the equal sign anywhere on the page I want to, as though I was taking the aligned equations and shifting them left or ...
4
votes
3answers
214 views

Amplifying fractions

I want to make myself a math portofolio (as a quick reference) and I have a part where I have to 'amplify' a fraction like here: But I don't know how can I do this thing, can you help me? Thank ...
6
votes
2answers
449 views

Using arrays to align parallel equations: Why isn't $|z|$ centered?

There was an earlier question about aligning different parts of two parallel equations in a multiple line environment, and I'm trying to adapt Werner's answer that used an array for my own use. ...
4
votes
2answers
45 views

Odd spacing due to diagonal dots in pmatrix environment

I'm trying to typeset this matrix, but it seems the spacing between the fourth and fifth lines is off, perhaps due to the diagonal dots : Here is my Latex code : \[ \mathrm{Mat}_{\mathcal B}D = ...
1
vote
1answer
84 views

Why is the space below the numerator different to the space above the denominator?

I've never noticed it before, but LaTeX puts a lot more space between the numerator and the bar than it puts between the bar and the denominator. Now maybe this makes sense for more complicated ...
1
vote
2answers
66 views

font designating integer, rational, real, or complex [duplicate]

what is the font used to designate Z (ring of integers), Q (field of rationals), R (field of reals) and C (field of complex)?
11
votes
2answers
255 views

How to make underbrace label text wrap at brace width?

Is there a way to make underbrace label text automatically wrap at the underbraces width, preferably even with automatic syllabication? Example where brace label text exceeds underbrace width: ...
2
votes
1answer
26 views

Breaking line inside a set

How can I write \[A=\Bigg\{\alpha\in \mathbb{Z}G : \alpha\ \text{is a unit in}\ \mathbb{Z}G\ \text{with}\ \varepsilon(\alpha)=1\ \text{and}\ \alpha+\Delta(G,G')\ \text{has finite multiplicative ...
1
vote
1answer
34 views

Multi-row text comment in align environment

I am wondering what is the best way to make multi-row text comments in the align environment. Here is an example code: \begin{align*} \int \left( \frac{x+3}{2}\right) \, dx =& \int ...