{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
0answers
12 views

String comparisons not working with textgreek

Following the solution from this question as a guide - Are there any "if" commands like "\ifnum" in LaTeX? - I have setup a newcommand to perform a string comparison. ...
2
votes
1answer
47 views

Beginner: Problem with formatting

\documentclass{article} \begin{document} 1.The sequence \{a_n\} verconges to a if for all \epsilon > 0 \end{document}^ Output: 1.The sequence {a n }vercongestoaifforall? > 0 I don't know ...
2
votes
1answer
37 views

“undefined control sequence” error with curly brackets

I'm writing a math equation inside which I have to express curly brackets. What I intend to write should look like {h_n}^infinity_0 My code is: \par The problem asks for estimates of the sizes ...
0
votes
2answers
70 views

Redefining math symbols like \eta (with ensuremath)

An easy one: I would like to define a shortcut so that I can write \eta without having to enclose it in $\eta$. However, the naive approach will not work: \documentclass{article} ...
4
votes
2answers
43 views

esdiff package for easily writing derivatives cannot handle subscripts properly?

Here's a MnWE: \documentclass[12pt,letterpaper]{article} \usepackage{lmodern} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage{esdiff} \begin{document} $\diffp{V}{c_i}$ \end{document} ...
2
votes
1answer
29 views

Hypothesis listing environment for mathematics paper

The problem: I'm trying to find an appropriate environment for the listing of hypotheses near the beginning of a mathematics research paper. The hypotheses themselves are mostly text, interspersed ...
2
votes
1answer
95 views

Syntax of Using Math Mode: Empty Lines (Beginner Question)

I'm just starting to learn LaTeX. I tried typing \begin{equation*} (sample of different operators and symbols separated with \,) \end{equation*} and I got a whole bunch of errors. It seems LaTeX ...
0
votes
1answer
36 views

Pagebreaking in longtable with math column

I'm trying to write some step-by-step math proof of a formula in my electronics notes. The idea is to have two columns (side by side), the 1st has some text explaining the math, the 2nd one has the ...
7
votes
3answers
126 views

Typing of math sign charts

For typing of quantities of solving mathematical problems I would like to type signs charts (diagrams to visualize the values of expressions). Something like this: x-5 - | - | + x+4 ...
4
votes
2answers
78 views

Math mode in document title

The title of the LaTeX document I'm writing has some math-mode expressions. However, its font type does not match that in the rest of words, which are not in math-mode. Example: ...
2
votes
2answers
51 views

Bicolored font (main color and background)

I want to write some text on tikzpicture with bi-colored font: each character will be display in main color but each character will be doubled (like bold) with an other color. The result I want to ...
1
vote
1answer
17 views

argmin doesn't work in algorithmic table [duplicate]

I'm using \DeclareMathOperator*{\argmin}{argmin} for getting the argmin parameter. Every thing is Ok expect if I type it inside algorithmic table, it fails to show the correct output. In the below ...
5
votes
2answers
106 views

\limits and \biggl\lparen

When I type \biggl\lparen before \int\limits, where \limits puts the domain over which I'm integrating under the integral sign, the bottom end of the left parenthesis touch — or is too close to — the ...
3
votes
2answers
148 views

Bolding Math Acronyms

I need to have the math acronyms bolded as the normal string acronyms. Here is the example: \documentclass{article} \usepackage{hyperref} \usepackage[printonlyused]{acronym} \makeglossary ...
0
votes
0answers
22 views

Bold math symbols in ieeetran

I'd like to get bold math symbols in an IEEE conference paper. It uses the mathptmxpackage, which seems to not contain bold math symbols. Is there a possibility to get proper bold symbols without ...
2
votes
2answers
46 views

How to make italic greek letter \lambda

I need italic and non-italic \lambda in the same document. Since the \mathit{\lambda} does not work, I got idea to simulate italic by changing fonts (Times New Roman for italic lambda, and Latin ...
1
vote
1answer
52 views

Latex removes whitespaces

Hello I have a problem with whitespaces. I don't know why but they are removed as you can see in the image. Does anybody know why? thank you! Here is the log: Missing $ inserted. <inserted ...
5
votes
1answer
123 views

What does mathchar do?

The package cmll defines \with (looks like '&') as $ texdef -t latex -p cmll with \with: \mathchar"2026 \the\with: 8230 When I take a look at \& it is defined as texdef -t latex \& ...
0
votes
1answer
34 views

symbol mu with specific format [duplicate]

look at symbol in the first line as you seen that symbol I think it's mu symbol how I can't show this symbol using latex
7
votes
7answers
669 views

How can I typeset this correspondence in LaTeX?

I am looking to create a "table" or something similar in LaTeX where I show correspondence/mapping between a natural number and some other natural number, as indicated in the picture below (please ...
0
votes
0answers
21 views

Package asmath Error: Erroneous nesting of equation structures [closed]

I have the following code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} \usepackage[fixamsmath,disallowspaces]{mathtools} \begin{document} ...
1
vote
1answer
32 views

Longstep arrow in formula

I want to include this kind of an arrow with a label above it. I vaguely remember it being called longstep in latex. I am unable to find any packages that have such an arrow. Can anyone help?
5
votes
1answer
77 views

Math comma issue with babel and MinionPro/MinionMath: typeset as an inverted E

The following code typesets an inverted E instead of the math comma on my system (texlive 2014, OSX) \documentclass{book} \usepackage[T1]{fontenc} \usepackage[onlytext]{MinionPro} ...
2
votes
2answers
41 views

Alignment in function definitions

I have the following code for the definition of a function \begin{align*} \varphi_{\sigma}\colon &E \longrightarrow E \\ &(x_{1},x_{2},...,x_{n}) \longmapsto ...
0
votes
1answer
38 views

How to tex this symbol? [duplicate]

I am wondering how to type those kinds of symbols in LATEX. Please help me. Thank you very much!
3
votes
1answer
32 views

Error: \item is invalid in math mode

I would like to put a vertical bar in my regex expression but I keep getting an error when I put in \mid. Can you help? \item \textbf{Give a regular expression for the language accepted by the ...
4
votes
2answers
45 views

Using \not command with custom-made ones

Task is simple. I have a command (alias of sort of a complex expression. I'm using frequently), and sometimes I'd like to put \neq instead of \eq. I can simply add third arg with default value, but ...
5
votes
1answer
168 views

Expectation Operator

I use the following command to typeset E[A|B] \documentclass{article} \usepackage{mathtools} \DeclareMathOperator{\ExpOp}{E} \DeclarePairedDelimiterX{\ExpArg}[1]{[}{]}{#1} ...
0
votes
1answer
34 views

How do I encircle text? Like make a circle around it? [closed]

I would like to know how make a circle and then insert text. There has to be a way.. right?
4
votes
1answer
47 views

LaTeX Math Mode in algorithmic environment

The following code works fine: \documentclass{article} \usepackage{algpseudocode,amsmath} \begin{document} \begin{algorithmic}[1] \State \Call{MergeSort}{$T(1,\dotsc,n)$} \end{algorithmic} ...
2
votes
0answers
62 views

General matrices

I want to use LaTeX to add matrix that looks like this: -----L_1----- -----L_2----- . . . . . . . ----L_n----- and matrices where I want to show how a general cell in the matrix looks like (for ...
1
vote
2answers
64 views

How to deal with very long formulas

I have a very long formula that does not fit in the page. What should I do? Here is the code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} ...
3
votes
1answer
58 views

Changing math font in Classicthesis

I'm using the popular Classicthesis template for my thesis. I like almost everything of this template apart from the math font (it should be the one loaded with Mathpazo) and since I have to write ...
5
votes
3answers
99 views

I would like bigger parentheses in \pmod

I would like to say a congruence holds modulo a fairly large expression, THING, to be enclosed parenthetically. \left( \mod{THING}\right) seems to result in a large space between the open paren ...
9
votes
2answers
133 views

How to globally put subscripts in math-mode in upright font using amsmath?

I'm often apply the subscript environment in math-mode to assign e.g. materials to material properties, $\eta_{oil}$, $\lambda_{air}$, etc. Not very mathematical but hey, I'm an engineer ;-) I'm ...
1
vote
2answers
78 views

Piecewise-defined functions

I'm trying to write these four piecewise-defined functions. I wrote this code: \begin{equation} \theta = \begin{cases} \theta r + Se \left( \theta s - \theta r \right) & Hp < 0 \\ ...
3
votes
3answers
211 views

How to put a character inside a square

In a math formula, is there a way to put a number inside a square, as a decoration? I.e., instead of $\bar{1}$ or $\widehat{1}$ I would like to write something like $\insquare{1}$ and have the “1” ...
1
vote
1answer
264 views

How do I get rid of italicized letters when using $$?

Let's say I want to type: Hi, my name is {Mika} When I use $$ on both sides: $$ Hi, my name is {Mika} $$ It would be italicize and the brackets {} would go away. How can I prevent that?
1
vote
1answer
34 views

Scaling the mtpro2 fonts to work with Baskerville

I'm using the MathTime Professional II (mtpro2) fonts with the Monotype Baskerville family. The font used for math letters in mtpro2 is Times New Roman Italic, and this can look quite good when ...
2
votes
1answer
43 views

Unnecessary vspace for align/equation when it's first on page

I'm using the align environment and now I have the problem that one of my formulas is the first object on a page with some vspace before it. But this looks a bit odd, because it isn't in line with the ...
1
vote
1answer
29 views

\text{} error in mathmode

When I compile the following code: \subsection{Force} A force accelerates that standard body by exactly $ 1 \text{ m/s^2 } $ is defined to have a magnitude of $ 1 \text(N) $ The direction of a ...
0
votes
0answers
25 views

Modify/Remove italic correction in math [duplicate]

Is there any way to modify or remove the italic correction in all math environments globally? I don't like the uneven spacing it causes when there are multiple variables multiplied together or ...
3
votes
1answer
46 views

Latex \binom with other types of brackets

I want to write (in math mode) \binom{a}{b} with square brackets [ I know that {a\brack b} exists for this, but somehow it doesn't work with me. Is there another way to generate what I want?
2
votes
1answer
40 views

Strange characters appearing with alpha and beta [closed]

I used a python regex file to edit a section of LaTex that contained alpha and beta. Here it is: Jacobi & $\JacobiP{\alpha}{\beta}{n}@{x}$ \MarkDefn[P z 3 - ...
1
vote
1answer
52 views

Derivatives are sized differently with commath

I'm writing a derivation in an upper level physics class and I use derivatives extensively. I'm using the commath package \od{}{} command and they are being sized differently in different places. ...
4
votes
1answer
105 views

Alphabet w and little omega: A better way to distinguish?

I am working on a paper where I use lowercase "w" and the lower case Greek letter omega a lot. The rendering of both of these alphabets is very similar, and causes much confusion to the reader. Is ...
1
vote
0answers
20 views

\floatfoot and equations

I am using \floatfoot to creates notes for a figure in a paper. I would like to include an equation in the notes for this figure. Specifically, I am trying to use the following code: ...
1
vote
0answers
37 views

How to centre underaccent under letter?

Here's the M(not)WE: \documentclass{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{accents} \renewcommand{\vec}[1]{\ensuremath{\mathbf{#1}}} ...
3
votes
2answers
37 views

Flush Text to the Left in an Unaligned Centered Equation

I am looking for a way to write several centered equations with a left-aligned text on each line. In other words, I would like to mix the functionality of flalign with gather (so the first column ...
0
votes
0answers
40 views

How to typeset a math proof in beamer that displays line by line

I'd like to display a step-by-step proof of a mathematics result. I want to have steps following other steps inside amsmath's align environment, except I want to \pause the slide after each line in ...