{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

Formulas are not displayed correctly (documentclass 'simauth')

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 ...
1
vote
1answer
48 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
86 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
21 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
75 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 ...
0
votes
0answers
25 views

Notation for indexing a matrix by a vector element [on hold]

Suppose we have the following elements: I would like to find a compact representation for the nth element of the ith line of the matrix A, where n is the ith element of v, that is to say : I ...
3
votes
2answers
28 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
73 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
64 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
32 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
74 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
38 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
88 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
60 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
166 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
134 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
46 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
88 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
29 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 ...
0
votes
0answers
43 views

What is the mathematical symbol for “point to” [closed]

Hi I am doing a research paper and am looking if there is a mathematical symbol for the action "point to". Such as if there is a pointer that points to a variable for example. Thanks
13
votes
2answers
225 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
41 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
215 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
26 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
35 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
40 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
137 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
50 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
93 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
41 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
21 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
29 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
45 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
173 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
62 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
47 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: ...
3
votes
2answers
80 views

Print ^ in math-mode

How can I print the character ^ in math-mode? \documentclass[a4paper,10pt]{article} \begin{document} The character $\text{\^}$ was printed in math-mode. \end{document}
0
votes
0answers
14 views

Reduce vertical spacing between Text and math-block [duplicate]

I am trying to reduce the space between an align environment, above and below, and the surrounding text. I tried using vspace. It works above, but below it produces wierd results. Is there an elegant ...
1
vote
1answer
33 views

Undefined control sequence for beta symbol list

I am new to Latex, please help me! I would like to give a beta symbol with a sequence of values as below. \boldsymbol{\beta} = (\beta_1,\beta_2,\dotsc,\beta_n) output looks promising. β = (β1, ...
0
votes
1answer
33 views

Bad math environment delimiter

I'm getting a bad math environment delimiter error and I don't know why. Here is the part where I'm getting error: \\(\forall x \in U: \tilde{M} = \{(\(x\); \mu_{\tilde{M}}(x)) \in [0,1]\}\\) I ...
2
votes
3answers
220 views

Best approach to write an multiline equation

What is best way to let LaTeX formate a long equation such that it matches between the borderrs of a page? As an example I have the following expression: \documentclass{scrartcl} ...
2
votes
1answer
33 views

How to prevent inline math from entering the margins on the right?

I'm writing a document (double columned, if it matters), and it seems that while normal text wraps just fine to fit the structure, when I use inline math, it tends to violate the page margins. For ...
5
votes
3answers
87 views

Vertical bar with appropriate length

I have a scenario in which I need to create a vertical bar that its size is in the length of 3 rows. My code is: \begin{align*} \begin{cases} x = 2t + 1\\ y = t + 2\\ z = 3 \end{cases} & ...
5
votes
2answers
47 views

latex thorn sans serif symbol in math mode

I am studying theory at university, and the lecturer uses this symbol for elementary probability: I want to use it in math mode, but the best suggestions I got from ...
3
votes
1answer
86 views

Using \mathversion to circumvent the restriction of 16 math fonts of TeX

I need to use multiple math fonts to do typesetting . I understand that, with the current version of TeX, we can only have 16 math fonts for each mathversion and there is no way to change this ...
2
votes
2answers
70 views

How to write conditional equations with one-sided curly brackets in Mnemosyne?

I want to write conditional equations with one-sided curly brackets in Spaced Repetition software Mnemosyne. I have latex installed. I want an equation somewhat similar to the following
3
votes
1answer
27 views

placing subscript under \max in \frac

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \max_i\frac{1}{\max_i} \end{align} \end{document} results in i beeing placed as intended outside \frac, but not beeing ...
3
votes
1answer
76 views

How to make all math bold by default in LuaLaTeX

I would like to make all of my equations bold by default in a LuaLaTeX document that uses the lmodern math font. The answer to this question suggests using \boldmath, but I can't get it to work while ...
3
votes
1answer
34 views

Should \mathrm work in \gather* environment?

I am trying to use \mathrm in gather* environment, but the result is text without any spaces. How can I correct that, please? \documentclass{article} \usepackage{amsmath} \begin{document} ...