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

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
51 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
3answers
64 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
221 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
18 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
163 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
25 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
31 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
69 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
48 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
33 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
52 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
99 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
103 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
371 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
52 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
76 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
32 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
871 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
205 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
58 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 ...
3
votes
3answers
211 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
83 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
61 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)?
10
votes
2answers
242 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
33 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 ...
2
votes
1answer
44 views

Distinguishing a symbol from a character around it while typesetting

When typesetting the LaTeX in Math mode is it safe to create a space (one carriage return) around a LaTeX symbol to isolate it from the surrounding character instead of enclosing the surrounding ...
1
vote
1answer
31 views

Crossedbox symbol without the box [duplicate]

I'm looking for a symbol looking as the \Crossedbox from marvosym without the box around the cross. I looked http://www.rpi.edu/dept/arc/training/latex/LaTeX_symbols.pdf and detextify without seeing ...
0
votes
1answer
48 views

How to ignore underscores inside mathmode

I want to make the expression inside this a text \frac{ fa_das_tat_C }{1+0.2 } that will not be changed in any way.
2
votes
1answer
100 views

How can I align this table with another way?

I tried to align this table. My code \documentclass[border=2]{standalone} \usepackage{amsmath} \begin{document} \begin{tabular}{c c c} 1 & $=$ & 1 \\ $2 + 3 +4$ & $=$ & $1+8$ \\ ...
3
votes
1answer
152 views

Is there a right way to provide an empty operand to an equals sign?

Imagine you intend to have "x=" in your document, followed by something that cannot be rendered in math mode, nor within some sort of box within math mode. Is there a preferred way to treat the right ...
1
vote
1answer
58 views

How can I draw the diagram in top left of the following image in latex?

How can I draw the diagram in top left of the following image in latex?
5
votes
3answers
169 views

Vertical addition and multiplication

I am writing a thesis document in Latex and I want some text to be displayed as shown in the attached image:- I have created my own class file. I tried implementing the existing posts but couldn't ...
4
votes
1answer
24 views

Polyglossia, french, decimal separator mistake in math mode

There is a problem with a misplaced space using Polyglossia and french in math mode using decimal separator. \documentclass{beamer} \usepackage{polyglossia} \setdefaultlanguage{french} ...
5
votes
2answers
91 views

missing $ error when creating a table

I am going to create a table using the following commands. I use the xepersian package. \begin{latin} \begin{table}[h!] \centering \begin{tabular}{|c c c|} \hline p & q & \varphi_q^p(x)\\ ...
3
votes
2answers
83 views

Underbraces in Young diagrams

I need to note the number of spaces between two blocks on different rows of a Cherednik diagram. I have tried \young(\underbrace{:::}_text{k}\hfill,\hfill) but it doesn't like this and just calls ...
2
votes
1answer
66 views

How to label equations from this question?

First, please change name of this question (I didn't know how to name this question in appropriate way). In this my recently asked question I asked how to align some centered equations. Now, I ...