{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
0answers
56 views

Writing formula in LaTeX

How can I write the formula shown below? I am new to LaTeX and I found how to write upper bounds but it is getting really complicated writing it as a whole.
0
votes
0answers
33 views

Put one part of sentence outside $ math environment

I want the 'assume' written in normal style. So not within the math environment so it becomes italic. This is my code \documentclass{article} \usepackage{amsmath} \begin{document} ...
3
votes
1answer
29 views

Libertine with sfmath and siunitx in Beamer

I am trying to use the Linux Libertine fonts with sfmath and siunitx package but it doesn't work with beamer class. \documentclass[11pt]{beamer} \usepackage[utf8]{inputenc} ...
13
votes
4answers
653 views

Using LaTeX to solve math problems in LaTeX more efficiently than with only paper

I have been always solving math problems in LaTeX without pen and paper, since a few years ago. Some have (many) lines of words, some (many) lines of equations, and some of both. When I saw that I ...
2
votes
1answer
29 views

Footnote in stackrel positioned too high

In my document, I'm using symbols for footnotes (*, †, ‡, etc.). However, when I place a footnote mark inside stackrel using \stackrel{\footnotemark}{=} for example, the symbol is positioned too high. ...
9
votes
2answers
528 views

Environment to allow line breaks at “,” in math mode

I find the question and accepted answer to Allowing line break at , in inline math mode? very useful, BUT I would like to make an environment (e.g. "allowbreaks") out of it. The problem is that I'm ...
2
votes
2answers
59 views

Problem in writing the equation: missing delimiter

I tried a lot but unable to solve this equation. \documentclass{article} \usepackage{booktabs} \usepackage{multirow} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} ...
1
vote
0answers
29 views

Add menu button in notepad++ to insert math symbols for use with latex [on hold]

as in the title, I'm looking for a menu button (or similar) for notepad++ that shows (mathematical) symbols to insert them (such as \Rightarrow, integration symbol, greek letters ...) into the .tex ...
1
vote
3answers
58 views

Linebreak inside 'align'

I tried to linebreak inside math mode which did not work. So searching for that led me to try using 'align' instead. So I'm trying to break a line inside align with the following code: ...
0
votes
0answers
30 views

Equivalence Conditions in a Theorem

If I want to write a math paper with a theorem of the form If A and B are real numbers, then the following conditions are equivalent: 1. A = -B; 2. -A = B; 3. A + B = 0. Furthermore, the ...
7
votes
2answers
4k views

How to switch to upright greek in math mode?

I use libertine and newtxmath font packages, they provide upright greek letters. However, there is no way to conveniently swith between italic and upright greek letters. I need a command, simillar to ...
9
votes
3answers
696 views

Does the comma look the same within/without the dollar signs?

In math mode when I type a sentence, my habit was to put commas/full stops/semicolons, etc. outside the dollar sign. For example, I would write Let the variable be denoted by $x$., instead of Let the ...
47
votes
4answers
8k views

What are the differences between $$, \[, align, equation and displaymath?

I once learnt, that it is uncool to use $$, but why is that? Why does \[ not act as a abbreviation to \begin{align}? I noticed, that there is a difference, since one cannot use & and \\ inside a ...
6
votes
3answers
3k views

font size in math mode

$\sum\limits_{\substack{locations \\ L_j}}$ The word locations is quite long - longer than the summation symbol Sigma. I would like to control the size of only the word locations, but I am having ...
12
votes
2answers
720 views

Does spaces in $xy=1$ have differences between $x y = 1$?

Which way is more correct? I don't see any differences, but maybe I something missed?
4
votes
3answers
202 views

How to elongate down arrow?

\downarrow command is available in directory but it has fixed length. How can I elongate its length?
2
votes
1answer
62 views

Matrix environments not being typeset

Why does LaTeX seem to have a problem with the matrix environment, and why does it tell me something about \hbox badness 10000? \documentclass[12pt,fleqn]{article} \usepackage[utf8]{inputenc} ...
4
votes
1answer
40 views

Resizing LaTeX Math mode font

I have a simple LaTeX document here: \documentclass{article} \usepackage{polyglossia} \usepackage{layout} \usepackage{setspace} \XeTeXlinebreaklocale "th_TH" \XeTeXlinebreakskip = 0pt plus 1pt ...
5
votes
1answer
127 views

Placement of an apostrophe after a sum

I'm taking an algebra course in which we put an apostrophe after a sum to indicate that it is finite (not sure how standard this is), and I'm having trouble texing this. When writing a sum in math ...
0
votes
0answers
23 views

Problem with beamer in the math-mode for not showing parenthesis

I have a problem with parenthesis. In beamer I write $(a)$, but it display just $a$. Someone here may know how to solve the problem.
3
votes
1answer
50 views

How to create a newcommand with 2 different meanings for math mode and text mode?

I use the \usepackage{newunicodechar} to enter easily some unicode characters in math mode. For example I used unicode curled phi ( ϕ ) to insert phi in math mode. The problem is that any Unicode ...
0
votes
0answers
38 views

Using lots of symbols in general text

I am trying to reference in my report however as the referencing guide suggested includes lots of symbols ie ( :,;,<,>,/,\,[,],(,),_,~,) when i press play in latex i get the error "missing $" as ...
1
vote
1answer
37 views

Align sentences of paragraph

I have a paragraph called 'a)'. Next to the 'a)' there is a formula. Then in the same paragraph, but on the next line I have another formula, but I want this to begin at the same place as the first ...
7
votes
3answers
4k views

Different \mathcal O

I would like to get a script O looking like this: However, \mathcal O and \mathscr O give , which are slightly different. This is not the pre-1992 \mathcal O.
0
votes
0answers
32 views

To type these math declares in XeLaTeX

I am converting my codes from pdflatex to XeLaTeX Minimal case \documentclass{article} \usepackage{polyglossia} % also loads package fontspec \setmainfont{Minion Pro} % or whatever OTF you have on ...
1
vote
1answer
71 views

Boxing 4 equations with a thin gap

Currently i have. \begin{equation*} \boxed{ \begin{split} EQUATION1 \\ \\ EQUATION2 \\ \\ EQUATION3 \\ \\ EQUATION4 } \end{equation*} However the gap inbetween looks ridiculous and would ...
2
votes
2answers
35 views

Change the sans serif math font

I would like to change the sans serif math font to, say, Kurier, while keeping the roman font as the default. In other words, I'd like to change the font that is used with \mathsf whithout affecting ...
44
votes
6answers
16k views

Prevent LaTeX to break an inline math equation

I hope this question was not asked before. At least I haven't found it. I have an inline math equation and LaTeX is breaking it into two parts. In this case I'd prefer to have the whole and short ...
1
vote
2answers
79 views

How can I write a cursive letter k in math?

Using amsmath, writing $\ell$ produces a cursive lowercase letter l. I would like to have a reasonably matching cursive lowercase letter k, available through \kay e.g., so that I can write things ...
4
votes
2answers
65 views

I'm getting the error “missing } inserted” in LaTeX

\documentclass [12pt,letterpaper]{exam} \usepackage{amsmath, amsthm, amsfonts, amssymb, amscd, latexsym} \usepackage{type1cm} \usepackage{simplemath} \oddsidemargin 0.0in \evensidemargin 0.0in ...
1
vote
1answer
63 views

Upright Lowercase $\pi$ as Default

This question has helped me in creating a command for my own package (more a list of commands I defined) to force upright lowercase \pi, and so in my package I have the following code: ...
1
vote
0answers
48 views

How to avoid line break with \[ \] syntax [closed]

I know I should not use $$ $$ for math equations since it's deprecated, and instead I should use \[ and \]. But with this notation, every formula I type is centered on a new line. How can I have the ...
0
votes
1answer
52 views

No output PDFfile produced - mathmode

There is no pdf file produced even though no warning is shown. If I replace the formula with some text, the pdf output is produced. \documentclass[hyperref={pdfpagelabels=false}]{beamer} ...
3
votes
1answer
100 views

ConTeXt: Flush right formula numbers in cases environment

I would like to have the formula numbers of the cases environment flush right like regular formulas (not at a fixed distant from the cases like it is by default with the default setting ...
3
votes
3answers
941 views

Can I make LyX automatically use 'smart' parentheses [\left( \right)] in math mode?

When I type in math mode I always prefer to use the parentheses using \left and \right. Currently, I go into math mode and then press the button on the ribbon that appears in this mode and creates ...
3
votes
1answer
63 views

Polylongdivision add factors next to the steps

Well for example, take \documentclass{article} \usepackage{polynom} \begin{document} \polylongdiv{x^3 - 7x -6}{x + 1} \end{document} I wish the function to display clearly next to each ...
10
votes
1answer
4k views

LaTeX in CorelDRAW

What is a good way to get LaTeX formulas into CorelDRAW figures? I will provide a solution below, based on a rather old macro adapted to work on 64 bit systems as well as 32 bit - it works well, but ...
3
votes
1answer
44 views

The bold styles in `$\mathbf{\mathrm{x}}^*$ ` doesn't work

The bold styles in $\mathbf{\mathrm{x}}^*$ doesn't work. I was expecting to receive an upright, bold symbol x, but didn't. Why is this the case?
4
votes
4answers
197 views

Spacing after equals sign in align

I find that I have unpleasant spacing between the equals sign and (e.g.) the exponential function in this particular case, while using the align environment. I have a long expression which has to be ...
0
votes
1answer
21 views

Package `glossaries`: Temporarily disable `\makefirstuc` in `\glsnamefont` for specific entries with math content

I use the package glossaries and I have \renewcommand*{\glsnamefont}[1]{\makefirstuc{#1}} in my preamble as suggested in the documentation to make each entry start with an upper-case letter in the ...
6
votes
4answers
556 views

Split this equation up

Is there a nice way to deal with the following problem? I have an equation that is too long for a line, but I can't split it up that easily, as it contains a fraction. \begin{equation} ...
2
votes
0answers
43 views

Lower the exponent in $\hat{h}^2$ [closed]

In Mathjax, h^2 \hat{h}^2 (\hat{h})^2 results in I want the middle block, but with 2 lower.
0
votes
1answer
26 views

small equilateral triangle, for symmetry groups [duplicate]

I'm currently doing a module on pure mathematics. And one thing has been bothering me slightly, I know that the material is written using latex, in some of the chapters about symmetries they use these ...
1
vote
1answer
44 views

Question about an equation from LaTeX Search

I was randomly looking in LaTeX Search and I found the following formula: P\left( {E_n^{\left( d \right)} ,{\text{i}}{\text{.o}}{\text{.}}} \right) = 0\quad {\text{or}}\quad {\text{1}} In it there ...
0
votes
0answers
18 views

Line numbers are not showing for part of my document?

I am using "lineno" package and a paper Latex template from a journal. {the whole .cls package} the numbering was working fine after using \begin{linenumbers} and then suddenly stopped numbering from ...
24
votes
3answers
37k views

Is there a circle symbol?

Is there a circle symbol for the composition of two functions? Or do I have to resort to using other ways to represent that?
4
votes
1answer
83 views

missing } inserted, Displaying aligned matrix equations, yet braces balanced

I am trying to display in math mode two system equations aligned \documentclass[9pt,a4paper,twocolumn]{article} \usepackage[margin=1.5cm]{geometry} \usepackage[english]{babel} ...
5
votes
1answer
107 views

Math accents overlap in beamer

Consider the following MWE \documentclass{beamer} \usepackage[english,spanish]{babel} \uselanguage{spanish} \languagepath{spanish} \usepackage{lmodern} \usefonttheme[onlymath]{serif} ...
1
vote
3answers
97 views

Looking for stylized H-symbol

I'm wondering if LaTeX knows the following symbol (sorry for the hand-drawing, I didn't even find it online once): It's kind of a stylized H letter that is sometimes used to denote the Hilbert ...
0
votes
1answer
81 views

How put color in all math mode?

I want to put all math mode in a color, for example, red. But I don't know how to do that. In this web I found how to do it, but in Beamer, I want do it too in Article, Book, etc. Thanks for your ...