{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
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.
1
vote
1answer
86 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
41 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 ...
4
votes
0answers
79 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
23 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
130 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
83 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
125 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
32 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
86 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
121 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
40 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
127 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
59 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
157 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
443 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
419 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
139 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
75 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
74 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
96 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
96 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
38 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
89 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
78 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} ...
5
votes
2answers
54 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
97 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
94 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
179 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
143 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
59 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
97 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
45 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
38 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
40 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 ...