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

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}} ...
2
votes
1answer
52 views

Set all numbers greater than “X” bold

I am looking for a way to set automatically all numbers in mathmode bold (\mathbf) that are greater than a certain value. For example I set the new counter to 1000 in the preamble and every number ...
4
votes
1answer
46 views

Vertical bar in a math mode inside tabular

I cannot get the | line to appear in a fraction in a tabular. Could someone please tell me what I am doing wrong?? \documentclass{article} \usepackage{amssymb, amsmath} \begin{document} ...
5
votes
1answer
85 views

Insert Paragraph within Equation

How to insert a paragraph inside equation. I need to be able to break lines inside the paragraph. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} y ...
11
votes
3answers
118 views

Incorrect spacing after minus sign with combination of amsmath and hyperref

When no packages are loaded, no space is inserted after the minus sign of a negative number: \documentclass{article} \begin{document} \begin{equation} -1 = -1 % output: -1 = -1 \end{equation} ...
4
votes
1answer
39 views

Loops in TikZ: Executing Subtraction in Math Mode

I learned today that I can execute a loop in TikZ, which makes my life a lot easier... but I'm wondering how to evaluate a numerical expression in math mode. MWE: \documentclass[12pt]{article} ...
4
votes
4answers
125 views

Numbers are very small in numerator and denominator using \frac

When I use the \frac command, I notice that the characters used for the fraction terms become smaller than those which are not in the \frac command. Is there a way to correct it?
0
votes
1answer
58 views

Triangle inequality symbol

Does anybody know what symbol to put above an inequality symbol < to indicate that the triangle inequality has been applied? I would like a symbol like this (which is not in The Comprehensive ...
3
votes
2answers
156 views

Editing theorem environments

I have two questions about editing theorem environments on Tex. I did not see concrete answers among answered questions, so I ask here mines, hoping that there are not frequently asked. First, I ...
13
votes
2answers
439 views

How to write these symbols (double vee, wedge and bracket)

I want to know how could I do these three things (in red): For the last one, I'm curious about the brackets. Probably they are not too dificult to "write" in this languege but I've no clue. I hope ...
7
votes
2answers
416 views

Write this equation in latex

I want to write this equation in latex: I need that comments be in right side. I did something like this but it has some flaws. \begin{eqnarray} \label{cons1} % \begin{aligned} ...
4
votes
1answer
136 views

How to write a calligraphic letter with a check hat?

I would like to typeset but $\v{\mathcal{R}}$ or $\mathcal{\v{R}}$ would not work....
3
votes
1answer
44 views

Making an environment with the same text color as the background

I am looking to type up some solutions to math problems. However, I do not want someone who just looks at the document to be able to see the solution; I want the students to be able to see the ...
1
vote
0answers
73 views

Formulas are not displayed correctly (documentclass 'simauth') [closed]

I am supposed to use the document class simauth as described here. However, the formulas and in general anything math related looks not as it is supposed to look, instead of Does anybody know ...
1
vote
1answer
73 views

Centered LaTeX program written

I have a somewhat working LaTeX program written. One thing I would like to be better is the centering of the \begin{align*}...\end{align*}. I tried \begin{gather*}...\end{gather*} but I can not get ...
5
votes
2answers
95 views

Slash resembling “circled division slash”

The package stmaryrd defines two symbols \varoslash and \varobslash which resemble the "circled division slash" ⊘ and an similar backslash. However, when mixing these circled slashes and regular ...
0
votes
0answers
22 views

Correct usage of \mathbf [duplicate]

In my work I have: J_{\mathbf{\lambda}}(f(\mathbf{p},t)) but pdflatex prited Why? Maybe I'm not using mathbf correctly?
3
votes
1answer
90 views

Making a thicker \cdot for dot product (that is thinner than \bullet)

I'm trying to replicate the dot that my professor uses in his notes for the dot product between vectors but I am having a hard time doing so. This is what it looks like: I have tried a couple of ...
3
votes
2answers
37 views

Create \uparrow in math mode with variable length

How to make \uparrow to be as long as the object left to it? Is there a way like for brackets \right] ? How to make this look nice: \documentclass[15pt, a4paper]{scrartcl} ...
1
vote
0answers
35 views

How to construct block matrix with shadowed entries? [duplicate]

Is there a simple way of drawing matrices with shadowed blocks like the ones in the picture? I've tried something like Gonzalo Medina's proposal: %% with these packages loaded %% ...
7
votes
2answers
86 views

boldsymbol badly modifies spacing

In the example below, it is my feeling that \boldsymbol badly increases the horizontal spacing with the index: \documentclass[fleqn,11pt]{book} \usepackage{amsmath} \begin{document} ...
5
votes
2answers
75 views

I want to change the font in math mode for only one letter in an equation

Some has suggested this is a duplicate question, but I do not think so, because I haven't been able to do it by reading the other posts. I have something like \documentclass[a4paper,12pt]{book} ...
2
votes
1answer
37 views

Breaking inline math within longtable or tabular

So, I've got the following code: \documentclass{memoir} \usepackage{longtable} \begin{document} \begin{longtable}{p{0.4in}cp{2.75in}p{1.8in}} Symbol & Unit & Describes & Equivalent ...
4
votes
1answer
95 views

Showing plus or minus error in siunitx

Using the notation we were taught, 0.0010 plus or minus 0.0001, for example, would be: (1.0 +/- 0.1)*10^-3s Is there a way to print this in latex using the siunitx package?
2
votes
1answer
42 views

Make added hspace disappear if at a line break

Consider the following example \documentclass[a4paper]{memoir} \pagestyle{showlocs} \usepackage{amsmath,amssymb} \begin{document} \hspace*{8cm} text text text $\{ x\in X \, \vert \, \allowbreak x ...
2
votes
2answers
92 views

Missing delimiter (. inserted)

The code below produces the error Missing delimiter (. inserted). {\it \begin{equation} $E_{k} = 10\log_{10}\left{ \frac{\sum_{i=1}^{M_{k}}{{\left[W_{k}^{P} ...
2
votes
1answer
72 views

Tikz variant of cancel to

I found this helpful to quelling my issue with the cancel packages arrows but displaymath seems to break it. The only part of the linked code I am using is \usepackage{tikz} \usepackage{relsize} ...
4
votes
1answer
178 views

What is the actual function of “&” in math environment?

First of all, I must and want to say that I really like the idea of this website. It's pretty awesome to have a place like this where you can ask all your questions regarding LaTeX/TeX. :D My ...
12
votes
1answer
142 views

Inserting tokens at end of math mode

One can use \everymath and \everydisplay to insert tokens at the beginning of math mode, but what about inserting tokens at end of math mode? Lets say I want to enclose the math mode material in a ...
3
votes
1answer
58 views

Loading amsfonts after mathbbol does not reset \mathbb

I'm using the mathbbol package so I can use \mathbb with Greek and lower-case letters. The package documentation states Without options, the following commands are defined: \mathbb{A} to ...
2
votes
1answer
95 views

Tikzpicture in Beamer poster

I'm trying to creative a commutative diagram in a beamer poster, but I cannot figure out why it's formatting incorrectly. The output builds as : When I'm trying to output it as: Any reason as ...
1
vote
2answers
30 views

bmatrix, how to give details after particular row bracket[ ]?

I am new to LaTeX. I want matrix like in bmatrix [1 1 1] R1=R1-R2 (Row1= Row 1 - Row 2) 1 1 1 R2<-R1+R3 1 1 1 I want "R1=R1-R2" after the matrix [1 1 1] but when i add this its goes to ...
13
votes
2answers
242 views

Recoloring math in an equation in Beamer

I have a presentation with the color for math changed to blue: \setbeamercolor{math text}{fg=black!15!blue} Everything looks nice, until I want to recolor part of an equation: \begin{align*} x\ ...
2
votes
1answer
44 views

How can I use long identifiers in math mode with correct kerning?

I often write formulas with long identifier names. To get the kerning right I have to put the identifiers into \textit or something similar. For example this looks wrong: $\forall x \in Foo: \; ...
8
votes
1answer
221 views

How to create \Delta with dot in it?

I am just looking for ways to write different \Delta´s (so many different variants of the Alexander polynomial). So I came up with the idea to have a dot in it. But the problem I noticed is, if I ...
1
vote
0answers
36 views

Insert a line-break in online equation editor [closed]

How do you do a carriage return (line-break) when using the Online LaTeX Equation Editor](http://www.codecogs.com/latex/eqneditor.php)? I have written: \documentclass{article} {a_n^m} \Return ...
1
vote
0answers
39 views

Redefine font used in \mathit

I am using the libertine package with pdflatex. For maths I use the Computer Modern font. In formulas I need longer variable names and to do get the spacing right I use \mathit. The font used is ...
1
vote
0answers
43 views

Indexing the result of a lengthy matrix computation

this question relates to a problem about style or maybe convention. I have a matrix $M$ which is the result of a lengthy matrix computation (in my case: a long chain of matrix additions and ...
2
votes
2answers
141 views

Please help in my latex work

I've encountered a problem writing my thesis. I was asked to do it with LaTeX (and I'm new to it) and I'm using Winedt 9.0. I was trying to compile my work but I had problems. I've tried to fixed it ...
1
vote
1answer
56 views

How do I get this matrix?

How do I get the above matrix in LaTeX using Texmaker? P.S. I need the matrix as an equation. I couldn't get using the general specifications of LaTeX.
3
votes
3answers
101 views

How to align braces with middle vertical line the same size in math mode?

How can I make the middle vertical line the same size as the braces? \[ A\left(c\mid \substack{a,b \\ c,d} \right) \] Thanks!
0
votes
0answers
44 views

How to use \min in equation

I have the following problem when I want use minimum among some numbers. $\min_{1}$ works well but $$\min_{1} $$ or \begin{eqnarray*} \min_{1} \end{eqnarray*} are looking very odd.
1
vote
1answer
25 views

Why might SetMathAlphabet{\mathit} not change the alphabet?

I'm trying to change the math alphabet. The following MWE compiles with neither error nor warning in my latex installation, but the math font is not actually changed. The math alphabet remains the ...
0
votes
1answer
34 views

Different math rendering in Beamer? [duplicate]

When using beamer for presentations, I notice that the rendering for math becomes quite different, and I really prefer the usual rendering, say, when typing a paper. The symbols look a bit less ...
5
votes
1answer
51 views

Illustrating a matrix assembly within the array enviroment

I'm having trouble aligning the parentheses of a matrix assembly (parentheses within the same matrix). Essentially, what I want to do is this (excuse the terrible paint-job): Where the submatrix ...
4
votes
2answers
183 views

Make several underbrace more compact (to look nice)

Is there a way to make underbrace symbols thinner and reduce their (vertical) distance in order to achieve this: I've tried one tikz-version of thinner braces. While zooming in one can see, that ...
8
votes
2answers
70 views

Why does the spacing in math mode change when the text of a tikz node is centered?

Given two nodes with same content, for example $a = 1$, the spacing is different depending on the text alignment of the respective node, i.e. when the text is centered, the spacing is greater. The ...
1
vote
2answers
59 views

Displaystyle for “lim” (global) in tabular-environment

I want to use a tabular-environment and within it some math formulas (limits). But I want \lim to be in displaystyle (without using display-function each time or defining a new command). My MWE: ...