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

8
votes
1answer
70 views

Automate correct spacing after ! in math mode

$(2n)!/\bigl(n!\,(n+1)!\bigr)$ $${52!\over13!\,13!\,26!} + 33!! - y$$ $(2n)!/\bigl(n!(n+1)!\bigr)$ $${52!\over13!13!26!} + 33!! - y$$\bye How could we automate the spacing after !? As explained in ...
1
vote
1answer
56 views

mathclap: undefined control sequence

In my preamble I have loaded the amsmath and geometry package and many others that I read are useful when using \mathclap. This is my preamble \documentclass[a4paper,oneside,abstracton]{scrartcl} ...
0
votes
0answers
46 views

How to type the derivative f' in Latex? [duplicate]

I'm trying to use \f' but it doesn't work. Anybody please help?
3
votes
0answers
25 views

dot2texi: Use latex labels (texlbl) with clusters

I'm using the dot2texi package to include dot graphs in my tex files. With nodes, I can use texlbl="$n_1$" to create a label n1. I want to have tex labels also on clusters: \documentclass{beamer} ...
8
votes
2answers
243 views

Put a text into Brackets (no math mode)

I want to make something like this. Put a text into Brackets (can be (). {}, [] ..., whatever type is the easiest). I am looking for an easy way. There are a lot of similar question on this site, ...
2
votes
3answers
165 views

Formulas should start at the same position

I am a very beginner of LaTeX and I do not have any kind of experience with it. How can I make formulas start at the same position such that they are aligned exactly underneath each other. ...
0
votes
2answers
124 views

How many LaTeX characters have Unicode equivalents, and which characters and mathematical character combinations cannot be represented by Unicode?

I would like to know how many LaTeX characters, including all the special math symbols, can be represented by Unicode. Would I be right to say, that nowadyas, LaTeX's strangths over Unicode are mainly ...
7
votes
2answers
96 views

How do I modify the placement of the prime symbol?

Some colleagues and I are writing a series of math notes and the house style (not up to us) is to use the Gotham Book family of fonts. So our math italic font is Gotham Book Italic. We're noticing ...
2
votes
0answers
46 views

How should I typeset the complex conjugate of a subscripted variable?

I have a variable $z_{2n+1}$ and I want to write the complex conjugate of it. I am not sure which of the following should be preferred: \bar{z}_{2n+1}: The bar is not so large and may be hard to ...
0
votes
1answer
38 views

XeLaTeX won't use superscript-table of OTF

The following MWE will show you the problem I encountered today. As asked, the problem I see, is that in math-mode the numbers aren't displayed as in the first line. David Carlisle stated, that this ...
5
votes
1answer
27 views

Declare non-stretching non-pairing delimiters

How do I define my own delimiters from arbitrary symbols for math which have these properties: They have a fixed size. Unlike the usual delimiters they do not stretch to adapt to the enclosed ...
3
votes
2answers
108 views

How to save space displaying “max x \in [a,b]”?

I just create a summary for usage in my exam and there are a lot of information worth to be on this summary page. k=1,...,n below max is a waste of space (I have more than 10 of these wasted lines ...
0
votes
1answer
45 views

LaTex error- !Paragraph ended before \split was complete

I am using amsmath package but keep getting errors with the following: \begin{split} \[ A_R&=\frac{4}{9}+\frac{20}{81}+\frac{100}{729}+\frac{500}{6561}+\dots \\ ...
7
votes
3answers
202 views

All letters upright in math mode (equivalent to \rm)

I'm using the document class scrartcl and I'm looking for a way to write equations in which all letters are upright like it appears when using \rm. \begin{equation} \rm A_{something} + ...
6
votes
1answer
238 views

French spacing for semicolon in math mode

When writting mathematics in a french document, you should use the semicolon instead of the comma to separate the coordinate of a vector or a point (for example). The problem is that in math mode, ...
0
votes
1answer
58 views

What does it mean for undefined control sequence?

When I use $(LM)^\ast = (LM)^(0) \ucup (LM)^(1)\ucup (LM)^(2) $ I receive an error: --this is a undefined control sequence I need to use (LM)^*= (LM)^0 \ucap (LM)^1 \ucap.. and so on. How ...
0
votes
1answer
67 views

How to insert at symbol ( @ ) in equation? [closed]

I need to insert an at symbol, @ , which I know how to do in text, but can't figure out how to do in mathmode. Detexify gives me only text mode symbol for LaTeX.
2
votes
1answer
38 views

Regression Functions and Variable Names

I would like to present a regression function in my LaTeX Document that includes actual variable names from my (Stata) code as its covariates. This screenshot gives an example of what I want it to ...
10
votes
4answers
355 views

How to write \slashed, \mathcal and \mathring at the same time?

I need to write something like \slashed{\mathcal{\mathring{S}}}. I tried to write it in several orders, but none of them gave me the wanted result. I found out that I have to write ...
8
votes
2answers
257 views

Centering a slash (not) over a (mathematical) glyph?

My aim is to construct a relational symbol which is graphically equivalent the standard infinity sign (coded by \infty) crossed exactly in the middle of it. Yet I am not able to overcome something. To ...
4
votes
1answer
134 views

Missing { and } inserted

pdflatex keeps complaining about braces but they are balanced. I read that some environments start math mode automatically, but I don't think I'm using them. Here is the code: ...
-1
votes
1answer
68 views

How can LaTeX insert math formula in text paragraph?

If I want to insert a math formula, usually just a math symbol, in text paragraph, LaTeX put the formula to the next line and put it in the middle of the line? How can I just insert between text?
0
votes
2answers
156 views

What does double backslash in LaTeX mean?

What does double backslash in LaTeX mean ? (please see example below) label 2-1 & label 2-2 & label 3-3 & label 4-4 & label 5-5 \\ \verb= http:\\www.chinatex.org=\\ some line have ...
4
votes
2answers
137 views

For Hom and H*(X,Z) — which fonts? [closed]

This is a question about style, I am debating whether the math operator \Hom should be just \DeclareMathOperator{\Hom}{Hom} or if it should be some variant like ...
6
votes
4answers
152 views

Unit column in table with square brackets and siunitx

The header might be a bit weird. But I would like to add a specified column type that is reserved to units. For instance, take a look at the following working example: ...
2
votes
1answer
72 views

Big Brackets inside eqnarray

Can anyone help me in writing the following long expression with in IEEEeqnarray or eqnarray structure? \documentclass[10pt,a4paper]{article} \pagestyle{plain} \usepackage{amsmath} ...
0
votes
0answers
36 views

Using the %-symbol rather than a blank line in display math avoids errors [duplicate]

The following code creates two arrays on the same line. However, I get an error if I don't put the % between the arrays. Could anybody explain why? \[ \mathbf{x_1} = \left( ...
4
votes
1answer
87 views

Contour integrals of different kind

I'm writing a paper on general mathematics and I want to add some contour integrals. The basic command is $\oint$ which produces the known result: an integral with a circle in the middle. How can I ...
1
vote
0answers
25 views

Biblatex Math using ieee-alphabetic style [duplicate]

Please consider the following MWE: \documentclass{minimal} \usepackage[backend=biber,bibstyle=ieee-alphabetic]{biblatex} \usepackage{hyperref} \begin{filecontents}{bibliography.bib} @book{tst, ...
4
votes
2answers
65 views

change delimiter (slash) size in math mode

I use the division sign, together with an underscore and smash: $\underline{\smash{X/P}}$ The result is the following: How can I reduce the lower part of the slash, so it does not suppress the ...
1
vote
0answers
29 views

How to force a math font regardless of any other factors? [duplicate]

I am using Charter for math (mathdesign package) and Bitstream Vera for body text (through XeLaTeX's fontspec package. However, when using things like \text{} in math mode, the text still appears in ...
0
votes
0answers
26 views

Diagram of a variation of the middle third Cantor set [duplicate]

I would like to construct a diagram which is a variation of the middle third Cantor set as described by: Suppose we start off with the unit interval $[0,1]$; let us call it $A_0$. Next, remove the ...
3
votes
2answers
207 views

Multiple results for equation

How do I define a equation e.g. x +y that shall be true for e.g. <5 and >0 in one equation? I was thinking of using a large brace, but I can't find any example of how to achieve this.
3
votes
2answers
101 views

How to place the subscript under two summation signs in a fraction?

I would like to place a subscript under two summation signs in a fraction, in an equation. The code showed works when it is not in a fraction, but as soon as I use it in a fraction the subscript is ...
5
votes
2answers
111 views

Format a variable in math mode dependent on its case

I have a special kind of variable in my equations which I want to be formatted dependent on its case (lower or upper). I already tried using the package stringstrings, but there seem to be problems ...
0
votes
0answers
43 views

How do I use \begin{equation} [duplicate]

I'm trying to enumerate my equations using this command: \begin{equation} w(H)\le (g^2-5g+10)/2 \end{equation} I have this in the log: ! Missing $ inserted. <inserted text> $ l.1026 ...
1
vote
0answers
60 views

What does “\!\!” mean? [duplicate]

For example, in the mathematical notation of a quotient space given an equivalence relation \sim, the rendering of X/\sim is different from X/\!\!\sim. In the former, there is a gap between the slash ...
8
votes
4answers
179 views

How do I have centered equations on right case?

Here is an example of what I want to achieve. I have tried below but the equations won't center automatically. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{gather*} ...
6
votes
3answers
199 views

I want a really small underbrace

This question is related to, but distinct from Oversized \underbrace's label causes unwanted spacing. My issue isn't with the spacing of the label, but with the size of the underbrace itself. ...
4
votes
2answers
60 views

New line inside color area

I'm trying to enter new line inside colour area like this $\color[rgb]{0,0,1}{P(A) = a +\newline b +\newline c +\newline d}$ But it does not work, why? And how do I solve it? Thanks!
2
votes
1answer
46 views

Failure to produce nested matrix with shortcut macro

I use a \arr macro as a shortcut for bmatrix environments. In addition, I use a hacked version of bmatrix (see: What's the best way make an “augmented” coefficient matrix?) so that it's easier to ...
0
votes
1answer
103 views

Why does LaTeX throw an error for this equation?

I am having a tough time reproducing the following equation in LaTeX: C = 2/(ω^2 N^(2 )µπa) This is the code I have: C = \frac{2}{\omega^2N^2\mu\pia} However, this throws an error. What am I ...
3
votes
1answer
65 views

Vertical strikethrough

I'm currently trying to TeX up a Sieve of Eratosthenes example on the integers 2-100. I'm already using the ulem and cancel packages to give me horizontal and diagonal strikethroughs but I need a ...
4
votes
1answer
58 views

Write math in two columns in a page

Is there any simple way to split my page in two without using a multi column document to achieve this result: What I currently have is this: \begin{align*} T\left(n\right)&= 2T(n/2)+(c_2 + ...
12
votes
3answers
244 views

Underbrace changing spacing of operators

I have found that using an \underbrace on a term in an equation causes the spacing of the following terms to be changed, in particular, the + is moved closer to the \dot{m}. This seems to be distinct ...
4
votes
1answer
59 views

Lyx doesn't compile a kth root

A LyX document I wrote won't compile after I added in a mathematical formula the command root (in fact, \root[k]{\alpha}). I would have written you the code, but the document is long (over than 20 ...
3
votes
1answer
48 views

fancyvrb error with math escapes and prime (')

I've recently noticed a few cases where fancyvrb math escapes fail. This works fine: \documentclass{article} \usepackage{fancyvrb} \begin{document} ...
1
vote
1answer
90 views

Shorthand for \begin{eqnarray*} … \end{eqnarray*}

To align a long string of symbols I usually use \begin{eqnarray*} ... \end{eqnarray*}. I would like to know if there is any convenient alternative to this environment. For example, I know that ...
3
votes
1answer
86 views

how to add a dot above $\imath$

I want to indicate an element from a set of elements, so I want to use $i$ for the indication. I saw some books use a special shape for the indication in my case $i$. After quick search, I found out ...
2
votes
3answers
162 views

How can I make a diagonal division symbol?

So I want to make the four elementary arithmetic symbols in math-mode, but I don't like the way the divison-symbol looks. I want it to look like you rotated the subtraction-symbol 45 degrees, and I ...