Stack Exchange Network

Stack Exchange network consists of 174 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}.

4
votes
2answers
50 views

Even numbers of \circ causes weird spacing

I noticed when trying to make a string of 6 \circ symbols that the last one is closer to the one beside it than the rest of them, after playing with it for a while it looks like an even number (...
0
votes
2answers
27 views

Inserting braces in a brace [duplicate]

I don’t know how can I ensert the right braces using latex... Any help is appreciated...
0
votes
2answers
42 views

Rearrange equation with multline

\documentclass[12pt,a4paper]{report} \usepackage{amssymb,amsmath,amsthm,mathrsfs} \usepackage{mathtools, nccmath} \begin{document} We have \begin{align*} W_{\max}^A(T) ...
0
votes
0answers
26 views

What is this p-like symbol [duplicate]

I have looked it up on http://detexify.kirelabs.org/classify.html but I was not able to figure out what this "p-like" symbol is.
2
votes
2answers
74 views

align optimization problem with multiple conditions

I am using the following environment to align optimization problem statements from Typesetting an optimisation problem \documentclass{report} \usepackage{amsmath} \newcommand{\norm}[1]{\lVert#1\...
1
vote
0answers
35 views

Some basic questions about LaTeX/Advice on how to learn [duplicate]

I want to learn how to write math using LaTeX. I have a mac and have downloaded MacTex. I have used https://math.stackexchange.com and have learned the very basics of writing with MathJax and I liked ...
3
votes
1answer
53 views

Improving typesetting of striking out terms in equations

I need to strike out terms in equations. Based on the answers to this question, I've tried the cancel package, but the appearance of the resulting output does not convince me. Consider this example: ...
1
vote
2answers
62 views

Making Text under alphabet bigger Mathode

How to make the letters under V bigger, I'm using 10pt on A5 paper in my original document and it's unreadable. \documentclass{article} \begin{document} $V_{a bc defg}$ \end{document}
0
votes
0answers
73 views

Is there is any mistake in my code in latex? [on hold]

I want to write this on LaTeX. I have written this. $\langle \varphi _{g} v, w \rangle = \langle \varphi_{g^{-1}} \varphi _{g} v, \varphi _{g^{-1}} w \rangle$ But it is showing that I have done ...
-1
votes
2answers
74 views

How I can write this equation in LaTeX

I’m still a beginner to LaTeX, and I don’t know how to write this equation.
3
votes
0answers
56 views

An Error in Math mode

What is the meaning of \mathcal allowed only in math mode What sign should I use to fix this error?**
3
votes
1answer
74 views

How to use math mode and siunitx with arial

I have to use arial within the whole document. My code: \documentclass[ngerman]{scrartcl} \usepackage[T1]{fontenc} \usepackage{ lmodern, babel, uarial,%from https:/...
2
votes
1answer
50 views

Adjust spacing between preceded superscript and base

Depending on the letter in the base there is space to the preceded superscript. Letters like T, W, Y use ink in the top left corner, so there is no space, but when using I, D, E, ... (these letters ...
0
votes
1answer
49 views

Equation involving exp, sin, cos and Greek letters [closed]

How would I write this equation in LaTeX?
0
votes
0answers
46 views

Is `\[` equivalent to \begin{displaymath}? [duplicate]

Are the following two code snippets equivalent? Snippet One \[ a + b = c \] Snippet Two \begin{displaymath} a + b = c \end{displaymath}
1
vote
1answer
69 views

Strike out an arrow with a small oblique segment like with \nrightarrow

I'm looking for a way to strike out an arrow in the same style (or idiscernible) as predefined struck arrows, with short, slightly-oblique segments, like for instance \nrightarrow. Using \not or \...
1
vote
1answer
65 views

Integral over two ranges [closed]

I have an equation where I integrate over $\lambda$ from 85\deg to 95\deg and 265\deg to 275\deg (ie. just at 90 and 270 with 5 degrees on either side. I'm wondering if there's a convenient way of ...
7
votes
3answers
403 views

Spacing around \tilde{=}

How can I get proper spacing when using tilde over operator symbols? \begin{align*} x &= y\\ x &\tilde{=} b \end{align*} Yields: But I would like the tilde version to have the same kind of ...
0
votes
0answers
33 views

Stack element above two arrows

I'm trying to put an element above a left- and right arrow stacked above eachother. This is the bit of code: $S\overset{e}{\substack{\rightarrow\\[-1em] \leftarrow}} P$ What I get is that the e has ...
0
votes
1answer
69 views

How to use multiple \label across multiple \align* environments?

For long calculations, I have two align* environments for two equations. I have as an example \documentclass{article} \usepackage{amsmath} \usepackage{nccmath} \begin{document} \begin{align*} \...
0
votes
0answers
130 views

itemize and equation in beamer [duplicate]

I am not able to get the output of this file, however the same code was running successfully in my office computer but in my personal laptop (even though no error is displayed in red color), I am not ...
3
votes
1answer
24 views

Error using math in siunitx table

I am using the S-column type from the siunitx package to align numbers horizontally in a table, which works fine when typing numbers only. However, when I use math, I get the error Missing $ ...
1
vote
2answers
40 views

Identical math appears differently if defined in a \newcommand

My short example .tex line is: $\myCommand$ or $\boldsymbol{d}_{x}^{\textrm{word1},\textrm{word2}}$ Where I have defined: \newcommand{\myCommand}{ \boldsymbol{d}_{x}^{\textrm{word1},\textrm{...
1
vote
2answers
44 views

Conflict with \fi in figure captions

I have the following preamble: \documentclass[11pt]{book} % PACKAGES % graphics packages \usepackage{graphics} \usepackage[pdftex]{graphicx} % negative phantoms (\nphantom, \nhphantom, \...
0
votes
3answers
73 views

How to make fractions and exponents larger?

In an align environment in the amsmath package, sometimes an exponent like e^{...} is too small and a fraction like \frac{1}{2} is too small. I can use \tfrac to make fractions smaller, but for some ...
1
vote
2answers
50 views

my matrix is not showing complete in pdf,

code is here \[ \setlength{\arraycolsep}{0pt} \renewcommand{\arraystretch}{0} \begin{pmatrix} \begin{array}{*{20}{c}} {x + \cosh \left[ {2t} \right]}&0&{\frac{{ - ...
10
votes
1answer
108 views

marking end of words in luatex - problem with math

I'm trying to mark the end of "words" (including punctuation) with luatex callbacks. (At the end I want to inject space chars at this positions, but the example uses rules for the visualization). ...
2
votes
2answers
162 views

Long division spacing

Original thread. I want to make the long division represented with floating point, but i have strange results. The numbers are not aligned (with yellow). And some numbers are far away(red). \...
2
votes
5answers
660 views

How to squeeze a long equation?

I am writing in IEEEtran two-column environment and has a display formula like this \sqrt{\frac{1^{2}}{0.111222}(0.111222\times1.111163+0.066987^{2}\times0.111222)-1}=\sqrt{0.111222}=0.111222. Before ...
5
votes
2answers
93 views

Problem with mathring and subscripts

I am trying to use \mathring with a subscript and a superscript. I try {{ \mathring {\omega}}^{ab}}_{\mu} where I have put { \mathring {\omega}}^{ab} in an extra set of parentheses in the hope ...
10
votes
1answer
155 views

Improving alignment of signed fractions in table

I would like to find a way to better align signed fractions in a table. Take the following example: \documentclass{article} \usepackage{amsmath} \usepackage{booktabs} \begin{document} \begin{table}...
1
vote
1answer
33 views

How can i type a negative angle

How can I type a negative angle? Like this: I've been trying a lot of things around $U\angle\gamma$ but couldn't make it work.
3
votes
1answer
37 views

In the figure form, adjust the whole size of “text” and “math” format at once (II): from \twocolumngrid to \onecolumngrid

This follows from a previous post In the figure form, how to adjust the whole size of "text" and "math" format at once?, In the figure form, how to adjust the whole size of "...
3
votes
2answers
64 views

In the figure form, how to adjust the whole size of “text” and “math” format at once?

In the figure form, how to adjust the whole size of "text" and "math" format "as a combined figure" at once? If this is a usual pdf figure, we can do \includegraphics[width=4.4in], such as below, the ...
4
votes
2answers
100 views

Aligning two equations on a selected pair of symbols

How can I center an equation according to \Leftrightarrow? I would like the second\Leftrightarrow to be below the first. \documentclass[12pt,a4paper]{report} \begin{document} \begin{equation} x = r \...
2
votes
1answer
54 views

smallmatrix between brackets `[]` instead of parentheses `()`

I'm trying to write a math cheat sheet and have to write matrix in a compact way. I saw a very nice piece of answer there. What I want to do know is to set the matrix in brackets [] instead of ...
2
votes
1answer
54 views

Bold and italics math symbols

How can I make all the text in math mode as bold and italics? I need some code which will make all the math text bold and italics at once.
0
votes
0answers
103 views

What is the name of this font? [duplicate]

I need to know the name of this font because I like the style of the integral and the sum
1
vote
2answers
38 views

let aligned blocks float left in align*

I'm using align* to comment some equations: \begin{align*} &loooooooooooooooooooooooooooooooong \\ &short, &comment 1 \\ &not\; so\; short, &comment 2 \\ \end{align*} It produces ...
3
votes
1answer
64 views

How to design math accent positions correctly?

I am designing a math font with the usual math encodings (ot1, oms, oml, omx, msam, msbm) and am trying to get the math accents correctly. I already found out that the correct accent position is done ...
7
votes
2answers
137 views

Using bm with eulervm gives inconsistent ‘<’ and ‘>’ characters

I prefer to use bm package to bold math. However, I noticed that when used with eulervm, this gives inconsistent results for ‘<’ and ‘>’ characters. I wonder what causes it and can the usage bm be ...
1
vote
1answer
59 views

How to add large braket like in picture?

How can I make brackets like this in this picture: \documentclass[tikz,border=3.14mm]{standalone} \begin{equation} \label{eq:1} P(k)= (\sum_{min}^{max}\frac{{K \choose k}{N-K \choose n-k}} {{N \...
0
votes
0answers
26 views

Formatting long division involving decimals

I am looking for ways of improving the formatting I have been using to present long division involving decimals. Using this answer I have managed to come up with the following MWE. \documentclass{...
8
votes
3answers
650 views

Effectively, how to do “Underbrace” under two “Underbraces”?

Goal: I am trying to find a way to write an equation for: However, I fail, or at least so far could not find a way, to add the last layer in the bottom for "magnetic flux" using \underbrace. Here is ...
0
votes
2answers
23 views

Missing bracket [duplicate]

I'm having a hard time to figure out what is wrong with the follwoing MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} \langle n,l',l_s',m',m_s'\vert H_{\rm SO}\vert n,...
2
votes
0answers
23 views

Russian characters in equations without \textup in XeLaTeX [duplicate]

I want to change LaTeX engine from PdfLaTeX to XeLaTeX. There are a lot of formulas and equations with Russian text inside. And it used without any commands. MWE for pdflatex: \documentclass{...
0
votes
0answers
19 views

How to write “conditional one” in Latex [duplicate]

I want to write a "conditional one" in Latex but I don't know the precise name. It is a one with a double vertical dash that is equal to 1 if a condition is satisfied and 0 otherwise (a kind of ...
5
votes
4answers
342 views

Non-italic (roman) subscripts in math mode

Is there a way to set indices (subscripts) to non-italic globally? I'm aware of the case by case X_{\text{text goes here}} But I'm having to change that across a whole document is becoming a pain.
2
votes
0answers
59 views

Automatically convert math written in .tex into a canonical form that retains all the math information

I believe what I'm going to describe can be done accurately. However I'm not sure about how hard this will be. Basically my motivation is to standardize the math part in most existing math papers so ...
5
votes
1answer
73 views

Wrong position of the vcentered minus sign in subscript using stix2

Is there any way to place minus sign at the same height as the horizontal bar of the plus without using raisebox? \documentclass{article} \usepackage{stix2} \begin{document} \( I_{a\vcenter{\hbox{$...