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

0
votes
1answer
53 views

for Hom and H*(X,Z) — which fonts?

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 ...
3
votes
4answers
96 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: ...
4
votes
1answer
70 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 ...
0
votes
0answers
31 views

How can i create a document like this format [on hold]

I want to write a math document in arabic with latin math symbols like this document. Can anyone help to achive this by providing a template or important steps to create it.
2
votes
1answer
53 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( ...
1
vote
0answers
21 views

Biblatex Math using ieee-alphabetic style

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
49 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 ...
2
votes
1answer
110 views

missing inserted endgroup

I'm typing this equation \eta=\frac{82\cdot4\cdot1.44 \textrm{MeV}\cdot10$^-15$\textrm{m}}{2\cdot6.582\cdot 10$^-10$ \textrm{MeV}\cdot\textrm{s}\cdot0.0774\cdot2.998\cdot10$^8$\textrm{ms$^-1$}} and ...
0
votes
0answers
25 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 ...
5
votes
2answers
89 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 ...
3
votes
2answers
197 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
90 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 ...
0
votes
0answers
41 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 ...
12
votes
5answers
15k views

What is the optimal LaTeX WYSIWYG editor/platform (quality/price) for Windows 8?

I am doing lots of Math and also writing; want to use in the future LaTeX and seeking the adivce of this community. What is the optimal WYSIWYG editor/platform (quality/price) for Windows 8? Why?
87
votes
4answers
71k views

What are all the font styles I can use in math mode?

As can be seen in above picture, there are lots of fonts or font styles that can be used in math mode. What are all the fonts or font styles I can use in math mode, and which packages are required ...
44
votes
2answers
5k views

What is the advantage of using $f^\prime$ instead of $f'$?

Although the two outputs look quite similar, what is the advantage of using $f^\prime$ instead of $f'$? By the way, here is my code: \documentclass‎{article‎}‎ \begin{document}‎‎‎ \[‎ ‎f^‎\prime ...
1
vote
0answers
55 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
173 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
191 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
1answer
62 views

Is there anything like “displaystyle” for “arrays”? [duplicate]

I have this equation and I would like to "get more space" into it, how to do it? \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} ...
5
votes
2answers
101 views

Display math and tabular

I'm pretty new to latex and having some trouble. I have multiple math formulas which I'd like to organize on the page. i used: \begin{tabular}{p{6cm}p{6cm}} \[...\] & \[...\]\\ \end{tabular} ...
0
votes
1answer
101 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 ...
4
votes
2answers
53 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
40 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 ...
3
votes
1answer
57 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 ...
23
votes
3answers
19k views

How to put a big bracket under different parts of a equation so that I could write e.g. a text specific to that part in the equation?

How to put a big bracket under different parts of a equation so that I could write e.g. a text specific to that part in the equation? For example : f = x^3 + 2 |___| |__| | | ...
6
votes
1answer
3k views

How do I use AMS Euler?

% What to do here \begin{document} This is good integration. $$\displaystyle \int x dx = \frac{x^2}{2}$$ \end{document} I don't know much about LaTeX so I am going to need some spoon ...
3
votes
1answer
54 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
56 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
230 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 ...
3
votes
1answer
34 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
82 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 ...
5
votes
2answers
298 views

Is there a package for doing this in LaTeX?

I'd like to do something like this What would be the code? does it use a package for doing the $$f\mapsto f\circ \pi$$ part?
42
votes
4answers
9k views

Should I \mathrm the d in my integrals?

When writing an integral, it seems like something should be done to separate the "d", as in \int f(x) dx, so as not to confuse it with a variable. I've seen it left as-is, bolded, and straightened. ...
3
votes
1answer
80 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
141 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 ...
3
votes
1answer
80 views

How can I make text inside set notation look like normal text?

I'm very new to LaTeX, and have never been very good with computers, so apologies for not knowing how to post questions on here properly or missing out anything important. I have this: ...
12
votes
6answers
547 views

Typesetting 144…4 with “n times” under the 4's is easy, but what about \sqrt{144…4}?

Inspired by this question on the math StackExchange, suppose you want to typeset the square root of the number 144...4, that is, 1 followed by n 4's. If you write $\sqrt{1\underbrace{44\ldots4}_{n\ ...
5
votes
1answer
480 views

How to write “not a subset” of a set?

How to write A is not a subset of B in LaTeX? I can write $A\nsubseteq B$, but I want to remove the equality sign. Please help.
3
votes
1answer
87 views

How do I make fractions automatically displayed in lines properly?

I would like to know how to make code of fractions in article class more easy to handle. Usually, if I type ${a \over b}$ then LaTeX does not display $a/b$, which is what I want. So I have to say ...
6
votes
3answers
2k views

cancel package downward arrow

Let's say that I want to cancel the denominator of a fraction and also assign him a value. Something like that \cancel{2}\cdot\dfrac{9}{\cancelto{2}{4}}. The problem here is that the fraction doesn't ...
10
votes
1answer
92 views

Antykwa Torunska font: How to get correct \hbar in LuaLaTeX

I'm using TeX Live 2014 with lualatex. Using the font Antykwa Torunska (anttor) for math, \hbar is not displayed correctly. The default LaTeX settings do not give good results at all scales: ...
3
votes
1answer
82 views

Environment for Mathematics

I am writing some notes and in them there is 95% mathematics, give or take, so I use $...$. The problem is that if I want to go into a new line and I use the \\ there is the risk of badbox creation. ...
3
votes
1answer
126 views

Math equation eating whitespaces and operators

I have this: $0.2 \mu sec = (1 − FR) * 0.1 \mu sec + (0.3 * FR) * 8 millisec + (0.7 * FR) * 20 millisec$ \\ and the result is that all whitespaces are gone, as well as the first minus symbol for ...
7
votes
3answers
158 views

Box with subtext in an equation

I would like to do something like the boxes in the equation below But I have no idea how to implement this in Tex. Thanks in advance!
9
votes
3answers
4k views

How to put a big dot (and circle) over a variable?

where one can see a big dot (and circle) over W. I am using \dot{W} and \mathring{W} but seems not big enough.
2
votes
2answers
52 views

Need help with two symbols for Complex Analysis

I cannot find how to write "cis" which is the polar form of complex number, or "Arg" which is short for argument. Does anybody know these symbols? Thanks.
2
votes
2answers
82 views

Set Math Font like in Beamer

How can I set the Beamer math font in a non-Beamer class (e.g., article)? The motivation is that I prepare a poster and a presentation for a workshop which I would like to look as similar as ...