{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
1answer
45 views

What is the difference between `split`, `multline`, `align`, `breqn` for breaking an equation into multiple lines?

Sorry if this question sounds a bit amateurish but I haven't been able to find a good summary about the differences between these four environments for multi-lining an equation. Where do they differ ...
11
votes
4answers
467 views

Showing how to solve an equation in LaTeX

Is there a package that would allow me to draw a horizontal line in math mode, like what is suggested below? \begin{align*} x + 2 &= 3\\ % First equation -2 &= -2\\ % Second equation %% ...
2
votes
1answer
41 views

Why are \colon and \mathpunct{:} not equivalent? [duplicate]

According to this answer, \colon is of type \mathpunct. But in the MWE below, the outputs of the two lines are not identical. Why not? \documentclass{article} \usepackage{amsmath} \begin{document} ...
5
votes
0answers
57 views

CM fonts kerning in math superscripts

Using CM fonts with either a traditional engine or XeTeX, an expression such as $D^rf$ produces too much space between the r and the f in the output. It's easy to fix manually by inserting a \!. ...
4
votes
2answers
64 views

Unicode macros for square root and integral

Is it possible to define math-mode macros √ and ∫ which would expand in the following way: √a ≡ \sqrt{a} √{a + b} ≡ \sqrt{a + b} ∫ ≡ \int ∫_a ≡ \int\limits_a ∫^a ≡ \int\limits^a ∫_a^b ...
3
votes
1answer
79 views

Trigonometric function script? [duplicate]

Is there a script for the sinc function analogous to \sin for sinus? If not, what method should I use to insert it in a equation?
1
vote
0answers
50 views

Right way for text inside math

I'd like to know (if there is) the better way to punctuate text inside math mode. I mean, when we use , or ;, they are punctuation for the text, not for the math and so I think that they should be ...
2
votes
1answer
23 views

What are the rules for placing & while using the split environment?

I have the following equation: \begin{equation} \left\{\left(a,b\right) \mid \right.\left. a \in A, b \in B\right\} \end{equation} And I want to force specific line breaking and alignment using the ...
2
votes
2answers
30 views

How to underline in math mode with ampersand anchor?

When I use the ampersand & in align for positioning I loose the underline function. Is there a (simple) way of underlining the last math line completely? ...
5
votes
1answer
90 views

How can I make it easier to write LaTeX documents with elaborate mathematics?

I'm a severely visually handicapped student of mathematics. I wonder how I can speed up my latex document creation. I'm pasting below solution to a problem in a functional analysis book by Kreyszig. ...
2
votes
1answer
19 views

How to left align sub-equations in which some sub-equations are split across multiple lines (with their own alignment)

I have a set of four sub-equations, which I each want numbered and left-aligned. The second and third of these sub-equations are too long for one line so I am using the split environment to manually ...
1
vote
2answers
115 views

Writing good looking solutions in math

I write a lot of solutions to math problems and have recently started out with LaTeX. I have some requirements, I want everything to be left aligned and I want to be able to comment inside the ...
3
votes
2answers
112 views

How to make things symmetric around an arrow

Can someone tell me what commando is needed to make expressions like in the text below. I mean like it is symmetric around the arrow.
0
votes
1answer
46 views

Setting a long sequence on a single line

How to put an long exact sequence in a straight line. I wrote a code for the exact sequence but it displays in 2 lines. Also I want to name the terms of the exact sequence as A, B, C, D below the ...
4
votes
1answer
22 views

Making certain equation environments larger

I'm writing a lab report in LaTeX that involves a lot of equations. I wish for some equations to be larger than normal, owing to the fact that there are a lot of terms that are in the exponential, and ...
7
votes
1answer
92 views

General guide on how to set up Minion Pro for math in lualatex

Minion Pro is one of the most beautiful fonts and comes with many Adobe products. A complementary set of symbols is provided by the MnSymbol fonts and package, which is not fully compatible to ...
2
votes
1answer
43 views

Improper formatting in Math mode in IEEEtran double column format [duplicate]

I am authoring a document in IEEE transaction double column format. Inline Math equations are being rendered improperly, mostly there are unwanted spaces between symbols (as I have highlighted below). ...
5
votes
2answers
206 views

Nested Summation

Using below code i am getting result shown in below image but its not properly displayed for ex space on either side of =. First summation sign is small. Brackets ( ) are small. All items are not ...
0
votes
1answer
40 views

Lower bound placement in summation sigma sign [duplicate]

I have this equation and I would like to have lower bound (v \in N_i(u)) exactly under the summation symbol and not to the right side of it. How to accomplish it? This is my LaTex notation:
1
vote
1answer
77 views

Epsilon and log functions

I m trying this T(n) \epsilon \left(\Theta(n^\log_22$\right) = $\Theta(n^\log_22 )$ = $\Theta(n)$ but i want below result. Is E sign is epsilon only . And also log bracket not coming properly and ...
4
votes
2answers
49 views

How to adjust inparaenum-list (in particular line spacing)?

I really like the idea of working with inparaenum. It creates nice lists of numerated and tabbed math exercises. But how do I add line pitch option to this special paralist? I want to create more ...
3
votes
1answer
36 views

Missing number treated as zero error

I have read several posts with a similar error, but cannot find where mine is. I have the following code to put in comments next to sequential inequalities in an alignat* environment. Unfortunately, ...
2
votes
1answer
31 views

Conflicting multi-line underbrace labels

Sometimes a \makebox gives nice underbrace, sometimes multiline version with \parbox works. But how to combine two multiline-underbrace-equation-labels side by side and make them look good? ...
2
votes
1answer
33 views

Fixing the vertical position of subscripts

When I write $\chi_V$ the subscript outputs too high for my taste. Is there a way I can set the vertical position of subscripts for the whole document? Many thanks
11
votes
3answers
943 views

A symbol above a comma

How can I put a symbol above a comma? For example in
1
vote
1answer
39 views

equation* environment or \[ \]? [duplicate]

So, I'm writing a mathematics paper, and let's say I have the following: \begin{equation*} 2+2=4 \end{equation*} Is this the proper way to do an unnumbered equation, or is it preferred to do the ...
2
votes
2answers
66 views

Unable to typeset LaTeX maths characters in pgfplotstable table header

I am typsetting a simple table with pgfplotstable and attempting to include units in the headers. I've noticed that certain math macros e.g. \circ or \gamma (2 random test cases) fail to typeset. When ...
1
vote
2answers
26 views

Section-level equation numbers follow previous section numbering

I am using \numberwithin{equation}{subsection} to number my equations uniquely for each subsection in my article. For example: Section 1 Title 1.1 Subsection 1.1 Title a=b (1.1.1) a+2=b+2 ...
0
votes
0answers
34 views

Arithmetic overflow. …2-l^2_3}{2 l_2 l_3} \right) \end{flalign}?

I'm getting this error, when using {flalign} command: Arithmetic overflow. ...2-l^2_3}{2 l_2 l_3} \right) \end{flalign} I don't know what was the mistake, though the Process exited(with error(s)) ...
4
votes
1answer
39 views

How to auto linebreak before/after parenthesis in inline math

I read this answer "Allowing line break at ',' in inline math mode" breaks citations I want to change ('s catcode automatically to avoid breaking some packages. ...
2
votes
1answer
65 views

General guide on how to set up font families for luaLatex

In A Survey of Free Math Fonts for TEX and LATEX are great examples of harmonizing fonts in Latex. For example consider the text fragment for CM Bright: With pdfLatex it was sufficient to just ...
1
vote
0answers
34 views

How to draw change-of-coordinates notation in LaTeX? [duplicate]

For a homework assignment, I'd like to include something like the following image in my document as a single term in an equation: I know I could simply use another variable name, but my professor ...
3
votes
1answer
31 views

Adjust custom made upright greek letters when used in subscripts

I really like how Steven is generating upright greek letters in his answer: \documentclass[a4paper]{article} \newsavebox{\foobox} \newcommand{\slantbox}[2][0]{\mbox{% \sbox{\foobox}{#2}% ...
6
votes
2answers
38 views

Expand arrows within an array

Any ideia of how I can expand the \xrightarrow so that they all have the same size? (for aesthetics) \documentclass{article} \usepackage{amsmath} % \text nas equacoes \usepackage{mathrsfs} ...
5
votes
3answers
153 views

How to make large binomial coefficient?

I have a potentially-repeated question, but I was unable to find anything about this. So, I need to create a giant binomial coefficient in LaTeX (something around 1000pt). When I compile the below, ...
0
votes
0answers
33 views

Why use \[ … \] and not $$ … $$ for displayed math mode? [duplicate]

For displayed math mode, one can use either one of : \[ ... \], or $$ ... $$, or even \begin{displaymath} ... \end{displaymath} But I see many people here saying: never use $$ ... $$ for ...
2
votes
2answers
39 views

\endgroup error when using \makebox and gather

I'm getting this error when I try to use \makebox to center several equations that run longer than the textwidth. If I use $$ .. $$, I don't seem to have the issue. Why? Code that throws ! Missing ...
1
vote
1answer
52 views

add frame to matrix [duplicate]

I want to enclose my matrix by a box. I have followed the instructions in this link but couldnt get the borders correct. Here is how the frame looks like and the code. \begin{frame} ...
0
votes
0answers
34 views

Use $$…$$ or \[…\] to enter math mode in LaTeX? [duplicate]

I read on some sites that [ ... ] (with backslashes before the brackets) should be used, rather that $$...$$ what is the difference between both? If you compare the output, the result is the same.
0
votes
1answer
71 views

Beamer template setbeamerfont bfseries

I have a problem regarding the \setbeamerfont command related to alerted text. The usage is: \setbeamerfont{alerted text}{series=\bfseries} However, bfseries does not work in math mode - what can I ...
1
vote
1answer
40 views

Putting variable constraints on the right of an equation

Suppose I have a formula like y/x, and I want to say that x must be greater than zero. In well-printed literature, you'd see something like y/x ; x > 0 with just the correct amount of spacing ...
3
votes
0answers
45 views

How to obtain a heavier math font?

The current question is a follow-up to some previously asked questions, like this: It is possible to make fonts appear heavier (darker) in pdf output of Latex? and this: Make entire document heavier ...
0
votes
0answers
22 views

Editor text color in align environment

I am using TeXworks to type up very long assignments. For the types of assignment I type up, I usually have many lines of equations of all sorts with interjections of normal text as explanations and ...
5
votes
2answers
125 views

Matrix inside matrix

How I can make a matrix inside a matrix as shown in this picture? Indeed, I want to treat every block as a separate matrix. For example, I want to add braces over and under the second matrix by ...
2
votes
1answer
46 views

\sqrt but with a vertical drop at the end [duplicate]

I have a formula $$\sqrt{t_{i + 1} - t_i }\epsilon_{ij}$$ But when rendered, it looks a little unclear since the epsilon is not adequately separated from the square root. I'm reluctant to reorder ...
3
votes
0answers
74 views

Text font matching CM Math?

I see many people ask about a math font to match their favorite text font. Here I'm asking the inverse question. When I first heard about LaTeX, I was so impressed by its super high quality output, ...
5
votes
2answers
124 views

How to make expectation symbol and max symbol line up

Suppose you prefer the max symbol to be centered (height-wise) compared to a capitol letter that is taller. How would you do that. For example, below \documentclass[14pt]{beamer} \usetheme{Madrid} ...
0
votes
0answers
28 views

How to refer to a result of an equation [duplicate]

I have a question: is it possible to \ref a result of an equation? For example I have something like: A is: A = \frac{B}{10} B is: B = 1 + 2 = \somelabelfunction{B}{3} %I want this to show the ...
1
vote
1answer
80 views

Auto spacing in math mode

I have a long line of math expression, which is as follows: $verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword verylongword ...
0
votes
1answer
31 views

Missing { inserted. <to be read again> error

I'm desperate. I can't figure out why my code won't work. I need an answer as soon as possible. Many thanks in advance. The line of code it is on is: (IC1) $\int_{\underline{v}}^{\bar{v}} ...