{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)

2
votes
1answer
36 views

Eulervm: Use digits from other font

Is there a ways to the digits from another font for math? Ideally I would like to use ebgaramond as a main font and the old style figures form MinionPro for math since the old style digit 1 of ...
6
votes
2answers
291 views

How to control the size of math symbols in an equation?

I've been struggling with this task for some time now. Basically I want to make this: Into something like this: I've tried \mathlarger from relsize package, but it simply didn't work (no effect ...
1
vote
1answer
46 views

Create an automatically command for: $\Rightarrow$

Is it possible to create a quick command for $\Rightarrow$, because when I write a math paper I use often this: $\Rightarrow$. I know that the simple command \Rightarrow it can be shortcuted, but $\...
3
votes
0answers
254 views

\bigg is not working for left parenthesis [closed]

\documentclass[11pt]{article} \usepackage{xfrac, array, tabu, multirow, graphicx, setspace, dcolumn, tikz} \usepackage[fleqn]{mathtools} %the argument for d specifies the maximum number of decimal ...
1
vote
0answers
45 views

Curious missing $ inserted?

I have no reason to doubt why the following is not working: function reaches unity at $ \theta \sim 3 \deg $ extending with weaker correlations at $ \theta \sim 25 \deg $. It throws the cliched ...
2
votes
2answers
38 views

How to ensure that content within a column vector do not touch? [duplicate]

I have some variables defined in a column vector written in mathmode in the usual way $\begin{bmatrix} \dfrac{1}{i} \\ \dfrac{1}{j} \end{bmatrix}$ However, the result shows that they are almost ...
2
votes
1answer
81 views

Using Times New Roman

\documentclass[11pt,twoside]{book} \usepackage{array,tabularx} \usepackage[ngerman,american]{babel} \usepackage{amsthm,amssymb,mathptmx} \begin{document} \begin{equation} R_{...
5
votes
1answer
214 views

How can I get a “divide by” symbol with \usepackage{physics}?

I usually use \div to generate a divide-by symbol, but when using the physics package, \div gives a nabla followed by a dot ("period") instead.
1
vote
1answer
56 views

Get rid of useless space between a symbol and a following superscript \top

Let us assume that in all fonts you are using the transpose operator ⊤ has form similar to the Latin letter T in Computer Modern. How on earth do I move ⊤ to the left, and, if necessary, down, ...
5
votes
1answer
179 views

Identify meaning of a TeX string

I'm trying to identify the meaning of some TeX symbols. I don't work with it or anything, it just cropped up online and I was wondering if anybody could shed any light on it. \ddot{x} + \delta \dot{...
9
votes
2answers
181 views

How do I get mathbf by default?

I am presenting a paper (not mine) in which almost all math symbols are in \mathbf. I know I can put \boldmath in the preamble but it does not typesets it as the regular \mathbf does (upright). So, ...
7
votes
2answers
257 views

Arbitrary \left \right delimiters

Is there a package that would allow me to use other symbols/any symbol apart from the (among others) usual delimiters () [] {} | with \left and \right? For example, \(\left\int f(x) dx \right.\) ...
1
vote
1answer
50 views

The Complier is inserting $ when i just want it as it is

! Missing $ inserted. <inserted text> $ l.434 \item "\backslash S" ? I received this error message when i ran pdflatex command in cmd.exe I want ...
10
votes
3answers
1k views

Inline math or \textit for author defined math constants?

Wondering if people here have a thought on what the best practice is here (if it matters). I used to use baskerville (well, the baskervald package) as my main font and charter as my math font (since ...
2
votes
2answers
100 views

Why when I use \hat it does not work?

Source code \documentclass[a4paper,twoside]{article} \usepackage{upquote} \usepackage{pgfkeys} \usepackage{graphicx} \usepackage{listings} \usepackage{courier} \usepackage{caption} \...
2
votes
0answers
58 views

Is there a more typographically-satisfying bigints package?

I found the bigints package but as its documentation shows, the symbol is simply scaled up in size which leads to a much thicker stroke: Is there a package that deals with this properly, or failing ...
22
votes
2answers
12k views

Is there an “underscript” command?

Is there a way to do underscripts? By "underscript" I mean a small font underneath the text object like limits or sums have. I don't want it to behave like a math operator though, where it is typeset ...
0
votes
0answers
59 views

Large space between fraction bar and numerator containing \sum with subscript in display style

EDIT: I updated the picture to highlight what I meant. Notice the extra space between the two red lines in the left-most fraction. I'm not sure if that extra space was reserved for letters with a ...
0
votes
0answers
33 views

Underbracing an equation with tikz in a sub document, which is thereafter included in a main document

Notice, that for the following I have a master (.tex) document which includes the several parts/chapters (.tex). In one of the included chapters, I have an equation (with a square root) that I need ...
4
votes
2answers
100 views

Overlapping over/underbrace

I wanted to do something like this: How to have overlapping under-braces and over-braces The example given is really great, so I tried it on my own: what I was hoping to achieve is to represent a ...
2
votes
1answer
32 views

An error using \mathit

A command is defined in the preamble to typeset the arc symbol over a pair of letters or a triple of letters. WinEdt compiles $\arc{AB}$ but not $\arc{\mathit{AB}}$. \documentclass{amsart} \...
2
votes
2answers
52 views

Math mode in table headers (tabularx)

I am editing a document, using a custom class. The author has numbers with a bar over them in a table header, e.g. $0.58\bar3$. However, when I try to compile it I get the following errors: ! Package ...
6
votes
1answer
76 views

How to automatically remove additional space introduced by primes of left superscripts?

I need to use left superscripts. I know that there are packages as mathtools, tensor and leftidx. But they all suffer from the same typographical problem. If I typeset a left superscript and this ...
2
votes
1answer
25 views

Not A Member sign in math mode in algorithm2e

For the below algorithm, i get the erorr ! Extra }, or forgotten $. \egroup l.759 } I think having another prantes in the if condition is also another problem, that I do not know how to cope with. ...
1
vote
0answers
63 views

The palatino font does not allow for the mathtypesetting

I use TeXlive with TeXMaker on a Debian system. The palatino font does not allow for the mathematics type setting. Here is a minimal example. \documentclass{article} \usepackage{mathpazo} % Use the ...
2
votes
2answers
31 views

How to define the symbol ¡ in math mode so that it behaves as expected

OK, I know that the text symbol ¡ can be written as !` but I need ¡ as a math symbol. If I write \text{!`} or \mbox{!`} then the symbol becomes italic in theorems and places where text, ...
201
votes
10answers
337k views

How can I get bold math symbols?

To make Latin-letter variables bold I can use e.g. \mathbf{a}, but while putting Greek letters or symbols such as \nabla inside \mathbf doesn't cause any errors or warnings, it also doesn't do ...
2
votes
0answers
97 views

Beamer presentation

I am trying to create a beamer presentation on TeXMaker and the problem that I'm having is that if I try to insert any type of equation into the presentation or just anything requiring $$, for example ...
1
vote
1answer
29 views

Conflict between breqn and \dashint

If I use the following code to get an average integral \documentclass{article} \usepackage{scalerel} \usepackage[usestackEOL]{stackengine} \def\dashint{\,\ThisStyle{\ensurestackMath{% \...
2
votes
1answer
48 views

How can I get an lower-case “L” with a hooked tail [duplicate]

I'm marking up some text that includes "l" as a vector, so I'd like to be able to use a bold font. \mathbf{l} gives a straight up-and-down kind of l which looks like a 1 (one) or an I (capital "i"): ...
2
votes
1answer
48 views

Resize or scale displaymath environment

I would like to resize the two schemes I made with the displaymath environment. However, I cannot find anything helpful. I'd like to fit both schemes into one page. My code is the following: \...
1
vote
1answer
28 views

Multiple lines of centered text in between curly brackets

I would like to have several blocks of centered text and math within pairs of tall curly brackets, linked by arrows, similar to the following picture. How can I achieve this?
12
votes
4answers
4k views

How to elongate down arrow?

\downarrow command is available in directory but it has fixed length. How can I elongate its length?
0
votes
0answers
16 views

Prevent gather* from creating new line [duplicate]

I've been trying to use the gather* environment for non-aligned centered equations within enumerate but I would like to prevent the new line that gather* inserts at the beginning of each item. Is ...
1
vote
1answer
22 views

Vertical spaces between lines in cases environment [duplicate]

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} X_i = \begin{cases} \left[\begin{smallmatrix} 0 \\ 1 \\ 2 \end{smallmatrix}\right] & \...
0
votes
1answer
37 views

Alignment for equality sign

I solved a question and I wrote it in Latex, but the equality sign is not aligned, I searched google, but none of the ways there worked with me. How do I get the equality signs aligned in the below? ...
4
votes
3answers
398 views

Write Equations side by side

My Code: \documentclass[12pt,a4paper]{article} \usepackage[a4paper,vmargin=0.7in,hmargin=0.7in]{geometry} \usepackage[utf8]{inputenc} \usepackage[misc]{ifsym} \usepackage{amsmath,amsfonts,amssymb} \...
1
vote
1answer
153 views

Adding equation with text

I am trying to add an equation in the line and it changes the formatting of text written after that like this. It makes quadratic equation which is ax^2 \pm bx \pm c .\\ then by eliminating the ...
0
votes
0answers
28 views

How can I get space between my integral expression and du? They always look crammed together [duplicate]

How do I get a space between my integral expression shown here and the du expression? When I compile this or any other similar expression the du is right next to the parenthetical or radicand or ...
29
votes
6answers
827 views

How could LaTeX replace the tokens <= by the command \leq?

How could LaTeX replace the tokens <= by the command \leq efficiently? Example 1: I have this code: \[ 2x <= 4x - 2 \] And I want to get after the compilation this: Example 2: \[ ...
1
vote
1answer
60 views

How to place qed symbol at the end of an equation using eqnarray* enviroment

I am having trouble getting the qed symbol at the end of my equation, the symbol ends up on the next line. I have tried using the \qedhere command, but that doesn't work in the eqnarray* environment. ...
4
votes
3answers
280 views

I want to typeset following matrix in LaTeX

I have a problem with following matrix. Actually I can't put this matrix in LaTeX.
12
votes
2answers
8k views

LaTeX in CorelDRAW

What is a good way to get LaTeX formulas into CorelDRAW figures? I will provide a solution below, based on a rather old macro adapted to work on 64 bit systems as well as 32 bit - it works well, but ...
1
vote
1answer
37 views

Poster in tikzposter not compiling

I am right now in the process of writing a poster in tikzposter but am having problems with LaTex. At times it ignores the errors (I do not understand how they arise) and compiles but by now it just ...
0
votes
0answers
23 views

How to draw bend arrows between the terms of the brackets [duplicate]

MWE \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{makeidx} \begin{document} \Large \begin{eqnarray*} (...
9
votes
3answers
6k views

Writing (mixed) tensors

Does anybody know about a specific package for handling tensors? Consider, for example, a contraction of the type $g^{\alpha\beta}g^{\gamma\delta}R_{\alpha\mu\gamma\nu}=R^{\beta\;delta}_{\;\mu\;\nu}$...
2
votes
3answers
110 views

How to hide equation number with using align

I wrote the following to print a mathematical equation, but I do not need the number of equation to be appeared: \documentclass[conference]{IEEEtran} \usepackage{amsmath} \begin{document} \begin{...
1
vote
1answer
50 views

How to fit a math equation to the line width

I used the following two equations to implement a branch function: \documentclass[conference]{IEEEtran} \usepackage{amsmath} \newcommand{\NC}{\mathrm{NC}} \begin{document} In Case A, \\ ...
1
vote
1answer
34 views

How to write a branch function correctly

I tried to write a branch function as follows: $Pr{NC|\alpha}=$ \[ \left\{ \begin{array}{ll} (1-p)^{n-1}(1-p+p(\alpha + \beta)^{2})^{n-1} & 0\leq x \leq \beta \\ (1-p)^{n-1}(1-p+4p\...
1
vote
1answer
43 views

Contradiction symbol “upside-down T” [duplicate]

I am looking for a Latex command to print the mathematical contradiction symbol, which is the upside-down T.