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

4
votes
1answer
41 views

Matrix with outer elements keep visual consistency

I am tying to figure out what is the best method to write a matrix with outer elements in the first row and column. Below is the code using array blkarray and kbordermatrix packages. As it can be ...
1
vote
1answer
66 views

Display a breve over several letters

I'm writting with a very dumb question, buy I haven't been able to find anything regarding this topic, nor think of a more general topic to look into. I'm trying to have a \breve which scales ...
5
votes
1answer
135 views

Unary plus with numbers?

This is driving me nuts... I need to write out an explicit plus sign, like (q, 1, +1). But LaTeX just swallows the '+' sign... \documentclass{article} \usepackage{amsmath, amssymb, fourier, ...
1
vote
1answer
42 views

Save wiki page in TEX?

Lot of wiki pages are excellent but there is no way to save it in LaTeX format so that the formula are kept. Even if we can use wiki's "create a book" function to save as pdf. The formula in wiki are ...
4
votes
1answer
76 views

Weird Behavior of Math mode in beamer

I wanted to use align* environment but it's somehow not working. It's working with regular $$ but the problem is then i have to customize formatting with \hspace and \vspace which defeats the purpose ...
6
votes
2answers
100 views

unicode-math + TeX Gyre Termes Math without \bigstar?

When I use TeX Gyre Termes Math with unicode-math like in the example I can't get the \bigstar symbol. It seems that the font does not have a bigstar at U-2605. Is there a way to re-define the ...
2
votes
2answers
56 views

Automatic matching and scaling delimiters

When I'm writing maths in TeX, I often have to use the scaling delimiters \left( and \right) and so on. I find the heavy use of them very unreadable in the source code. Is there any possibility that ...
7
votes
3answers
509 views

Defining 3*(2^4) complex macro at once

An Automata can be 1- or 2- ways, With Several Heads or a Single head Deterministic or Non-deterministic With a stack or not That makes 2^4 = 16 possibilities. However, for each combination, I'd ...
4
votes
1answer
35 views

Forcing \overline not to continuously extend to adjacent variables

Could someone kindly help me how I can correctly display the following formula? (\pi\rho\overline{\Gamma_\theta}\overline{R_\theta}^2) The output is shown below. However, the overline should not ...
3
votes
0answers
52 views

AUCTeX folding and square brackets in math mode

I want to use the folding functionality of AUCTeX, mainly to replace math macros with the corresponding symbols. But at the same time I want to continue to use square or curly brackets additionally to ...
2
votes
0answers
26 views

How exactly is spacing in and around a multiline math environment determined?

I've tried reading various sources (in particular Tex By Topic; I don't have a copy of the TeXBook) and experimenting on my own, but I'm still unclear as to how exactly the line spacing in and around ...
5
votes
1answer
77 views

Set a minimum space above and below displayed math

NOTE: This question is specifically about adding vertical space that increases to compensate for tall symbols. Thus, it is not a duplicate of How can I change the whitespace above and below math ...
8
votes
1answer
133 views

math equation with underline has different heights

I struggle with some equations in my research paper. I want to underline some variable, because they are complex, but if I use \underline the line is not at the same level in my example: ...
2
votes
2answers
34 views

Stackrel and footnote inside the math environment

In my document I have on first page an inequality \begin{eqnarray*} a &\stackrel{*}{\leq}& b \end{eqnarray*} and also on few other pages I have the same inequality. On each page I want to ...
2
votes
3answers
209 views

Equations with operations next to each line

I basically want to type a derivation of a specific mathematical formula with the operations that have been done in each line, for e.g.: U = R * I |:R U/R = I Handwritten it looks like this: ...
5
votes
1answer
63 views

Underbraced text under sum is in different size from other

Text in underbrace under sum is bigger than other. \sum_{{\{a,b,c,d,e,f\}=\{\underbrace{a,b,c,d}_{4\ terms}},e,f\}} How can I solve this neatly.
17
votes
1answer
130 views

Microtype gives wrong letterspacing in math mode

Using the \lsstyle command gives wrong math latterspacing afterwards. I came upon this problem when using the classicthesis and putting math in a section (microtype is used there too). After the ...
5
votes
0answers
92 views

LuaLaTeX - Problem with defining Cambria Math only for special font types

I've got a problem, that I can't fix. As soon as I try to use Cambria Math as font for \mathscr and \mathbfscr I get a "missing \endcsname inserted" as error. I'm new to LuaLaTeX so I simply ...
2
votes
1answer
49 views

Line break and text arent working

I am new to LaTeX and I am having trouble with \text and line breaks. My code is as such $$\text{if} y^{(t)} \neq h(x; \theta, \theta_{0}) \text{then} \\ \theta^{(k+1)} = \theta^{k}+ ...
1
vote
2answers
47 views

Aligning equation including multiline expressions

I have a derivation and have problems getting it to look nice. The derivation goes over several lines, so I want the = signs aligned. That is easy either using align or eqnarray. However, one of the ...
3
votes
2answers
96 views

breaking equation and different alignments

I would like to break the following two equations. I would like for them to have the colons aligned together, but besides that they should have their own, unique alignment points. Please see the ...
4
votes
2answers
465 views

Big forward slash in math

I have a equation in from of a=VERYBIGSTUFF / VERYBIGSTUFF And I would like to have a "verybig" forward slash in the middle of them. I dont like \frac mode, as I would like to have them ...
2
votes
1answer
35 views

xelatex mathspec with polyglossia

How to use mathspec package and polyglossia for the russian language? MWE \documentclass[14pt]{extreport} \usepackage{mathtools} \usepackage{amsfonts} \usepackage{amsmath} \usepackage{commath} % ...
7
votes
3answers
123 views

vertical bar for absolute value and conditional expectation

Now I use "mid" for all vertical bars, but I wonder what's the proper ways. The first scenario is vertical bar for absolute value. Now I just right $x\leq \mid x \mid$. but is this correct? The ...
2
votes
0answers
26 views

Negative exponent not displayed using the subfigure environment from subcaption [duplicate]

Consider this simple MWE \documentclass{article} \usepackage{subcaption} %sub figures \begin{document} \begin{figure} \begin{subfigure}{\linewidth} \centering \caption{Test1} \end{subfigure} ...
2
votes
2answers
77 views

xhookrightarrow and xmapsto?

I use $\xrightarrow{f}$ a lot and I found myself in need of the corresponding commands \xmapsto and \xhookrightarrow quite a few times and I was wondering if there is anything like it. I'd like to ...
3
votes
1answer
179 views

Which one should I use to annotate equations? \tag or \text?

I am still confused in selecting whether to use \text or \tag for annotating equations. Which one should I use? If it is about personal preference, what is the pros and cons between them? ...
1
vote
0answers
27 views

different spacing aroung equal sign for display/text mode [duplicate]

as I wanted to increase the space surrounding the = sign in my equations, I changed the thickmuskip length in the preamble \setlength{\thickmuskip}{14mu} It works fine, and I like the result in ...
4
votes
3answers
241 views

How to write “ℰ”

could anyone please tell me how I can write "ℰ" in latex in both text and math enviroment? I have already tried $\mathscr{E}$ and $\mathcal{E}$, but none of those are satisfying. What I want to have ...
0
votes
2answers
54 views

Display inline sums

I am writing my thesis and I have some sums which are inline, and others which are part of equations. My questions is: is there a convention, an unwritten rule about how inline equations should be ...
5
votes
1answer
66 views

Renew command on mbox makes it freeze - Fix subscript size

I'm trying to change the font style of \mbox, but all my tries have failed. All commands I try either have no effect or make pdflatex recursively keep working and never finish and freeze. This makes ...
3
votes
2answers
32 views

Combine boldsymbol and widebar

I would like to have boldsymbol and widebar inside an equation combined as something like $\widebar{\boldsymbol\mu}$ However, while this compiles in my code, I only have a mu with a bar over it. ...
1
vote
1answer
78 views

Using `$$…$$` vs`\[…\]` [duplicate]

In order to center stuff in math mode, we can use either $$...$$ or \[...\]. Is there an OBJECTIVE reason as to why one is better than the other?
0
votes
1answer
23 views

`\center` and size of `\frac` in my code

\documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{fullpage} \usepackage{secdot} \usepackage{setspace} \setlength\parindent{0pt} \title{\vspace{-3em} Quantum Mechanics} ...
5
votes
2answers
136 views

Square root in fraction space problem

I'm having some troubles with the square root symbol within a fraction. This code \documentclass{book} \begin{document} \begin{equation} h_4 = \frac{\sqrt{1.5 \gamma_4 -3.5}-1}{18} \end{equation} ...
4
votes
1answer
56 views

Brackets around multiple lines

I am trying to put big rounded brackets around some text that contains math formulas: Jede Teilfolge hat entweder unendliche viele Elemente von $\left( g_{2n}\right)$ oder $\left( ...
4
votes
1answer
33 views

Is it possible to make odd-numbered columns have implicitly a prefix {}?

Prefix {} is implicitly inserted for even-numbered columns of alignedat (and alignat). As a result, + (or -, etc) becomes a binary operator. The section "Left aligned" below \begin{alignedat}[t]{3} ...
13
votes
2answers
693 views

Does italic math originate from TeX?

When I look in old mathematical textbooks from the seventies and before, mathematics is always upright. Their use of italic letters in other contexts, however, shows that this is not because of ...
3
votes
2answers
82 views

Number a linear program on the left-hand side

I want to write a linear program which is numbered on the right-hand side, like it normally is, but which also has a number on the left-hand side. It will be more of a label instead of a number ...
0
votes
0answers
46 views

! Undefined control sequence \backsim [duplicate]

My latex file does not accept the command \backsim. This is what I wrote in the file: $ \backsim 2.5 \mu$ What is wrong?
2
votes
0answers
43 views

Writing mathematical notation in LaTeXDraw

I have drawn a graph in LaTeXDraw. I need to name the vertices of the graph as v_n (where n is subscript of v). In latex document it was easy, just $v_n$ was doing the work. But how can I do it in a ...
3
votes
2answers
41 views

How to get large parentheses with \tanh-function?

I want to show a function which includes the tanh of a fraction, i.e. \tanh(\frac{x - g}{h}) but which gives me the normal small parentheses. I already tried \tanh\(\frac{x - g}{h}\) but this just ...
9
votes
2answers
461 views

Root within square root symbol

how can I avoid that the following expression \documentclass[a4paper,fontsize=14pt]{scrbook} \usepackage{mathtools} \usepackage{lmodern} \begin{document} \begin{align} a = ...
7
votes
3answers
348 views

What is the correct way to typeset higher order time derivatives in LaTeX?

I am typing a series that involves higher order time derivatives, and I have two main problems. First, the subscript of the derived variable seems to move further away from it with the more ...
6
votes
4answers
180 views

How to color only a “tilde” accent on a letter? [duplicate]

I would like to color only a "tilde" on my letters. I read how to do this with Umlauts or other accent, but for my expression it seems different I think. Here is my expression : \widetilde{E}^w So, ...
1
vote
1answer
31 views

How to remove image boundary while using LaTeX in wordpress [closed]

I'm using LaTeX in my blog in wordpress but the formulas are coming inside a rectangular box. Please refer here. How can I remove them?
4
votes
1answer
94 views

Proper Mathematical Typesetting for a point?

I'm working on a document in LaTeX, and I was wondering what the proper typsetting for a point is? If my understanding is correct, bold capital letters are matrices, vectors have the \vec{} symbol ...
5
votes
1answer
71 views

sign for multiple $\Diamond$-product

I use $\Diamond$ as a product sign and want to have something like $\bigDiamond_{i=1}^{n}$ to note multiple $\Diamond$-products. Similar to $\wedge$ and $\bigwedge$ or $\vee$ and $\bigvee$. Is there a ...
5
votes
1answer
120 views

Is there a better and compact way to represent the expansion of products of polynomials?

Objective: to show the expansion process as readable as possible so we don't run the risk of misreading the coefficients of the corresponding terms of the expanded, long expressions. ...
3
votes
1answer
56 views

A centering problem in \begin{equation} … \end{equation} with svmono.cls

If you build the following code the first equation is not centered, unless you remove at least the last letter (x), while the second equation (longer) is centered. Note: the first equation begins with ...