{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
2answers
80 views

How to convert $…$ to \(…\) [duplicate]

So according to Why is \[ ... \] preferable to $$ ... $$? and Are \( and \) preferable to dollar signs for math mode? I should be using \(...\) instead of $...$ and \[...\] instead of $$...$$. But ...
3
votes
2answers
210 views

Make formulas start at the same point

I would like to list a few formulas which I have done as following: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{enumerate} \item \textbf{Hommes and in 't Veld AR(1) model:} ...
1
vote
3answers
54 views

Draw rays between matrix elements

I would like to draw the following mathematical expression. I tried a lot with the tabular environment, but I could not manage to get the wanted output. Can somebody help me with this? Another ...
4
votes
2answers
174 views

How to set a function with dash and subscript

In $f_3$ the subscript is higher than in $f'_3$. So how does one set a function with dash and subscript correctly?
1
vote
1answer
47 views

Packages lucidabr and yhmath results in wrong symbols

I obtained the TUG lucida fonts and used them just for testing in one of my documents which loaded yhmath too. In this document, the $\Delta x$ is used quite a lot and after looking about the ...
1
vote
0answers
58 views

Divided differences table

is there a package that will automate the typesetting of the triangular table used to calculate the coefficients used in Newton's devided differences algorithm?
0
votes
1answer
43 views

Align consecutive operator subscripts in equation [duplicate]

I have to write the definition of uniform convergence. That is, the superior limit in the succession's pointwise convergence's set of the limit for n to infinite of the absolute value of the ...
1
vote
1answer
74 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
43 views

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

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 ...
3
votes
1answer
42 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
66 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
39 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
52 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
38 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
25 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
29 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
142 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
49 views

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

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
153 views

Trigonometric arc

How to be codes for trigonometric arc AB like that: ( not using kpfonts ). Thanks.
7
votes
4answers
321 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
125 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
67 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
45 views

Some Symbols Won't Appear in pdf [duplicate]

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
128 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
23 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
57 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
927 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
47 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
146 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
136 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
85 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
39 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 \\ ...
10
votes
1answer
347 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
57 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
103 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
2answers
166 views

Ampersand like symbol latex

What is the name of this symbol, and how to make it in latex ?
2
votes
1answer
45 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
57 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
69 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 ...
9
votes
1answer
373 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
304 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
360 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
58 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
94 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
254 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
38 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
247 views

Mathematical notation of convergence in latex

How can I type this notation in latex?
1
vote
2answers
40 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 ...