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

17
votes
7answers
8k views

Average integral symbol

Is there in LaTeX a symbol or a macro for the average integral with a horizontal slash? I know about \strokedint, but I'd prefer the dash to be horizontal.
1
vote
1answer
61 views

Integral with cross line [duplicate]

Kindly send the latex code for this integral symbol
0
votes
0answers
22 views

Math equation problem help [duplicate]

I got the following message based on the code below, any one tell me how to debug it: ! Missing $ inserted. $ My code is: \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{amssymb} ...
0
votes
0answers
44 views

Math equation bug [duplicate]

I have the following formula, the problem is that once I add \begin{equation} ...\end{equation} I receive an error message, but If I add the same formula between two $..$ it is work properly. any one ...
2
votes
0answers
33 views

Widecheck over two \hat [duplicate]

I need to write a formula with a \widecheck over two \hat. The equation is the following: \documentclass[a4paper,11pt]{article} \usepackage{amsmath} \usepackage{amsfonts,amssymb,mathabx} ...
1
vote
1answer
61 views

LaTeX code for text above the $\rightarrow$

Hi I am wondering what code is used to get text above the $\rightarrow$ have tried $ \xrightarrow{P}$ but not running on my LaTeX as I do not know which package to install or how to install it. ...
6
votes
2answers
136 views

Why are minus signs not working in this equation?

In the below equation I'm writing, 2 minus signs are not visible, why is that? $\phi (s, \lambda) = C \frac{ 1 + \beta^2 − 2 \beta cos( \frac{2 \pi s}{\lambda} ) }{ \lambda^5 \exp( \frac{ h c }{ ...
2
votes
2answers
84 views

Summation as exponent

x^{\displaystyle\sum_{k=1}^n {n \choose k}p^k + 1} How can I make the exponent look smaller?
1
vote
1answer
34 views

Sequential \frac that aren't nested [duplicate]

I'm new to Latex and am having trouble troubleshooting an equation that I can't get to display correctly. The equation I am trying to create in Latex is: ...but I keep getting nested fractions ...
26
votes
2answers
22k views

Big integral sign

Is there a possibility to draw large integral signs? I have found the package bigints but I have the feeling it is not very professional... Any better idea?
18
votes
2answers
12k views
5
votes
1answer
160 views

How to use comicsans only for the text but not for the math?

Considerations: Most of us might know the Latin alphabet well. Some of us might not be familiar with Greek alphabet. As a result, comic sans for text contents does not seem to be an issue but it ...
2
votes
1answer
69 views

Upright maths in display mode, but italics in align environment in beamer class

I use mathastext like this \renewcommand{\familydefault}{\sfdefault} \usepackage[defaultmathsizes]{mathastext} \renewcommand{\familydefault}{\rmdefault} This gives me upright math throughout my ...
16
votes
5answers
15k views

Unicode degree symbol ° in math formulas: \textdegree invalid in math mode

I'd like to be able to simply input a degree symbol as ° in my source code. German keyboards have a key for this, and it makes the source so much more readable. I'm using pdflatex from TeXLive 2012, ...
8
votes
3answers
193 views

How to typeset readable diagonal matrices with large entries?

I would like to illustrate the structure of two matrices, but unfortunately they become hard to read very quickly. This is because its entries' expressions grow with every line. The equation looks as ...
3
votes
1answer
49 views

htlatex does not seems to like $\mathit{}$ in subscripts

When I compilethis MWE: \documentclass[a4paper,12pt]{article} \begin{document} Test $x_\mathit{in}$ \end{document} ...it works perfectly with latex and pdflatex. If I try to use htlatex on it, it ...
4
votes
2answers
75 views

Math mode accents

In my long document I, sadly, have to use several accents to denote different kinds of symbols. Currently, I use primes ($x'$), hat, tilde, and overline. In addition I use two colored symbols (red ...
1
vote
0answers
100 views

How to convert Latex code to generate equations in Powerpoint?

I have exported my maple mathematical matrices to latex and now I want to show those equations in Powerpoint presentation. I have installed MathType in MS Powerpoint that converts basic latex codes or ...
3
votes
1answer
53 views

\bigl( \bigr) in inline mode and in align environment

The following, I believe, is a strange behavior of \bigl(<math content>\bigr) in inline math mode and in the align environment. Consider the following MWE: ...
4
votes
1answer
80 views

Create Pole/Point Integral Symbols

I want to create the following shaped integrals found in the unicode-math package symbols list: I created my own package a while ago for defining some symbols/shortcuts, and I want to recreate ...
2
votes
1answer
41 views

use my selected \sffamily fonts for \mathfs

I would like to use my selected sans serif font in place of my mathfs fonts. I know that there are so called mathversions which define different types of characters (letters, symbols, etc). I would be ...
2
votes
0answers
19 views

How to print c for cos and s for sin in latex math [duplicate]

I have very long trigonometric formulas in latex. I want to print only s instead of printing complete sin in the latex document. same for the cos. Is there any way ?
1
vote
0answers
20 views

Text over symbols, but with adjusting width ( something like \stackrel{#1}{#2} but with same size) [duplicate]

I would like to write something above equation sign. One may do it with \stack{#1}{#2} command and it works fine if #1 and #2 are the same length, example: $\stackrel{(3)}{=}$ will result in ...
4
votes
2answers
72 views

Decrease Vertical Space in Aligned environment

How can one have control over the vertical space brought on by a \\ for the new aligned entry in the aligned environment? For example, how to I condense the following? $\begin{aligned} a & b \\ ...
0
votes
0answers
36 views

exchanging the performance of “:“ and ”\colon" [duplicate]

I have seldom touched on the proportion of elementary mathematics, so I want to make the default definition of : represent the command \colon, and in turn make the default definition of \colon ...
2
votes
0answers
44 views

Setting a default horizontal spacing value for math mode

Is there a way to set a default value for the horizontal spacing in LaTeX math mode? I'm constantly writing $foo \; bar \; baz$ Where the \; macro sets the space that I am happy with. Is there a ...
16
votes
2answers
316 views

Are there good resources for converting TeX type files to spoken word?

For a variety of reasons I am very interested in having audio versions of various texts. In some cases I can get these texts in LaTeX format (with equations). Obviously I can use "normal" ...
6
votes
2answers
147 views

Fractions with large elements

What is best practice for typesetting fractions with large objects in the numerator and denominator? For example, fractions with limits, integrals, summations, etc... cause the expressions to look ...
7
votes
1answer
78 views

Comma not working inside \bm when using babel

When I try to compile this simple document \documentclass{article} \usepackage[italian]{babel} \usepackage{bm} \begin{document} $\bm{,}$ \end{document} I receive the following complaint: ! ...
3
votes
2answers
125 views

How to format this formula, in particular, the parentheses better?

$$\mathrm{err} \left( h(\vec{\theta}, \vec{x}), y \right) = \delta_{0y} ~ H \left( h(\vec{x}; \vec{\theta}) - \frac{1}{2} \right) + \delta_{1y} ~ H \left( \frac{1}{2} - h(\vec{x}; \vec{\theta}) ...
1
vote
2answers
73 views

Paragraph mode inside a math equation or reuse array-columns

My problem is that I want to reuse the spacing in a certain math equation like: \begin{equation} \begin{array}{l@{\hspace{3mm}}c@{\hspace{3mm}}l} ... & := & ... \\[4mm] & =: & ...
6
votes
1answer
62 views

\eqref for systems

Is there anyway to create a single label for a system of equations instead of just one, such that I can recall it? I've done this but the result doesn't totally make sense. ...
4
votes
2answers
220 views

Dante Monotype typeface and fractions

I am handling a text which is natively written in a proprietary LaTeX documentclass which implements Dante Monotype fontface. In this text there is a lot of maths and I would say that it works, ...
4
votes
3answers
134 views

Large equation goes out of margin, want to centre it? [duplicate]

I have a large equation \begin{document} \begin{gather} W = \frac{1}{2\mu_0}(\frac{\Psi'^2 \pi^2}{b^2} \sum_{m,n} a_{mn}^2 n^2 (ab/4) + \frac{\Psi'^2 \pi^2}{a^2} \sum_{m,n} a_{mn}^2 m^2 (ab/4) + ...
4
votes
1answer
74 views

Centering in matrices

I am building a big matrix within the which I have block matrices, which I want to indicate by boxes. My current state looks like this: $$\begin{matrix} \framebox[3.\width]{J}& \begin{matrix} ...
7
votes
2answers
182 views

Shortcut to writing out long, common, expressions?

I'm writing an astronomy paper and have some symbols and variables which are common throughout. It's becoming cumbersome to write them out each time. Is there a way to create a shortcut of sorts for ...
3
votes
1answer
58 views

Eqnarray nested matrices produces alignment error

I wrote the following equation array. \begin{eqnarray} w_{0} & < & 1 \\ w^{m}_{i} & = & \left \{ \begin{matrix} w_{0} & i = 0 \\ ...
8
votes
2answers
267 views

A special fraction macro with raised fraction bar

I need to create a macro which allows me to get a fraction with a raised fraction bar. In a first approach, I mean to create two boxes (numerator and denominator), separated by a fixed horizontal rule ...
6
votes
3answers
122 views

How to ignore the underbrace{}{} in a square root? [duplicate]

I want to keep the size of the square root unchanged without putting the underbrace outside \sqrt{\underbrace{=A}{B}}
20
votes
4answers
7k views

Bold italic vectors

I am trying to display vectors as bold and italic. The command \mathbf sets the letters non-italic. I also googled a bit and stumbled upon \mathbf{\em y} or \mathbfit{y}, which all didn't work. I ...
9
votes
5answers
8k views

Is there an equation editor for Windows?

Is there anything like LaTeXit, a Mac-only program, that converts math equations into LaTeX code, for windows?
5
votes
1answer
90 views

problem with footnote in tcolorbox (math mode)

I have problem with footnote in tcolorbox, footnote mark on math mode is numbering with arabic while in the footnote area is numbering with alphabet. This is an example to show you what I mean, ...
22
votes
2answers
9k views

What is the difference between \dfrac and \frac?

The title says it all, both \dfrac{a}{b} and \frac{a}{b} make fractions, so what is the difference between the two?
3
votes
1answer
70 views

Words under sum that's in a denominator

if I try this; Substituting the expression for \(\Psi\) in to the above and rearranging we derive an expression for the vacuum field \(\Psi'\) as a function of \(\mu \), \begin{equation} \Psi' = ...
2
votes
3answers
69 views

Splitting equations with parentheses in aligned [duplicate]

How can I break the first line \begin{equation} \begin{aligned}[2] & some stuff \left\{ stuff' + stuff'' \right\} \\ & = some other stuff \end{aligned} \end{equation} in a way such that the ...
1
vote
1answer
74 views

How can I center this formula?

Here is my code: \documentclass[12pt,a4paper]{book} \usepackage[T1]{fontenc} \usepackage[chapter]{algorithm} \renewcommand{\baselinestretch}{1.5} \begin{document} \begin{spacing}{1.2} ...
6
votes
3answers
290 views

Super and subscripts with \DeclarePairedDelimiter

I defined a macro for the supremum norm by \DeclarePairedDelimiter{\supnorm}{\|}{\|_\infty} which works nicely. However, as soon as I want to place a superscript like \supnorm{f}^2 things look ...
2
votes
1answer
50 views

Harrowing missing $ inserted error with 'case'

I am a complete newbie to LaTeX. I am having a harrowing time with the missing $ error. I have the following code: \begin{cases} soil(i, j) if min(soil(i, l)) $\geq$ 0\\ $k \notin nodes$ \\ soil(i, ...
9
votes
2answers
314 views

Is there any environment that works exactly like \begin{equation}, but without going into math-mode?

I would like to write a sentence that is centered and numbered automatically at the end. If what I am trying to type is just an equation, \begin{equation} works very nicely. However, since what I ...
6
votes
2answers
179 views

Tables: Missing $ inserted

I'm trying to learn how to use Latex so I've got a little bit of problems in understanding what is the mistake that I've made. In this case I'm compiling a Table containing multiple datas about ...