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

Filter by
Sorted by
Tagged with
1
vote
0answers
18 views

Math mode code indentation [duplicate]

How is math mode processed in TeX? Is typing \n (in editor) in math mode equivalent to one space? I am asking, because I struggled to find a bug in source code (between a lot of matrices :-) ), and ...
7
votes
1answer
190 views

What does “rel” in `\mathrel` and `\stackrel` stands for?

Most latex tags have straightforward meanings, for instance, \sqrt stands for/comes from "square root" \equiv stands for/comes from "equivalent to" What does "rel" in \mathrel and \stackrel stands ...
5
votes
3answers
159 views

Another solution to create a set with two conditions

With this MWE \documentclass[a4paper,12pt]{article} \usepackage{mathtools,amssymb} \usepackage{newtxtext} \usepackage{newtxmath} \begin{document} \[ Y_{\alpha\beta}=\left\{\eta\coloneq\eta(x,t) \...
2
votes
0answers
26 views

Not usual vertical alignment between \partial symbol and command \frac

Starting from this MWE: \documentclass[a4paper,12pt]{article} \usepackage{mathtools,amssymb} \usepackage{newtxtext} \usepackage[lite]{mtpro2} %%%%%%%%%%%%%%%%%%%%%% New \partial \DeclareFontFamily{U}{...
0
votes
2answers
60 views

How to make the integral sign smaller?

Is it possible to make the integral sign smaller? I found that in the Display Mode the integral sign seems automatically longer. But I am in a context where smaller integral sign would be preferred. ...
2
votes
2answers
87 views

How can I align this equation in latex?

How can Ii handle this equation to prevent it to out from the page I wrote it in latex as form \begin{eqnarray*} g^{\prime}(x)=\frac{(27+520x^2+560x^4)((14555+1012\sqrt{205})\log(-65+4\sqrt{205}-...
0
votes
0answers
15 views

Beamer: Subscript in equation mode are larger

When I try to change the type size in beamer class I just type: scriptsize, footnotesize, small, normalsize, large, Large, huge in the beginning of the frame. But in math environment, I see that the ...
0
votes
1answer
23 views

Disabling alignment in breqn

I use the breqn package and its dmath environment for multi-line equations so that I can have brackets across multi-line equations - eg a \left[ on one line, and a matching \right] on the next. By ...
0
votes
2answers
35 views

How to generate two rows of indices for a set

Let x_n be a number that depends on n that ranges from 1 to N Then the set of numbers x_n is usually compactly represented as {x_n}_{n = 1}^N or {x_n}_{n = 1, \ldots, N} Now consider the following: ...
2
votes
1answer
56 views

Latex for even and odd signals

My text uses a different font to represent higher order functions that give the even and odd parts of a function. How do I write these in Latex?
0
votes
0answers
74 views

Does anyone know this math font? [duplicate]

new to this forum. Does anyone know what math font this is and how I can use it/if it's available free? It's from "An Introduction to the Theory of Mechanism Design" by Tilman Börgers (this clip from ...
1
vote
3answers
32 views

how to adjust vertical line distance in tabular form using math mode

in my code, the vertical distance is too low and formulas seem to converge. How I can avoid this? \begin{table}[h] \captionsetup{singlelinecheck = false, justification=justified} \caption{Seçilmiş ...
1
vote
1answer
78 views

Proper kerning of \{f\} \sigma_0 in TeX Gyre Termes Math

Continuing https://chat.stackexchange.com/rooms/97632/discussion-between-marcel-kruger-and-mdayq6, running lualatex on \documentclass{article} \usepackage{fontspec} \usepackage{unicode-math} % \...
3
votes
1answer
85 views

Replace backtick ` with power ^ in math mode

I'd like to declare the backtick symbol ` to be the math operation power ^, so that by writing \documentclass{article} \usepackage{amsmath} % \DeclareMathSymbol{`}{\mathbin}{symbols}{^} \begin{...
3
votes
1answer
57 views

How to get \backprime if the main math font is Cambria Math?

Running xelatex on \documentclass{standalone} \usepackage{unicode-math} \setmathfont{CambriaMath.ttf} %\setmathfont[Ligatures=TeX,range={\backprime}]{TeX Gyre Termes Math} %\setmathfont[Ligatures=TeX,...
0
votes
0answers
41 views

Text line contains an invalid character

I am having a problem with tex studio. the data on the editor is suddenly disappeared and there is an error of invalid characters. I don't know how to fix it because I can not see anything on the ...
4
votes
3answers
100 views

Tabularx with \hline and overrightarrow vertical spacing

I use a \overrightarrow in my tabularx table with \hline. Howover, the vector arrow is mixed with the line. Is there a good way to fix this error other than manually putting spacing ? \documentclass{...
0
votes
0answers
11 views

Include unicode text under square root symbol [duplicate]

How can I get unicode text to appear under the square-root symbol? \documentclass{article} \usepackage{fontspec} \newfontfamily\myfont[Script=Devanagari,Scale=1.0]{Sanskrit 2003} \begin{document} ...
0
votes
0answers
70 views

How to make LaTeX work in Microsoft OfficeMath [closed]

Starting from Microsoft Office 2016, company has made some significant progress on using LateX in their OfficeMath functionality. Company claims that users can use LaTeX to type Math equations inMath ...
5
votes
1answer
105 views

Perfecting the product integral (integral sign with loop at the top)

I want to use this symbol for the product integral: Perhaps with a bigger loop, too. What's the best way of building this notation? I got it to work for just the integral sign itself. \usepackage{...
3
votes
1answer
45 views

Cancel package enhancement

How difficult is it to enhance (=copy the code of the package in my project and adapt it) the Cancel package, Cancel package, with a command \cancelno{〈label〉}{〈expression〉} such that a slash is put ...
0
votes
0answers
24 views

`\iffmode` fails for first token in matrix cells [duplicate]

\iffmode seems to fail for the first token in every matrix cell. Here is a minimal working example. \documentclass[margin=5mm]{standalone} \usepackage{mathtools} \newcommand{\foo}{% \ifmmode A% ...
6
votes
2answers
100 views

Upside down reversion for a Greek letter

How do I type in LaTeX a Greek letter, say \Omega reflected along baseline? I might have included a picture for what I mean but it should be clear anyway. If not clear: I want to type a Greek letter ...
0
votes
0answers
57 views

Difference between \square{} and \square

im trying to add a square to my latex document. I'm trying to do this using the $ \square $ command. However in my latex document i get the error. Missing } inserted If i type $ \square{} $, ...
1
vote
1answer
35 views

Why fleqn option lead to line number disappears for paragraph followed by equation?

When I use fleqn equation for amsmath package, I found that the paragraphs followed by equation is not numbered by lineno package. An example is \documentclass{article} \usepackage[fleqn]{amsmath} \...
5
votes
1answer
77 views

How can I make an ellipse above a letter in math mode?

In Jancewicz's 1980 paper Electromagnetism using Bivectors, he introduces a new notation for bivectors: a letter with an ellipse above it, by analogy to the traditional arrow for straight vectors. ...
5
votes
3answers
551 views

How to use Palatino font for text and what about maths?

I would like to use Zapf's Palatino font for the text in my document, which also includes a lot of maths. And I would like a good font for the maths. This is a snapshot of what I am doing. \...
6
votes
1answer
76 views

Perpendicular symbol with litle square

How can I insert this symbol in math environment? \Thanks
1
vote
0answers
22 views

Sum indices besides the sign in math mode? [duplicate]

How can I get the indices of a sum sign to appear besides the sum in math mode? I know that this is default for inline mode, how can I set this for math mode locally (preferably w/o additional ...
1
vote
1answer
67 views

Macros to make [ ] and ( ) automatically have \mleft and \mright

Since I'm writing a document with thousands of brackets of all kinds, manually sizing all the brackets or manually add \mleft and \mright every time will be need a lot of time in the end. Moreover, I ...
2
votes
1answer
49 views

Vertical space before and after equations

The vertical space before and after equation (1) is greater than the vertical space before and after equation (2). Which is the rule/reason for that? \documentclass{book} \usepackage{amsmath,...
4
votes
4answers
408 views

Cases with long math equation

What would be the best formatting of the following align and cases where the middle case has a very long math equation? \begin{align*} V_{ijk}& = \begin{cases} \dfrac{y_u+y_l}2 - \...
4
votes
4answers
104 views

How to reduce space between $n\equiv 1\pmod{4}$

I ran the following code and got the following huge space when using \pmod function. It is looking odd in the paper. Could anyone suggest how to reduce space? \begin{eqnarray*} MSC(C_n^2) &=&...
1
vote
0answers
24 views

Which font style is this M? [duplicate]

Does anyone know which font style is this M in the picture? It looks like to be \mathcal{} but without italic. If anyone knows the command to get this font style in the math mode, please tell me. ...
1
vote
1answer
28 views

Algorithm errors and bad math environment delimiter

I'm struggling a lot in writing the pseudo-codes in latex. Please review below two algorithms. In the document, the algorithms do look good apart from the highlighted part in the picture. \begin{...
0
votes
0answers
52 views

how can i write Arabic Mathematical Symbols by LaTex?

how can i write Arabic mathematical symbols within Arabic text by LaTex? For example, Integral, square root and derivative symbols from right to left as follow:
2
votes
1answer
40 views

Some spaces not showing when displaying units

When I use the following expression: p_{2}=\dfrac {0,75\cdot 10^{5} Pa \cdot 0,12 m^{3}}{0,06 m^{3}}=1,5\cdot 10^{5} Pa It displays as follows: Looks like Pa is separated from the quantity, while m^...
2
votes
1answer
35 views

[vecarrow]{svmono} fails

The documentation of svmono v5.6 from http://www.springer.com/gp/authors-editors/book-authors-editors/resources-guidelines/rights-permissions-licensing/manuscript-preparation/5636 says in refguide.pdf:...
4
votes
3answers
190 views

How to write “upright” integrals with automatic sizing

I've been trying to make the integral symbol "upright", meaning I want it not to be slanted, as in Born's Principles of Optics 7th edition. I've tried the \varint of the wasysym package, but it ...
0
votes
0answers
24 views

What Greek Letter is this? [image] [duplicate]

I don't see it on here: https://www.overleaf.com/learn/latex/List_of_Greek_letters_and_math_symbols Edit: Body must be at least 30 characters
3
votes
2answers
85 views

Contractions using {simplewick}

Hi I need the syntax for a wick contraction under a number that goes to infinity. Essentially the sum going over all contractions. The right side of the contraction doesn't have an end essentially. ...
0
votes
0answers
39 views

Vector of 12 elements in a rectangular block on a flowchart (Continue of…)

Continue of: Vector of 12 elements in a rectangular block on a flowchart Additional questions, the answers to which I did not find in the manual: How to insert a function graph into a flow chart (...
0
votes
0answers
28 views

Overfull error in math mode?

Could someone explain this overfull error to me? \documentclass[a4paper,12pt]{extarticle} \usepackage[utf8]{inputenc} \usepackage{amsthm} \usepackage{amsmath} \usepackage{amssymb} \newtheorem{...
0
votes
1answer
66 views

How to put $f(x)=\begin{cases}1, &|x| \le 1,\\ 0, &|x|>1. \end{cases}$ into content?

\documentclass[18pt,a4paper]{article} ... \tableofcontents ... \subsection{$f(x)=\begin{cases}1, &|x| \le 1,\\ 0, &|x|>1. \end{cases}$} I compile it, TeXstudio gives me an error: "...
1
vote
1answer
37 views

How to reduce the equation font size in math mode in Latex?

I am trying to resize the equation font size in math mode: As This answer suggested : \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \newcommand*{\Scale}[2][4]{\scalebox{#1}{$#2$...
1
vote
1answer
58 views

Equation numbering with the same number of digits?

I'm writing a document with more than 10 equations per section. The ams align environment is numbering them as: 1.1, 1.2, ..., 1.9, 1.10, 1.11, ... Instead I would like the equations to be numbered ...
-1
votes
1answer
47 views

Make easier to use $\C$ for complex numbers: clashes with T2A, mismath, and babel

My strong preference is to use $\C$ to denote the set of complex numbers, just as I use $\R$ to denote the real numbers — whether with \mathbb or \mathbf. Several other packages use their own ...
2
votes
0answers
43 views

Why do lmodern and textcomp inhibit display style?

MWE 1 The following MWE is doing what I want: \documentclass[b4paper,14pt,english,twoside]{memoir} \usepackage[english]{babel} \usepackage[utf8x]{inputenc} % For French accents \usepackage[T1]{...
6
votes
2answers
110 views

Define tcolorbox in math mode

Since in my document I have to write a lot of math in colored box, I'd like to avoid to write $ inside every box. Is there a way to define newtcbox in math mode? I tried with \newtcbox{\mywbox}[1]{&...
0
votes
1answer
46 views

How to reorder content in of autogenerated list of equations

I am creating a combined Notesheet/ formula sheet for one of my courses. I found this: Automatically list all equations from document This is almost exactly what I want to do, however I want to ...