{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
3answers
221 views

Best approach to write an multiline equation

What is best way to let LaTeX formate a long equation such that it matches between the borderrs of a page? As an example I have the following expression: \documentclass{scrartcl} ...
2
votes
1answer
33 views

How to prevent inline math from entering the margins on the right?

I'm writing a document (double columned, if it matters), and it seems that while normal text wraps just fine to fit the structure, when I use inline math, it tends to violate the page margins. For ...
5
votes
3answers
89 views

Vertical bar with appropriate length

I have a scenario in which I need to create a vertical bar that its size is in the length of 3 rows. My code is: \begin{align*} \begin{cases} x = 2t + 1\\ y = t + 2\\ z = 3 \end{cases} & ...
5
votes
2answers
47 views

latex thorn sans serif symbol in math mode

I am studying theory at university, and the lecturer uses this symbol for elementary probability: I want to use it in math mode, but the best suggestions I got from ...
3
votes
1answer
86 views

Using \mathversion to circumvent the restriction of 16 math fonts of TeX

I need to use multiple math fonts to do typesetting . I understand that, with the current version of TeX, we can only have 16 math fonts for each mathversion and there is no way to change this ...
2
votes
2answers
71 views

How to write conditional equations with one-sided curly brackets in Mnemosyne?

I want to write conditional equations with one-sided curly brackets in Spaced Repetition software Mnemosyne. I have latex installed. I want an equation somewhat similar to the following
3
votes
1answer
28 views

placing subscript under \max in \frac

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \max_i\frac{1}{\max_i} \end{align} \end{document} results in i beeing placed as intended outside \frac, but not beeing ...
3
votes
1answer
77 views

How to make all math bold by default in LuaLaTeX

I would like to make all of my equations bold by default in a LuaLaTeX document that uses the lmodern math font. The answer to this question suggests using \boldmath, but I can't get it to work while ...
3
votes
1answer
34 views

Should \mathrm work in \gather* environment?

I am trying to use \mathrm in gather* environment, but the result is text without any spaces. How can I correct that, please? \documentclass{article} \usepackage{amsmath} \begin{document} ...
0
votes
1answer
26 views

Make macro which checks the type of math mode its in [duplicate]

I frequently find that I want to make a macro, say a derivative macro for example with the following syntax: \def\dd #1;#2;{ return... } However, I want it to check if it is inline math such as ...
6
votes
3answers
120 views

Double align in equation environment

I have four lines inside an equation environment, and I'd like to align the first with the third and the second with the fourth. This is what I got so far: \documentclass{article} ...
4
votes
2answers
126 views

Bug in using self-defined font?

As long as I do not use \bf, my font works fine. Starting with $$ within which I first use \bf, and every instance thereafter, instead of getting the font I defined I keep getting bold letters. How ...
2
votes
2answers
56 views

Proper etiquette for using a lemma in a series of equations?

Suppose we have something like: \begin{equation} \begin{split} a &< b \\ ab &< bc \\ abc &> bcd \\ abcd &> bcde \end{split} \end{equation} And to get the third line, abc ...
0
votes
1answer
37 views

Temporarily changing the math font in certain environments

A follow-up question to my earlier post here. In my document, I want to typeset the tables in a different font from the main text. I've managed to make that work for regular input. However, I ...
1
vote
1answer
26 views

Adjustlimits in combination with smashoperator

I would like to use the method \adjustlimits from the mathtools package in conjunction with the \smashoperator method. In the MWE I don't know how and where to use the \adjustlimits method. Trying to ...
4
votes
2answers
44 views

matrix with different size font

does anyone have an idea, how to make equal font size of the following matrix ?? thanks in advance \usepackage[cmex10]{amsmath} \usepackage{color}\begin{equation} \left[\begin{array}{c} \dot x_{1}\\ ...
3
votes
1answer
28 views

Underbrace outside array environment

This MWE \documentclass{article} \usepackage{MnSymbol} \begin{document} \begin{equation} v\left(C\right) = \left\{ \begin{array}{l l} \!\!k\left(C\right), &\text{if ...
0
votes
1answer
33 views

How do I align arithmetic problems?

If I wanted to align 2-digit multiplication with the line underneath, how would I do it? For example, if I wanted to multiply 32 × 45 and I wanted to multiply them in a vertical column, what command ...
4
votes
2answers
51 views

Import mathcal symbols from txfonts

I would like to use the "\mathcal" symbols from txfonts, but otherwise use the standard symbols. Including the package txfonts changes all fonts, which I would like to avoid. The command ...
2
votes
1answer
59 views

Remove horizontal space from align and equation globally

I want to cram as many equations that I can in align environment. I was able to set the margins to zero and remove the space before and after the equations. Se below example code. However, currently ...
3
votes
1answer
70 views

Force all text in a block to look like the default math mode text

I used the technique described by the commentator "Martin H" here to include an Inkscape graphic into my LaTex document. Now I want to force all the text of the image to look exactly like in math ...
2
votes
0answers
41 views

Increase the thickness of a brace

I'd like to know if it's possible to increase the thickness of a brace. The code \documentclass[oneside]{article} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} ...
2
votes
1answer
33 views

Too long math “formula” inside the text [duplicate]

It's possible that someone already asked it, but I'm unable to find something about so I've to ask again. I'm having this problem: I will put a math formula inside the text using the $ $ environment ...
4
votes
2answers
50 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
59 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
48 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
82 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
50 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
49 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
100 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
38 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
154 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
82 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
56 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
20 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
110 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
178 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
39 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
66 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
55 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 ...
6
votes
1answer
142 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
38 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
744 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 ...
1
vote
1answer
36 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
84 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
49 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
40 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
36 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
51 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
183 views

Expectation Operator

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