Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [math-mode]

{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}.

0
votes
0answers
13 views

\right not working in beamer [duplicate]

\documentclass{beamer} \usepackage{graphics} \mode<presentation> { \usepackage{breqn} \usetheme{Frankfurt} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{align*} ...
0
votes
0answers
29 views

Include SVG's in an equation

I want to include some svg image within an equation. Until now the code looks like \begin{equation} \def\svcscale{1.5} A = \includesvg{AMC/3J} \end{equation} But with that, the symbol is not in ...
6
votes
2answers
104 views

How to ignore kerning of underbrace in math mode

Is there a way to instruct LaTeX to ignore the text in the \underbrace for purposes of kerning the equation in math mode? \begin{align} &x \underbrace{(4-3y)}_ {\text{Positive $\...
0
votes
0answers
29 views

Allow page break for many aligned equations (ConTeXt) [duplicate]

When there are many aligned equations so that they cannot fit the rest of the current page, page break is not allowed, and they always start at a new page, giving a lot of blank lines. How to allow ...
0
votes
0answers
17 views

Glossaries list of symbols unit column issue

My report features Abbreviations and List of symbols in the following format: The list of symbols has been customized to have the unit column instead of the page column. When I compile everything ...
5
votes
2answers
313 views

How do I superimpose two math symbols?

I want to create a symbol that superimpose \top and \bot. I have done this \documentclass[12pt]{article} \usepackage{amsmath} \newcommand{\modd}{\top\hspace{-3.17mm}\bot} \begin{document} $\modd \top ...
0
votes
2answers
47 views

Table with varying cell size

I'm trying to make a table that looks like the one in the attached photo. I'm not really sure where to start.
0
votes
2answers
27 views

Brace after aligned environment is too long [duplicate]

\documentclass{standalone} \usepackage{mathtools} \begin{document} \begin{math} \varepsilon\coloneqq\frac{E_0}{E} \implies \left. \begin{aligned}[t] \...
2
votes
2answers
60 views

Centering the equations with inequalities

This is the code I have, however the inequalities are not in the right place, I don't know why using for instance \:\:\: to move it to the right does not work. \begin{gather*} \qquad\...
3
votes
3answers
60 views

Reduce size of sum sub/superscript?

I have a text with lots of sums where the sub/superscripts are pretty long, as in $\displaystyle\sum_{ k=1+min\{a-1,b-1\}}^{ max\{a-1,b-1\} } i_k$ and when I compile the text gets very ugly, since ...
1
vote
1answer
30 views

spacing in equations

I need to make this formula This is what I have so far: \Delta(x)=\left\{ \begin{array}{ll} 1 \mathrm{if} x>0\\ -1 \mathrm{if} x<0 (1)\\ ...
1
vote
1answer
32 views

What is a TeX to HTML converter that produces GladTeX-friendly HTML and numbers formulas?

I wrote a math paper in LaTeX that uses a custom .sty file I wrote (defines some math commands, basically, and imports packages with math symbols and fonts) and I want to convert it into a standalone, ...
7
votes
2answers
232 views

Best practice for printing and evaluating formulas with the minimal coding

Can the following MWE be reduced by creating a command that can accept a formula then print and evaluate it without the need to write it twice in two different forms for both evaluating and printing ...
6
votes
1answer
97 views

Presenting 2 results for one variable using a left brace

So I want to represent two results for a variable in math mode, and there is something that I don't know the name in English for, which is a big "{". What I want to do is the following: \begin{...
3
votes
1answer
76 views

How do I align a math environment to the right?

I'm trying to wrote a few math formulas, but they go left. The picture will explain: As you can see, the < signs are not in the same line. The code: צד ראשון: \L{ \begin{eqnarray*} 2(i+1) & ...
1
vote
1answer
17 views

how to align this

I'm using this \newcommand\Underset[2]{\underset{\textstyle #1}{#2}} so that \Underset{f \mapsto f\circ \partial_{n} }{\partial^{*}_{n}:Hom(G_{n-1},M)\to Hom(G_{n},M)} wouldn't minimize the ...
0
votes
0answers
19 views

Creating \simrightarrow with ooalign

I would like to have a command \simrightarrow, that is, a \rightarrow with a \sim over it. Stealing code from @egreg, I got: \documentclass{article} \usepackage{unicode-math} \newcommand{\...
1
vote
2answers
23 views

Reducing horizontal space in math mode align

The following code aligns everything just the way I want -- and I can be much too picky -- except that the horizontal space to the last column is too wide. How can I make it narrower? \begin{align*} ...
3
votes
1answer
61 views

Calligraphic and script fonts with both upper and lower case?

What do I need to do to define a \mathscr which can handle both upper and lower case letters and a \mathcal which can handle both upper and lower case, with the latter staying as close to the default \...
13
votes
2answers
800 views

What is the purpose of : in math mode?

What is the purpose of $:$? We know that in math mode one should write in natural language and not being so strict with math notation. For example: $f:A\to B$ is not "correct", the correct way would ...
4
votes
3answers
57 views

Change the default size of square brackets in latex math mode

Personally I think the default size of square brackets in latex math mode is too small. For example, for an interval [a,b], I would prefer \big[\big] as opposed to plain []. My question is, what can I ...
1
vote
0answers
34 views

LaTeXiT only renders the bottom half of the equation [duplicate]

When I try to use LaTeXiT it only shows the bottom part of the equation, I have no idea what is causing this problem, I've searched the web about it but can't find anything related. It occurs not only ...
12
votes
1answer
858 views

I've given up, missing $ error. Help?

A subset $C$ is \emph{closed} \iff \emph{ $i\in C, i\to j$ \implies $j$ \in $C$ } \\ Overleaf shows this where the error is. I've used my brain to find the error but no progress. Error is - missing $...
3
votes
1answer
33 views

Math “metaoperator” adding dot and preserving math class

I want to define a command, call it \dotted, that adds a period at the right place next to certain other math characters*: to the right of function-like tokens, i.e. Ord and Op, and to the left of ...
1
vote
1answer
23 views

Name equation and insert it when referring to name?

I have the following matrix (in an equation environment): $$ \mathbf{a}_1 = \left[\begin{array}{r} 1\\ -1\\ 1\\ 1 \end{array}\right] $$ (not sure why the latex is not recognized and formatted) So I ...
0
votes
2answers
69 views

Typing greek symbols [duplicate]

How to type theta as shown below? Hope image is clear
11
votes
2answers
409 views

How do employ ' (“prime”) in math mode at the correct depth?

How does one use the ' symbol ("apostrophe") in math mode without letting it change the depth of subscripts? For example the following tex code: \[ \int_{G^d} \varphi_{\ul,\ui} \varphi_{\ul',\ui'} \...
2
votes
1answer
38 views

Italicizing Variables in SI unit commands [duplicate]

As many other answers have elucidated, the correct way to typeset SI units is with the SI command from siunitx. However, if the value being described is a variable (for example, x metres), doing $\SI[...
2
votes
1answer
35 views

Resolution of a problem concerning calligraphic fonts such as \mathcal or \pazocal

Although the question may seem very simple, I want to ask it because I wish to learn. I use a lot of packages for my book and unfortunately someone goes into conflict. For example, I can't use bm ...
0
votes
2answers
49 views

Align hat on top of bar

How do I align the hat on top of a bar for the letter d? I've tried with other bars like \widebar but it doesn't work. $\hat{\bm{\bar{d}}}$
0
votes
1answer
24 views

Adjust space above for only one align

In my document I have many align environments which look great as they are. Now I have one starting on a new page and because of the space above it looks weird compared to other pages because the ...
4
votes
1answer
153 views

Getting this error. Missing { inserted

\begin{equation} \max_{\substack{k , {k^'}}}|{G_k-G_{k^'}}| \leq T_1\\ \end{equation} I am not getting what are the errors. Please help me.
3
votes
2answers
86 views

Bigger equation in text-mode math

I want to write a "big" equation, not in display-math mode -- as given by the equation environment -- but in inline-math mode, say $E=mc^2$ How can I enlarge it?
6
votes
3answers
590 views

TeX Gyre Pagella Math Integral sign much too small

I am writing my thesis and I use the TeX Gyre Pagella Math fonts, but I have noticed that the integral sign is much too small compared to fractions. as you can see in the above image. I am using ...
5
votes
3answers
71 views

ULdepth does not change space in equation

I am trying to underline a result within an equation environment. The result contains a Matrix. I use the ulem package with uline. How can I add more space between my matrix and the line? I tried ...
3
votes
4answers
289 views

Fit an equation in document

I have a big equation that is not fitting in one column.My code is shown below \begin{equation} \left[\max\left(D_{i, j}^{-x} T, D_{i, j}^{+x} T, 0\right)^{2}+\max \left(D_{i, j}^{-y} T, D_{i, j}^{+...
0
votes
1answer
29 views

! Missing } inserted.<inserted text>} \end{gather}

\begin{gather} \sigma_1$ = $\dfrac{M_1.y}{I_x}$ + $\dfrac{F_z}{A}\tag{1}\\ \sigma_2 = \dfrac{M_2.y}{I_x} + \dfrac{F_z}{A}\tag{2}\\ M_1 = F_y.L_1\tag{3}\\ M_1 = F_y.(L_1 + L_2)\tag{4}\\ \sigma_3 = \...
0
votes
0answers
42 views

cloze package: Clozes in math mode have stopped working

I recently updated my MacTeX distribution via Tex Live Utility. Before that clozes from the cloze package have also worked in math mode, e.g. in amsmath's align environment. But that does not seem ...
1
vote
0answers
69 views

How can I add intertext to multilines of formulas?

In LaTeX, I know how to do it, just writing \intertext{This is a text.} between the parantheses of the align*,I wrote below. But in LyX, it does not read the command \intertext. I am temporarily using ...
2
votes
1answer
49 views

Why \underbrace and \overbrace create brackets with gaps?

I noticed that when we use \underbrace and \overbrace, it creates a bracket that is assembled by several parts, please see the picture below demonstrating what I mean: If we zoom in, we can see: And ...
3
votes
2answers
72 views

Undefined Control Sequence for my 0-norm

I'm new to latex and am using some stuff from a document my professor sent out. I'm trying to define something in a paper I'm writing. Here is what I have: \documentclass[11pt]{amsart} \usepackage{...
0
votes
1answer
32 views

Conflict between sansmath and fixmath?

My question may be a duplicate of Missing symbols in the sansmath package, but I don't know. I need to use a sans font for math and I generally load the fixmath package (although I am not sure why). ...
3
votes
3answers
50 views

How to get vertical-mode math-expression inside tikz node?

I am aware that \boxed automatically invokes display-mode math, so \boxed{2+2=4} is equivalent to frame drawn around $2+2=4$. But how do I get vertical-mode math expression inside tikzpicture node to ...
1
vote
1answer
36 views

Arrows in a commutative diagram are slanted in TikZ

I have the following commutative diagram in TikZ: \begin{tikzpicture} \matrix (b) [matrix of math nodes, row sep=2em, column sep=2em] { D(0) & D(1) ...
1
vote
2answers
77 views

Indentation Tex

I need to put the text as follows, but i don't see how. Please help me. \documentclass{article} \usepackage{amsmath, amssymb} \begin{document} $$\llbracket \Phi_{1}(\vec{a})\wedge\Phi_{2}(\vec{a})\...
1
vote
1answer
41 views

Align many matrices the best way possible?

It's my first assignment in linear algebra and working with matrices. How would you align matrices like below the best way? Code below: \newenvironment{sysmatrix}[1] {\left(\begin{array}{@{}#1@{}}} ...
2
votes
2answers
88 views

How to get rid of (or make even) vertical space above and below math mode (`\[…\]` and `\begin{equation}`)?

I have difficulty removing spaces (or making them even, or setting them to custom values) above and below vertical math mode. This is a re-write of the previous question whose code contained hrule's ...
4
votes
1answer
209 views

Formating an equation

I have the following equation \documentclass[12pt]{article} \usepackage[a4paper]{geometry} \usepackage{mathtools} \begin{document} \begin{equation*} u(x) = \left\{ \begin{multlined} \...
1
vote
1answer
34 views

Why my math equation showing errors?

why this code showing error for this equation i usd this code \begin{equation} Y_k\big(p+1\big) = \begin{cases} +1 \;\;\; if W_k $>$ 0 \\ -1 \;\;\; if W_k $<$ = 0 \end{cases} \end{...
1
vote
2answers
72 views

LuaLatex, how to use calibri font even in math mode?

I'm writing a letter in LuaLatex using the calibri font. To set up I use these commands: \usepackage{fontspec} \setmainfont{calibri}[Ligatures=TeX, SmallCapsFeatures={Letters=SmallCaps,LetterSpace=...