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

4
votes
1answer
24 views

Polyglossia, french, decimal separator mistake in math mode

There is a problem with a misplaced space using Polyglossia and french in math mode using decimal separator. \documentclass{beamer} \usepackage{polyglossia} \setdefaultlanguage{french} ...
5
votes
2answers
92 views

missing $ error when creating a table

I am going to create a table using the following commands. I use the xepersian package. \begin{latin} \begin{table}[h!] \centering \begin{tabular}{|c c c|} \hline p & q & \varphi_q^p(x)\\ ...
3
votes
2answers
83 views

Underbraces in Young diagrams

I need to note the number of spaces between two blocks on different rows of a Cherednik diagram. I have tried \young(\underbrace{:::}_text{k}\hfill,\hfill) but it doesn't like this and just calls ...
2
votes
1answer
66 views

How to label equations from this question?

First, please change name of this question (I didn't know how to name this question in appropriate way). In this my recently asked question I asked how to align some centered equations. Now, I ...
2
votes
1answer
38 views

How to flush left centered part in multline environment?

I would like to use multline environment, but in that way that centered part be left aligned. With multline centered part is centered, and I would like if we can somehow to aligned it to the left (but ...
3
votes
2answers
65 views

Two inline rotated text snippets

I want to achieve this (in math mode): blabla will be something like \foreach x, c1 and c2 \supset A, \subset B, and lalala the rest of the formula. What's the best way to achieve this? I'm ...
3
votes
1answer
79 views

Variant of $\leq$ (less or equal)-symbol

I am looking for a way to include a \leq that (to me) is less ugly. In the font I am using \leq simply produces a < with an underline, but in my handwriting the lower "arm" of the < would be ...
2
votes
0answers
35 views

Condition on text vs math symbol [duplicate]

I'd like to have a conditional macro that emboldens symbols, using different commands depending on whether the argument is a math symbol or text. Specifically, I'd like to use \bm for math symbols ...
1
vote
0answers
25 views

`h' float specifier changed to `ht' [duplicate]

When I add this text: The pdpotri routine computes the inverse of a real symmetric or complex Hermitian positive definite distributed matrix $sub(A) = A(ia:ia+n-1, ja:ja+n-1)$ using the Cholesky ...
2
votes
1answer
35 views

Typeset a factor in math mode (“A is 3.5x larger than B.”)

I want to express "A is $3.5x$ (3.5 times) larger than B." \documentclass{article} \begin{document} A is $3.5x$ / $3.5\times$ (3.5 times) larger than B. \end{document} If I understand correctly, ...
13
votes
2answers
364 views

Replace all instances of * with \cdot only in mathmode

As i understand the most accepted form to write the multiplication symbol in LaTeX in \cdot. However i have a rather large document already with * as the multiplication operator. I would like to ...
2
votes
2answers
37 views

Errors in arguments when renewing \mod with \mathchoice

Currently I am using the \mod command that comes with amsmath, and while I'm in general satisfied with it, I didn't like the way it handles spacing in text style. I tried to renew the \mod command as ...
1
vote
2answers
108 views

What kind of font is used in math mode of LaTeX?

For some reasons of compatibility and interactivity I need to create my own simple system for drawing the formulas. (So I need standard math sybols and something like \mathcal{N}.) Is there a way ...
3
votes
1answer
39 views

Aligning equations in 3 columns

I want to align two equations in 3 columns (so empty space in the middle). How do I align another equation in the next column with the empty space? \begin{align*} a&=144 & b&=51666 \\ ...
3
votes
1answer
37 views

Aligning two multiline equations [duplicate]

I searched a lot for this but couldn't find an answer. Say I have two equations that are 2 lines long each. I can align each equation at their equality sign using equation-aligned or gather-split, ...
0
votes
0answers
15 views

Theorem and lemma and proposition numberings with the numbers first [duplicate]

If one considers the following MWE one sees that theorems and lemmas have their number as a suffix: \documentclass[fleqn]{scrartcl} \setkomafont{disposition}{\normalfont\bfseries} ...
1
vote
0answers
59 views

How to get a photoshop font look like math mode in tex? [duplicate]

I want to make a figure in Mathematica, export it as a PDF, edit/label it in Photoshop, and then add it as a figure in a TeX document. I would really like to have the font in the figure closely match ...
3
votes
2answers
133 views

Change kerning for `f'` in math mode

I want to adjust the kerning between f' in math mode (and other pairs) across the entire document. I found http://tex.stackexchange.com/a/219881/54601, which is exactly what I want but for text mode, ...
2
votes
2answers
305 views

I'm trying to bold this set of code: $T^{-1}(x)$=$\frac{9}{5}$x+32

I'm in LaTex, and am trying to boldface this whole line of text: $T^{-1}(x)$=$\frac{9}{5}$x+32. However, when I use \textbf, it only boldfaces x+32. Any suggestions on how to boldface it all? ...
6
votes
2answers
252 views

Math content in forest

I'm trying to modify an example given in the forest manual. However, the template is setup in such a way that I'm not able to enter more "advanced" math contents, such as \nicefrac or \underset. In ...
8
votes
1answer
85 views

How can I add space before my unit vectors?

This is how I'm currently typesetting vectors: \documentclass{article} \newcommand{\ih}{\mathbf{i}} \newcommand{\jh}{\mathbf{j}} \newcommand{\kh}{\mathbf{k}} \begin{document} $1/z \ih + \jh - ...
2
votes
1answer
75 views

Thicker line for minus sign and plus sign

Most of the times the minus sign in my documents is so thin and so short that I have a hard time seeing it on a printed copy. Is there a way to alter the thickness of the line for the minus sign (and, ...
19
votes
1answer
444 views

Tips how to display multiple equations beautifully

I'm starting to write in Latex in a more professional way and I'm facing with the following problem: I want to display this long equation in the more easy reading way: So I think the best ...
5
votes
2answers
50 views

Mathematical multiple lines inside a parbox

I am getting multiple errors for missing } or missing $ inside a parbox with two lines, but I do not understand for the life of me why... I have put together a MWE replicating exactly what the problem ...
4
votes
1answer
84 views

Formatting a fractional exponent in display math

Typographically, what is the correct way to display a fractional exponent in display math mode? There was a post regarding inline math, but consider this example. \documentclass{article} ...
6
votes
1answer
190 views

e^{…} vs \exp(…) in display mode

In terms of readability as well as correct syntax, what is more preferred in mathematical equations: e^{...} or \exp(...) -- and why? For instance, e^{x^2/(4t)} or \exp(x^2/(4t)). The latter is ...
1
vote
0answers
30 views

Getting tex4ht to output all math “unprocessed” between html tags

I would like to use tex4ht to convert a LaTeX document to an electronic book format, but rather than MathJaX or MathML, I want all math-mode code to be dumped into the html output between identifying ...
2
votes
1answer
45 views

Problem in writing the equation: missing delimiter (.inserted)

\documentclass{article} \usepackage{...} %packages your code nees \begin{document} \begin{align} T\triangleq &\int_{0}^{\infty}\frac{\gamma^{k+m_2-1}{\rm ...
4
votes
2answers
106 views

Aligning multiple things under a limit

I'm using \lim_{\substack{n\to\infty\\t_n\to t}} to put two things under a limit. But ideally I'd like the arrows to be directly underneath each other. Can this be done? (Something on the lines ...
7
votes
2answers
122 views

Evenly spacing aligned matrices with different elements

I have 8 vectors that I display as bmatrix in an align environment as follows: But as you can see, the first vector is slightly thinner, making the rest unaligned aswell. How can I make the first ...
2
votes
0answers
59 views

Typesetting a pair of slash symbols to indicate parallel lines

To indicate that two lines - or line segments - I want to typeset two slash characters. I used $\overline{AB} \slash\slash \overline{CD}$. The space between the slash characters is too much, though. ...
3
votes
1answer
61 views

spacing in math equation latex+tikz

I am trying to control the size of math operators and at the same time the spacing between operators and operands using the following code. \setlength{\thinmuskip}{10mu} \setlength{\medmuskip}{2mu} ...
4
votes
1answer
59 views

Is it possible to set per-mode for math and displaymath environment separately in siunitx?

I would like to globally define the per-mode of siunitx for math environment and displaymath environment separately. Is this somehow possible? Here is a MWE: \documentclass{article} ...
5
votes
1answer
133 views

Right place for ddots

I've got a problem, when making a presentation with beamer. I want to use the fourier package for the fonts, and use the serif font in math mode. So that's an MWE: \documentclass{beamer} ...
0
votes
0answers
28 views

Explaining subscripts by means of bent arrows in math mode [duplicate]

How can I create something like this into a math equation? The aim is to describe the meaning of the two subscripts (i,j) with the text (sub1,sub2), respectively, by means of a simple and effective ...
6
votes
3answers
287 views

A macro for typesetting sequence with flexible starting index

How can I define a new command called \seq[StartIndex]{Base}{EndIndex} with the following functionalities \seq{a}{n} % -> a_1,a_2,\dots,a_n \seq[3]{a}{n} % -> a_3,a_4,\dots,a_n \seq[k]{a}{n} ...
11
votes
4answers
238 views

New command with two definitions [duplicate]

I want to define a new command that serves two slightly different purposes. Can I define a new command called \set such that it's definition is chosen according to the number of argument(s) is(are) ...
1
vote
1answer
84 views

Typesetting arrows above a pair of letters to indicate a line [duplicate]

How do I typeset a line segment, with arrowheads at each end, above a pair of letters to indicate a line? I know that $\overline{AB}$ can be used to typeset a line segment between points A and B. ...
1
vote
0answers
49 views

arrow in a diagram [closed]

in the following code that encodes a diagram: \xymatrix{a\ar[rr]^{\varphi\qquad}&\ar@{^{(}->}[d]&b\ar@{=}[r]&a\ar[rr]^\varphi&\ar[dd]&b \\ ...
2
votes
4answers
195 views

Fit an equation in a single column

I am using the following code but the result obtained is not setting in the space (left column of the page). I have it on my page but it is overlapping the text on the right column of the page. How ...
2
votes
1answer
63 views

Graphics equations: put text on top of equations

How I can make sometimes the arrow direction up and sometimes down in a one unique tex file (I want to have both of them in a Latex-tex)? Following program make arrow down. \documentclass{article} ...
3
votes
1answer
68 views

BibTeX problem with math symbols

I'm using BibTex for my bibliography, for citing I'm using google scholar. I'm mainly having problems with math symbols: for example, one of the references is: @incollection{deitmar2005schemes, ...
6
votes
1answer
71 views

Is it possible, in LuaTeX, to replace text from the input buffer but only inside math mode?

I am trying to create a Lua script that lets me replace all instances of -> inside my equations with \rightarrow. I found this answer that suggests a hack involving a process_input_buffer callback: ...
3
votes
1answer
62 views

vertical and horizontal line in a matrix

I want to create a bmatrix on the right \documentclass[10pt,a4paper]{article} \usepackage[english]{babel} \usepackage{amsmath} \begin{document} \begin{equation} \begin{bmatrix}[c|c] _B[T]_B ...
5
votes
2answers
99 views

flalign doesn't work in for me

I want to left justify my equations using flalign. However,it works in some places and doesn't in others. Below is a sample of my code \documentclass[12pt]{article} \usepackage{amsmath} ...
2
votes
2answers
150 views

how to write an equation with a special arrow and super and sub scripts

How do I generate something like this?I don't know how to generate such arrows and how to write above and below the arrow.
2
votes
1answer
36 views

Why does including brackets in a TikZ datavisualization label give me an error?

My questions concerns the following MWE: \documentclass{article} \usepackage{tikz} \usetikzlibrary{datavisualization} \usetikzlibrary{datavisualization.formats.functions} \begin{document} ...
6
votes
1answer
43 views

Odd (?) spacing for mapping notation

I recently wrote up an answer on MSE that involved the mapping f\colon\mathbb{R^+}\to\mathbb{R^+}; the output looked a little different to me, and thus I thought it could have something to do with ...
2
votes
1answer
37 views

How to write a greek letter as bold and not italic? [duplicate]

How to write the letter θ as bold and not italic? I have tried the following but it gives me the θ as italics and not bold: \textbf{$\theta$}
20
votes
1answer
229 views

LuaTeX: Wrong/missing italic correction in TeXLive 2015 vs 2014

Italic correction for OTF math fonts seems to be broken in LuaTeX in TL15. MWE: \documentclass{article} \usepackage{unicode-math} \setmathfont{Latin Modern Math} \begin{document} \begin{equation} ...