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

4
votes
4answers
99 views

! Missing $ inserted (normal text in Bmatrix)

\begin{Bmatrix}\text{Of what nacion.}\\text{Of what countrée.}\\text{Of what auncetours.}\\text{Of what parentes.}\end{Bmatrix} Apparently, I'm supposed to insert $ but I don't know where.
12
votes
5answers
352 views

Integration Symbol with Limits

How can I write the integration symbol in latex as shown in the picture?
2
votes
1answer
59 views

Notation for multivariate normal

I would like to find a good notation and LaTeX way to depict a multivariate normal with a specific covariance matrix (ie. not a generic sigma). Here is my attempt, which compiles but does not look ...
2
votes
2answers
129 views

Equation setting

I have a problem with this equation compilation at the end{split} please fix it. \begin{equation} \begin{split} \frac{\partial }{\partial X_{j}}(\rho \bar u_i \bar u_j) = -\frac{\partial \bar ...
4
votes
1answer
72 views

Change font size of math sans serif font only?

I'm using the Arev font for math sans serif. However, the font produces slightly larger letters compared to my roman math font: \documentclass[a4paper, 10pt]{scrartcl} \usepackage[T1]{fontenc} ...
2
votes
3answers
135 views

\middle too big

I'm trying to typeset an equation that contains a "|": \begin{align*} \lambda_{l} = \lim_{q \to 0^{+}}P\left(X_{2} \leq F_{2}^{(-1)}(q) \middle| X_{1} \leq F_{1}^{(-1)}(q) \right) \end{align*} ...
7
votes
1answer
119 views

Systeme package

I am using the systeme package to create an equation system. I am also using the mtpro2 package for mathematical notation. When I want to create a 2x2 system with a curly bracket it works just fine ...
3
votes
2answers
65 views

Lining numbers in mathnormal

Is there a simple way to have lining numbers (instead of old style ones) using \mathnormal{} ? I want $\mathnormal{abc123}$ to look like $abc123$. My problem is that I have an operator ...
2
votes
1answer
37 views

Flashcards with textfraction

\documentclass[12pt]{article} \special{papersize=3in,5in} \usepackage{amssymb,amsmath} \usepackage{fontspec} \usepackage{lmodern} \usepackage[ngerman]{babel} \pagestyle{empty} ...
5
votes
4answers
78 views

Increase the spacing of rows in equations

I have a formula and I want to increase the space between the rows to make the reading easier. \begin{equation} \begin{flalign*} \epsilon \bm{\Xi}_n & = M_\epsilon(\bm{x}_{\epsilon,n-1} ) - ...
7
votes
2answers
106 views

Bad rendering of parentheses of binomial coefficient in Beamer

I am working with documentclass Beamer version 3.10 and I have a problem with the rendering of the parentheses of the binomial coefficient. Here the code: \documentclass[aspectratio=169, 8pt]{beamer} ...
3
votes
1answer
64 views

Nested matrices with aligned columns and rows

I'm trying to represent "matrices" with more than two dimensions, like the Riemann curvature tensor or Christoffel symbols, using nested matrices. I still don't know if this can help working with ...
4
votes
2answers
104 views

color block of text without repeatedly using /textcolor

I want to color the answers into blue however my current solution is not really viable as each line needs to be colored blue individually due to my use of \par\bigskip messes up \textcolor if its in ...
0
votes
1answer
40 views

How to remove space in math mode inside a tabular environment

I'm using some semantics formula that contains both math symbols and text inside a p{} column in a tabular environment. The formula is too long to fit in the column, then LaTeX has to create new lines ...
2
votes
3answers
85 views

I think fractional expressions in my text is small and not normal?

\documentclass[12pt]{book} \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{xepersian} \begin{document} \begin{persian} \lr{$-\frac{1}{3}$} \hspace{1cm} $-\frac{1}{3}$ ...
2
votes
1answer
73 views

Equation + explanation below

I have to write an explanation to my equation, and I would like to do it, below the equation. But, I do not know how to do that. It should look like this: My preamble look like this: ...
9
votes
2answers
264 views

How can I use mathematical symbols and other special characters in URLs in footnotes?

I want to footnote a URL which contains mathematical signs such as = and LaTeX asks me for a $ sign to take it to mathematical space (and therefore changing the font which is not suitable). How should ...
2
votes
2answers
93 views

undefined control sequence in latex

I snippet of my code is presented here.I do not understand why I'm getting the error undefined control sequence.I have also included the package amsmath. \subsection{Logistic Regression} \noindent ...
0
votes
2answers
92 views

How to create this simple model with arrow and text on the top?

How to create this simple model with arrow and text on the top ? Regards
2
votes
0answers
30 views

Matrix with line and matrix operations [duplicate]

I want to produce this matrix: For the vertical line I can use \begin{array}{cc|c} and for the matrix operation I use environment gmatrix from the gauss package. But I can't use these options at ...
0
votes
0answers
37 views

How to display numbers in the math mode in the same font as in the text? [duplicate]

I have set my default font family for the text as sans serif with \renewcommand*{\familydefault}{\sfdefault} and now I want for the math mode to display the numbers in the same way as they appear ...
3
votes
3answers
229 views

Problem in writing the system of equation in LaTeX

Here's the code I have and here's the system of equation it creates which is not working as desired. Do you know how I can fix it? \item For what value of $b$ would the following system fo equations ...
1
vote
1answer
44 views

How to show a wide bar over a letter?

I want to have a wide bar over XY but it just shows a small bar. Any idea? \item In the standard $(x,y)$ coordinate plane, point $X$ has coordinates $(-4,0)$ and point $Y$ has coordinates $(0,-8)$. ...
2
votes
1answer
52 views

AucTeX - Turning inline mode into displaymath and vice versa

Usually, when redacting math stuff, I deal many times with the following situation : I have written some formula in a displaymath environment and, when compiling, realize it should look better inline ...
1
vote
1answer
110 views

How to write conditional equations with one-sided curly bracket in TeXmacs [closed]

Here is the photo. How to write conditional equations with one-sided curly bracket in TeXmacs? I tried inserting Equation and Equations. I didn't manage to insert the curly bracket. In LaTeX, ...
13
votes
2answers
394 views

Why does \textbackslash render as “n” in math mode?

I've just rendered the following: \documentclass[varwidth=true, border=2pt]{standalone} \begin{document}$\textbackslash$ \end{document} which seems to give the same as $n$. Do you know why? As ...
1
vote
1answer
70 views

Make font size of numerator the same as denominator?

I have a simple question, I would like to make the font-size of the numerator the same as that of my denominator. For example, something like this: e^{-j \frac{2 \pi n k}{K_F}} gives me an ugly ...
5
votes
2answers
155 views

How can I cancel the effect of {} in untouchable macros?

Assuming that we cannot change the implementation of \blackbox that is \def\blackbox#1{{}#1} What should we pass to \blackbox such that $\blackbox{<something we need to pass>}$ produces the ...
12
votes
1answer
133 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
34 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
217 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
89 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
148 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
167 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
136 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
53 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
111 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
83 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
56 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
85 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
73 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 ...