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

1
vote
1answer
14 views

Math + DejaVu Sans Mono fonts

people! I'm having some trouble to make a thing in LaTeX. I want to use math's font in my document like I show in the next image: But I want to use DejaVu Sans Mono as my monospace default font ...
0
votes
1answer
32 views

Designing a notation for the “even part” or “even floor” of a number [on hold]

The largest even number less than or equal to either 6 or 7 is 6. Whether 6 should be called the “even part” of those numbers or the “even floor” of those numbers or something else was the topic of ...
0
votes
0answers
50 views

how many roots does the polynomial f(x)=x^4+3x^2+7 have [on hold]

According to the fundamental theorum of algebra, how many roots does the polynomial f(x)=x^4+3x^2+7 have, over the complex numbers, and counting roots with multiplicity greater than one as distinct ...
3
votes
1answer
34 views

Equations in different part of the text not aligned

I have a problem, in my document I have two sets of similar equations but they do not align. This is the text: If $\tilde{\mathbf{p}}$ is first combined with the system of Eq.\ref{inplane:eq7} and ...
3
votes
1answer
29 views

How do I improve the quality of png images when converting to html using htlatex?

I have tried to convert my LaTeX document into xhtml running the following commands (found here): htlatex source.tex tidy -asxhtml -output seconddraft.xhtml firstdraft.html Everything displays ...
1
vote
0answers
31 views

How to define a \widebreve command?

I would like to define a \widebreve command to employ with large symbols (such as $M$, or letter combinations such as $AB$) in math mode. Does someone know how to do it?
2
votes
2answers
28 views

Horizontal positioning of vertical arrows between lines in an alignment

I'm trying to get a construction like \documentclass{article} \usepackage{amsmath,mathtools} \begin{document} \begin{align*} a &= b \\ &\Downarrow \\ a &= c \end{align*} ...
2
votes
1answer
37 views

Extending/modifying commands from cool package

I started to use the cool package for my maths, especially for integrals, but also for trigonometric functions. I would like to get things like a sine-square function, for example, using a code like ...
1
vote
2answers
20 views

Adjusting vertical skip between equations

\documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} 1 + 1 = 2 \end{equation} \begin{align} 7 + 5 &= 12\\ 12 &= 11 + 1 \end{align} \end{document} ...
1
vote
2answers
25 views

Spurious blank equation line in a 'gather' environment

I have the following code: \begin{gather} u(x,t) = 0 \ \mathrm{ si\ } x = 0, x = 1\\ \label{ex1bc} \\ u(x,0) = \left\{ \begin{array}{ll} 2x, & \mathrm{si\ } 0 \le x \le 1/2 \\ ...
3
votes
1answer
114 views

absolute value in numerator of fraction

I am having trouble writing a term of an equation which is fractional where only the numerator is inside the absolute value symbol. The syntax I used is: \frac{\abs{\lambda_f}}{8\pi^2} But I keep ...
1
vote
0answers
47 views

I get an error when using \underline{x} in mathmode. Why? [on hold]

I am trying to use $\underline{x}$ but I'm getting the following error in LyX: \inputencoding{latin1} $\underline{x} $\selectlanguage{hebrew}% I've inserted a begin-math/end-math symbol since ...
4
votes
2answers
140 views

Trigonometric arc

How to be codes for trigonometric arc AB like that: ( not using kpfonts ). Thanks.
7
votes
4answers
303 views

How to implement a text “within” an arrow in math mode?

I am aware of \xrightarrow and other options using amsmath, but instead having the text over the arrow, I am looking for something like this: expression --text--> another expression Can this be ...
2
votes
0answers
46 views

All symbols in this file are wrong [duplicate]

I'm using XeLaTeX to build my homework but the commas and the parentheses are all messed up. Could someone explain this? Source code: 4). $(1,5,6,2,3,10,4,7,1)$ is a cycle of length 8. 5). Since ...
0
votes
0answers
25 views

Double subscript and missing $ error [duplicate]

As you understand the title of my question I got 2 error messages when I tried to write down following formula. Could you please help me to solve this. I expected to see second variable i under the il ...
1
vote
1answer
108 views

Mathematical formula alignment

I am trying to align my formulas and at the end of each formula I want to see number. Since I would like to explain all formulas in my report. However after making following changes, I got so many ...
3
votes
1answer
44 views

Beamer: how to change the font size in math mode?

The first image is what I have at the moment, the second image is what I would like to get. As you can see, in the second image the formula font size is a little bit bigger than in the first image. I ...
0
votes
1answer
36 views

Some Symbols Won't Appear in pdf

I am a new user and I need some help! I think I've figured out the basics of creating a document, but certain symbols are not transferring into the pdf: the box, the diamond and the "force" turnstile. ...
8
votes
3answers
109 views

Control horizontal alignment of sub/superscripts

Is it possible to modify the horizontal alignment of the sub and superscript of a symbol? That is to say, is it possible to get this pair of right-aligned sub/superscripts instead of this ...
0
votes
0answers
22 views

Bold but not italic! [duplicate]

I'm using \textbf{3} in math mode (\[ ... \]) to get a bold 3. The problem is that I'm sometimes in an italic environment. Then my 3 gets italic, too. But I don't want it to get italic. What can I do ...
1
vote
1answer
40 views

LuaLaTeX comma issue in math mode [duplicate]

I am having an issue compiling math equations. I got a weird comma symbol with lualatex. Here is a MWE and the result : \documentclass[french]{report} \usepackage{fontspec,luatextra,xunicode} ...
18
votes
5answers
835 views

\sum caused \sqrt to not be slanted

As shown in the MWE below, \sum (esp. when the index and lower/upper bounds are defined) is causing the slanty part of the sqrt sign to be not slanty. Is there a way to preserve it? ...
4
votes
1answer
32 views

Extra Space Before align* and Not Display Equation

There is an extra space between the section and the align* parts of the page. This does not occur if the equation is simply enclosed in \[...\]. \documentclass{article} \usepackage[fleqn]{amsmath} ...
7
votes
1answer
132 views

What does `corrections to accumulate` mean in the text below?

I'm reading the "Mathematical typesetting table" from MS which has been incorporated into the Standard for Open Type Fonts recently. In the section MATH – Table organization and structure there is a ...
5
votes
1answer
122 views

My inline math equation is kinda messy and I get a “ Display math should end with $$.” error

I have been muddling along with Latex for a couple of weeks now so I keep hitting a bunch of errors; this one I haven't been able to find a solution for. Basically, I have an inline math function (I ...
2
votes
1answer
74 views

Make entire equation sans-serif

So, I'm trying to use something like this: \begin{align*}\mathsf{ a & b & c }\end{align*} Unfortunately, I'm getting weird errors like this: ! Missing } inserted. <inserted text> ...
1
vote
1answer
32 views

aligning equations in latex problem [duplicate]

I am using the amsmath package in latex to align three equations. \begin{align*} &x_{1} - 3x_{2} + 4x_{3} = -4 \\ 3&x_{1} - 7x_{2} + 7x_{3} = -8 \\ -4&x_{1} + 6x_{2} - x_{3} = 7 \\ ...
8
votes
1answer
259 views

Wrong math symbols with XeLaTeX and LuaTeX after TexLive update

I just updated my TeX live installation (tlmgr update --all) and now I get some wrong symbols in math mode if I use XeLaTeX or LuaTeX. This MWE for example \documentclass{standalone} \begin{document} ...
4
votes
2answers
50 views

Annotation on mathematical symbol

Is it possible to annotate the equal-symbol like in the picture below? \begin{equation} E[|A\cup B|]=E[|A|+|B|-|A\cap B|]=E[|A|]+E[|B|]-E[|A\cap B|] \end{equation}
2
votes
3answers
99 views

Lower a constraint in the formula

How can I add the term v<-{0,1}^n to the formula as in the screenshot? $ Pr_{v \leftarrow {0,1}^n} [ Fre(A,B,C) = Ja ] \leq \frac{1}{2} $ Edit Code: \documentclass{article} \usepackage{ ...
0
votes
1answer
78 views

Ampersand like symbol latex

What is the name of this symbol, and how to make it in latex ?
2
votes
1answer
39 views

Scale a TikZ picture according to current font in math mode

I want to define a simple shape and use it as a binary math operator. This implies that it should scale when used as a subscript (e.g., the same behavior as \bigcirc). My attempts so far led me ...
4
votes
1answer
43 views

Controlling horizontal spacing in math mode in text

I am using the most recent release of TexLive on my MacBook Air. I am using the packages amsmath, amssymb, scalefnt, graphicx,and subcaption in addition to a journal's package. Like a previous ...
4
votes
2answers
64 views

Get Quotes to Top of Fraction Latex

I am trying to put a fraction in quotes in LaTeX. I have the following so far: \documentclass{article} \newcommand*{\mquote}[1]{\text{``\(#1\)''}} \begin{document} \[ \frac{f(x)}{g(x)} \implies ...
8
votes
1answer
360 views

How to use a special character as a math operator?

I'd like to use \v{C} as a math operator. However, if I write $\v{C}_r(S)$ or define \DeclareMathOperator{\Cech}{\v{C}}, the \v{C} symbol does not get shown at all. What is the proper way to handle ...
6
votes
2answers
288 views

How do I use multiple superscripts (super, super-super, super-super-super, etc) with them all smaller than each other?

I wonder how to make every superscript level smaller than each other. Like, 2^{2^{2^{2^{2^{2^{2}}}}}} makes the first superscript smaller, but the rest of the superscripts the same size as the first ...
5
votes
2answers
268 views

Best Practice: Package for Mathematical Documents - amsmath and Beyond

I am aware that best practice questions are not always appreciated since there there's not "one size that fits all". I am going to give a LaTeX introduction for phd students at my company. All ...
0
votes
1answer
43 views

ugly \overline on some characters [duplicate]

The code at the end gives As you can see, \widehat and \widetilde give good result, but \overline looks bad on some characters, especially for A, I and J. What commands or workarounds can solve ...
3
votes
1answer
78 views

LaTeX Equation left aligned with smaller fonts size

I have the sample below, When I compile and run, each step of the equation is left aligned with smaller fonts. What I'm trying to achieve is, each step of the equation should appear on a line by ...
2
votes
2answers
162 views

Long math equation needs to be displayed in a nice manner

I'd appreciate if you can assist me with re-arranging the following for getting better form in order to display this long equation. \documentclass[preprint,12pt,authoryear]{elsarticle} \rho \epsilon ...
4
votes
1answer
32 views

How to get display style in both numerator/denominator in a fraction?

Test code: \documentclass{article} \usepackage[english]{babel} \usepackage{amsmath} \begin{document} \begin{equation} z = \frac{\sum_{i=1}^N{x_i}}{\sum_{i=1}^N{y_i}} \end{equation} \begin{equation} ...
5
votes
1answer
222 views

Mathematical notation of convergence in latex

How can I type this notation in latex?
1
vote
2answers
25 views

How can I align lines to the right except the first in a multiple line equation?

I have always tried to achieve this but after a few tries decided to skip and concentrate on writing instead of solving it. I am using align environment and trying to align the multiple lined ...
0
votes
1answer
85 views

How do I get a nicer Lambda?

In computer science, the use of as the letter lambda is quite recognisable as a symbol. How can I get this in LaTeX without changing the entire font of the document/math mode? I only want to ...
6
votes
1answer
157 views

Space after semicolon

\documentclass{beamer} \begin{document} \begin{frame}{Mutual Information} \begin{align} I(X;Y)&=H\left( {X} \right) -H\left( {X\mid Y} \right)\\ I(X{;}Y)&=H\left( {X} \right) -H\left( {X\mid ...
3
votes
1answer
56 views

Use \int\limits by default, except for inline math

How can you instruct latex to use \int\limits as default for \int except when it's in inline math mode? Example: In display math: \int is replaced by \int\limits In inline math: \int should stay ...
2
votes
1answer
31 views

How to make the distance between two rows larger in array?

I found a mathematical formula in mathdesign document, it looks good and elegant When I try to type it as it looks, what I got is always not as good as origin. The code I use is ...
1
vote
1answer
174 views

Bold advanced math symbols

I am looking to get bold math symbols beyond simple characters. In particular, I'm having trouble with the following: \bm{$a\xleftarrow{r} b$} I've tried using several other packages besides bm, ...
2
votes
1answer
40 views

How to write notations of equations in LaTeX. (Text and Mathematical operator together) [duplicate]

I want write the following sentences in LaTeX. n_e and n_i are the density of electrons and ions; m_\alpha and Z_\alpha are the mass and charge number of species \alpha; v_e and v_i are the ...