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

12
votes
1answer
132 views

Fixing mathit spacing with unicode-math

I am using lhs2TeX to convert code into LaTeX. It typesets code into math mode. As I am also writing math formulas in the same document, I use unicode-math to switch between different math mode fonts ...
1
vote
1answer
64 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} ...
4
votes
5answers
216 views

What is the most elegant way to get a diagram showing elimination method to solve simultaneous equations?

First of all, I show you my effort as follows. It seems to be too complicated in coding with unsatisfied output. \documentclass[border=12pt,12pt,varwidth]{standalone} \usepackage{mathtools} ...
2
votes
2answers
86 views

Summation as exponent

x^{\displaystyle\sum_{k=1}^n {n \choose k}p^k + 1} How can I make the exponent look smaller?
6
votes
2answers
142 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 }{ ...
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. ...
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 ...
3
votes
1answer
60 views

cmex bold font missing

I am not able to find the bold variant of cmex10 font in Type 1 format. Really it is missing in all common TeX distributions? I know that this variant was not included in Knuth's Computer Modern ...
5
votes
1answer
166 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 ...
8
votes
2answers
134 views

vertical equality in

How does one get inline or at least formula space typography of the following sort in an easy to parse (for the editor) way when writing formulas, for instance: Yes, I know, the equalities ... can ...
3
votes
1answer
50 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 ...
1
vote
0answers
106 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 ...
4
votes
1answer
82 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 ...
3
votes
1answer
54 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: ...
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 ...
4
votes
2answers
78 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 ...
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
21 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 ...
2
votes
1answer
70 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 ...
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
48 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 ...
1
vote
1answer
61 views

TeX capacity exceeded + Semantics package [closed]

I get the following error: ! TeX capacity exceeded, sorry [input stack size=5000]. \do #1#2#3->\mathcode `#1 ="8000 l.14 ..._{1}\; a_{2} -> v_{2}}{a_{1} - a_{2} -> v} ! ...
7
votes
1answer
80 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: ! ...
1
vote
2answers
75 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] & =: & ...
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}) ...
4
votes
3answers
135 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
76 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
186 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 ...
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. ...
3
votes
1answer
62 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 \\ ...
6
votes
3answers
124 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}}
4
votes
2answers
226 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, ...
3
votes
1answer
71 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
73 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} ...
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 ...
3
votes
0answers
56 views

BA (Baskerville) Math Font from micropress available? [closed]

For several years now, I've been trying to get my hands on the BA Math Font from micropress. But I can't find anyone who has it, or who is willing to sell it to me (including the original authors). ...
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, ...
2
votes
0answers
71 views

Upright math in italic lemma

I naively entered the following math-mode/text mix in a theorem environment, but the way LaTeX treats the parenthesis doesn't seem right. Especially upright math formulas in italic text parenthesis ...
6
votes
2answers
187 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 ...
5
votes
1answer
91 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, ...
2
votes
1answer
69 views

Contour Integrals [duplicate]

I know that \oint gives a closed line integral sign, but how do you make the same with a double integral instead? I tried \ooint and \oiint but neither worked. EDIT: Also what would the corresponding ...
5
votes
1answer
126 views

Typeset an upright ell

The $\ell$ character in math-mode is clearly slanted to match the usual slant of math-mode characters. Is there a way to typeset an upright version, that won't look slanted amid other ...
1
vote
0answers
37 views

How to type this symbol in Latex? [duplicate]

Just want to know how to type this symbol in Latex. I saw it used in the axioms of probability. Thanks.
4
votes
2answers
393 views

What program is something like this created on?

Been trying to further improve my LaTeX skills, and such to make my notes look better. But I was curious if you guys could easily tell what program something like this was created in? ...
8
votes
3answers
194 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 ...
1
vote
0answers
21 views

Use sub and superscript as [optional] parameters for macro [duplicate]

I am defining a macro, and would like to run other macro's on any sub/superscripts given to it. For example, I would like to define it such that something like: \myMacro_{lower}^{upper} ...