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

5
votes
3answers
245 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 ...
0
votes
0answers
43 views

Is there a simpler alternative to LaTeX for math proof writing? [on hold]

I know there are tools that can render LaTeX as you type it. However, I have a feeling that there might be simpler tools with simpler syntax. I investigated AsciiMath, but it produces MathML which ...
6
votes
2answers
433 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. ...
36
votes
5answers
15k views

What's a good way to write “x does not divide y”?

The way I currently do it is $x \not | y$, which looks awful. There's got to be something better available.
4
votes
2answers
167 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?
1
vote
1answer
59 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 ...
3
votes
1answer
45 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} ...
3
votes
3answers
202 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 ...
4
votes
2answers
37 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 = ...
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 ...
1
vote
2answers
46 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)?
18
votes
2answers
3k views

Multiset notation in LaTeX

Does anyone know how to make (nice looking) double bracket multiset notation in LaTeX. i.e something like (\binom{n}{k}) where there are two outer brackets instead of 1 as in binomial? You can see an ...
9
votes
2answers
142 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: ...
25
votes
2answers
26k views
2
votes
1answer
25 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
31 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 ...
8
votes
2answers
582 views

Change the size of only a part/subset of a single equation

For example, I'd like to do: $Q^{r<1}$ but with the r<1 having a much smaller font size than the Q. Of course r<1 will naturally have a smaller size since it is a superscript, but I want ...
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 ...
2
votes
1answer
43 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 ...
0
votes
1answer
43 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.
1
vote
1answer
29 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 ...
5
votes
3answers
153 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 ...
2
votes
1answer
94 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$ \\ ...
266
votes
8answers
23k views

Why is \[ … \] preferable to $$ … $$?

I've heard that you should use \[ ... \] for displayed equations instead of $$ ... $$, but why is that? I'd assumed that it's so that you can more easily tell which are starting and which are ending ...
1
vote
1answer
53 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?
3
votes
2answers
80 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 ...
5
votes
2answers
85 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)\\ ...
4
votes
1answer
21 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} ...
14
votes
5answers
19k views

What is the optimal LaTeX WYSIWYG editor/platform (quality/price) for Windows 8? [closed]

I am doing lots of Math and also writing; want to use in the future LaTeX and seeking the adivce of this community. What is the optimal WYSIWYG editor/platform (quality/price) for Windows 8? Why?
2
votes
1answer
62 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 ...
2
votes
1answer
33 views

How to flush left centered part in multline environment?

I would like to use multline environment, but in that way that centered part be left aligned. With multline centered part is centered, and I would like if we can somehow to aligned it to the left (but ...
3
votes
2answers
57 views

Two inline rotated text snippets

I want to achieve this (in math mode): blabla will be something like \foreach x, c1 and c2 \supset A, \subset B, and lalala the rest of the formula. What's the best way to achieve this? I'm ...
2
votes
1answer
69 views

How to centre underaccent under letter?

Here's the M(not)WE: \documentclass{article} \usepackage{mathtools} % for "\mathclap" macro \usepackage{amsfonts} \usepackage{amssymb} \usepackage{accents} ...
3
votes
1answer
64 views

Variant of $\leq$ (less or equal)-symbol

I am looking for a way to include a \leq that (to me) is less ugly. In the font I am using \leq simply produces a < with an underline, but in my handwriting the lower "arm" of the < would be ...
2
votes
0answers
35 views

Condition on text vs math symbol [duplicate]

I'd like to have a conditional macro that emboldens symbols, using different commands depending on whether the argument is a math symbol or text. Specifically, I'd like to use \bm for math symbols ...
1
vote
0answers
23 views

`h' float specifier changed to `ht' [duplicate]

When I add this text: The pdpotri routine computes the inverse of a real symmetric or complex Hermitian positive definite distributed matrix $sub(A) = A(ia:ia+n-1, ja:ja+n-1)$ using the Cholesky ...
2
votes
1answer
32 views

Typeset a factor in math mode (“A is 3.5x larger than B.”)

I want to express "A is $3.5x$ (3.5 times) larger than B." \documentclass{article} \begin{document} A is $3.5x$ / $3.5\times$ (3.5 times) larger than B. \end{document} If I understand correctly, ...
2
votes
2answers
30 views

Errors in arguments when renewing \mod with \mathchoice

Currently I am using the \mod command that comes with amsmath, and while I'm in general satisfied with it, I didn't like the way it handles spacing in text style. I tried to renew the \mod command as ...
13
votes
2answers
355 views

Replace all instances of * with \cdot only in mathmode

As i understand the most accepted form to write the multiplication symbol in LaTeX in \cdot. However i have a rather large document already with * as the multiplication operator. I would like to ...
26
votes
5answers
3k views

Macro for \left( and \right)

I know there has been discussion about this topic, but I haven't seen a working solution. Is it possible to define a macro within LaTeX, such that inside math mode, ( would produce \left( and ) would ...
1
vote
2answers
99 views

What kind of font is used in math mode of LaTeX?

For some reasons of compatibility and interactivity I need to create my own simple system for drawing the formulas. (So I need standard math sybols and something like \mathcal{N}.) Is there a way ...
20
votes
6answers
5k views

Upright Lowercase $\pi$

On pg. 144 of Kopka and Daily's A Guide to LaTeX, they mention that the symbols $e$, $i$, $d$, and $\pi$ should be displayed upright in math mode (for their usual uses). This is easy to do for $e$, ...
3
votes
1answer
38 views

Aligning equations in 3 columns

I want to align two equations in 3 columns (so empty space in the middle). How do I align another equation in the next column with the empty space? \begin{align*} a&=144 & b&=51666 \\ ...
52
votes
1answer
2k views

How can I use Dragon NaturallySpeaking to write LaTeX math formulas by voice efficiently?

I write LaTeX documents by voice using Dragon NaturallySpeaking for speech recognition. It allows me to write much faster than if I had to type on a keyboard (~ 100 WPM vs. 50), I find that voice ...
3
votes
1answer
62 views

Math font changing and siunitx?

Consider this MWE: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T2A, T1]{fontenc} \usepackage{amsmath} \usepackage{lmodern} \usepackage{siunitx} \usepackage{mathpazo} ...
3
votes
1answer
29 views

Aligning two multiline equations [duplicate]

I searched a lot for this but couldn't find an answer. Say I have two equations that are 2 lines long each. I can align each equation at their equality sign using equation-aligned or gather-split, ...
12
votes
7answers
2k views

How do I get function argument parenthesis to position correctly?

I'm having trouble with the appearance of parentheses representing function arguments. They appear to far away from the function name. For example the code ...
11
votes
3answers
1k views

Diereses (German Umlauts) in math?

Is it possible to enter Umlauts directly in math? I would like to do something like the following (using XeLaTex): \documentclass{article} \usepackage{amsmath} \usepackage[silent,no-math]{fontspec} ...
0
votes
0answers
15 views

Theorem and lemma and proposition numberings with the numbers first [duplicate]

If one considers the following MWE one sees that theorems and lemmas have their number as a suffix: \documentclass[fleqn]{scrartcl} \setkomafont{disposition}{\normalfont\bfseries} ...
2
votes
2answers
304 views

I'm trying to bold this set of code: $T^{-1}(x)$=$\frac{9}{5}$x+32

I'm in LaTex, and am trying to boldface this whole line of text: $T^{-1}(x)$=$\frac{9}{5}$x+32. However, when I use \textbf, it only boldfaces x+32. Any suggestions on how to boldface it all? ...