{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
2answers
13 views

greek capital letters not displayed properly in PNAS style

when using PNAS LaTeX template (here), Greek capital letters get rendered incorrectly. for example, \Phi(\vect{x}, t | \vect{x}_0) gets rendered as . i am using the following in my TeX source ...
0
votes
0answers
27 views

What's wrong with this question? [on hold]

Can anyone tell me what's latex wise or even grammatically wrong with this question and why is stack exchange maths sector is refusing to post this question? Question: If $$A_n = 1/(log n)^{log ...
1
vote
1answer
37 views

How can I split the expression?

When I use the command \begin{split} inside the command \begin{itemize} I get an error... Why? Can we not use it there? The command I wrote is the following: \begin{description} \item ...
3
votes
0answers
21 views

Beamer: alert and math color [duplicate]

I'm having some trouble changing the colors of parts of an equation in Beamer, with "math text" being set. The following MWE demonstrates the example: \documentclass{beamer} \usepackage{color} ...
4
votes
1answer
81 views

How do I produce the text displayed on the banner of this website?

This question is for interest purposes, rather than a problem which I have to be solved. How does one produce the equations and text displayed on the banner of this website? Here is a screenshot of ...
8
votes
2answers
223 views

Creating a symbol that combines a number with a triangle for math-mode

I'm trying to create a new symbol that simply combines a number with a triangle, by placing the number inside the triangle. It should work in math-mode (text mode would be nice, but not required). ...
4
votes
2answers
109 views

How to automate adding spaces around an ampersand in math mode

Suppose, we are writing a logical expression in math mode: \documentclass{article} \usepackage[a4paper]{geometry} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document} $a\&b$ ...
0
votes
2answers
25 views

Left-align text in math-mode and break equations

I have the following MWE \documentclass[11pt, a4paper]{article} \usepackage{fancyhdr} \usepackage{graphicx} \usepackage{amsfonts, amsmath, amssymb, amsfonts} \begin{document} \begin{align} ...
4
votes
1answer
34 views

Remove space between characters

How can I remove the space between this \newcommand{\deref}{\ensuremath{\rightarrowtriangle}\xspace} $b\deref\mathbf{r}_S$ such that the arrow is as closest to the two surounding characters as ...
3
votes
2answers
37 views

Suppress proof heading in proof environment

I'm using the proof environment defined by \usepackage{amssymb,amsthm}, mainly so the qed box is inserted automatically in the correct place. But I don't want a heading (or the blank row) before the ...
9
votes
1answer
117 views

Understanding expansion of \mathpalette

I'm trying to make sense of the \mathpalette code used in this answer. To repeat it below: \makeatletter \newcommand{\raisemath}[1]{\mathpalette{\raisem@th{#1}}} ...
2
votes
1answer
29 views

Subscript overlap issue with \mathclap

I wanted to use \mathclap (from mathtools) to make more compact the appearance of \documentclass[12pt]{report} \usepackage{mathtools} \begin{document} \[ \lim_{(x,y)\to (0,0)} f(x,y) \] ...
0
votes
1answer
31 views

Tex error when I run my tex file

! LaTeX Error: Command \subequations already defined. Or name \end... illegal, see p.192 of the manual. ! LaTeX Error: Command \openbox already defined. Or name \end... ...
1
vote
0answers
56 views

A math prime symbol instead of single quote in text mode

I have an abbreviated name say ABC and I want to write something like ABC', but I prefer the quote to be the math mode prime symbol. Something like ABC$'$ will give me that, but is there a better way ...
1
vote
1answer
35 views

Curly braces disappear when reloading LyX document

I have a problem in LyX when using a math macro with an optional argument. I want to have an interval [a,b] as argument, which I need to group in curly braces, otherwise LaTeX will confuse the ...
0
votes
1answer
63 views

How to put a fraction into italics? (No math-mode preferred)

I know, it sounds strange, but I need to have a fraction in italics. I have plenty of tables in my document where in one column everything is always in italics. And there I have one specific table ...
1
vote
1answer
38 views

“overfull hbox (62.122123 too wide)” message in a long equation

2.\\ (a) Since there is only one observation the likelihood function only includes $p_1^{y_1}(1-p_1)^{(1-y_1)}$.\\\ =$>$ $L(\alpha , \beta_1 , \beta_2 , \beta_3) = ...
3
votes
1answer
50 views

Why do \left and \right add so much extra space under the baseline?

When I write \[ \left \lVert \overrightarrow{\nabla} \right \rVert \] I get way too much extra space under the baseline: Why is this happening, and how can I fix it?
3
votes
3answers
197 views

Help with “missing $ inserted” in table* environment

I receive 20 error because of missing $ inserted. However. I put $ before and after each symbol. Here is my code: \documentclass[twocolumn]{article} \usepackage{blindtext} \begin{document} ...
2
votes
2answers
48 views

Spacing too large with double subscript [duplicate]

In a document that uses the newtx packages, double subscripts seem to have too much spacing. \documentclass{scrartcl} \usepackage{newtxtext} \usepackage{newtxmath} \pagestyle{empty} ...
4
votes
2answers
114 views

Unbold a \boldsymbol in mathmode?

I want to create a command that get an unbold character from a boldsymbol in mathmode. In my setup every vector is in bold font for example $\boldsymbol{x}$ and the command \coef{\boldsymbol{x}}{i} I ...
1
vote
2answers
56 views

How to make the subscript in $f(x)_{x \to x_0} \to \lambda$ appear beneath the arrow

Sometimes I like to write my limits in the form f(x) ----> a x --> 0 Is there a way to achieve that in latex ?
2
votes
1answer
59 views

Align text like in math mode

My question is pretty basic but I couldn't find any solutions to this. I'm looking for something to align text; in math mode you can use the & to mark where the next line of code should be ...
3
votes
2answers
163 views

How can I write framed formulas in my LaTeX document?

I am interested in this thing because I think that the framed formulas make my document more beautiful. For example how can I make this formula framed? $F=m\cdot a$ I would like to make a light ...
1
vote
2answers
52 views

How to stop centering effect when using split equation?

For example, the following code produces the equations below: \documentclass{article} \usepackage{amsmath} \begin{document} \[ \begin{split} Helloworld & = A \\ & = B ...
2
votes
2answers
64 views

How to include eqnarray in caption of figure

I want to write a set of equations in a caption of a figure. I implemented the answer of this question but it did not work out. The error I got is: ! Argument of \Hy@tempa has an extra }. For ...
3
votes
1answer
68 views

siunitx: Bold single numeric cells with turned off alignment

Having a table with numeric values, I want to achieve: Automatically grouping digits into blocks of three Highlight some cells in bold However, no alignment is needed. To achieve the first, I use ...
1
vote
2answers
39 views

Handwrite letter V in Inline Math Mode [duplicate]

What package and command do I have to insert to write letter V in a handwriting style using Inline Math Mode? Below is the result I want to obtain:
3
votes
1answer
50 views

How to have ceil function in Table?

Code which works in \begin{equation}...\end{equation} within the normal text but not in the table; extended from this thread. \documentclass{article} \usepackage{mathtools} ...
2
votes
2answers
91 views

Can't wrap integral equation

I am attempting to wrap the following integral equation, but get the following error: "Missing } inserted" Here's the code: \begin{align*} ...
1
vote
2answers
32 views

Typeset all caps to bold and all small to italics in math environment

I want to typeset all capital letters/symbols to be bold and all small letter to be italics in math environment by default. I was wondering how can I do that? \documentclass{article} ...
5
votes
1answer
64 views

Renaming \d for differentials

I know this question might sound dangerously like asking for an opinion, but I nevertheless give it a try. Since I never used the "underdot accent" \d I renamed it to get a differential in math mode ...
4
votes
2answers
407 views

Typesetting a function defined by case analysis

Can any one suggess me the code to write this equation in LaTeX.
2
votes
1answer
29 views

Using a text inside a math environment in a pgfplots label

How is it possible to have a \text{} field inside of a math environment of a pgfplots label. A minimum not working example is displayed below: \begin{tikzpicture} ...
8
votes
1answer
231 views

Spacing around \cdot

I'm trying to use \cdotas a dummy for a function argument in the following expression C(\cdot\mid\mathcal{F}_{t-1}) However, the above produces more space to the right of the dot than to the left. ...
6
votes
2answers
141 views

Brackets not tall enough with smallmatrix from amsmath

The following MWE shows that when I typeset a matrix using the smallmatrix environment from amsmath, and wrap it in a \left( \right), the parentheses generated are not big enough to reach the ...
1
vote
0answers
27 views

Is there any difference between math mode and text mode for numbers? [duplicate]

Take the sentence: "The answer is 42". Is there any difference between The answer is $42$. and The answer is 42. In the final PDF I cannot see any difference. Does it make a difference whether I ...
3
votes
1answer
70 views

Uniform number formatting

I am facing the problem that in a collaborative research paper there are several different number formats within the text, if the number is not pasted in math mode. For example: 10.000,00 or ...
1
vote
2answers
218 views

Physics notation

I really don't know how to write that 'Y' in latex. I have tried many methods but I didn't succeed. Any help will be appreciated.
0
votes
1answer
181 views

Math notation in LaTeX?

How can I write e^(3j) in LaTeX? I have tried many syntax, like $e^(3j)$ or $e^*{3j}$ Any help will be very well received.
1
vote
1answer
38 views

Arrow above text (like widehat)

I'm doing a presentation for a lay audience and I was hoping to have an arrow above the word "dim" to differentiate the dimension vector from the dimension generally. However, $\xrightarrow{dim}$ puts ...
1
vote
1answer
49 views

fonts in mathmode

I would like to ask if there exists anywhere a font for math mode that is as similar as possible to the font called "Avenir" (or else Helvetica Neue, Helvetica or Verdana) ? Cheers Edit: as to the ...
1
vote
2answers
86 views

Vector with too short arrow

I'm trying to write two vectors like this: Currently I'm using $\vec{p_e,\SI{10}{\hertz},s2}$ bug ig looks like this: How can I write it correctly? That means: long vector arrow italic Hz
2
votes
1answer
42 views

Latex typesetting, continue writing text not in new line [duplicate]

I have a very simple question that how to write SCR_life within text. Not write in the new line. I tried \[SCR_{life} \].
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
38 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
259 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} ...