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

restricted maps

I want to write a 'restricted map' (a map which is equal to another map but with a smaller domain), we show it by drawing a vertical line and a subscript but I don't know if it has a specific method ...
12
votes
5answers
2k views

How to create my own math operator with limits?

How can i write my own math operator with limits? I want it to look like: \sum\limits_{e=1}^{m} but with a capital A (if possible bigger than the normal text) instead of the sum. Thanks for the ...
3
votes
1answer
31 views

How to: height of “|” depends on both sides

I want that a vertical line depends on the height of the signs to its left and to its right: i.e. \documentclass{article} \begin{document} \begin{equation} \left. AAAA \right| BBBB ...
5
votes
3answers
383 views

Braket notation in LaTeX

I am using the braket package to generate bra and ket vectors. However, I could not figure out how to do <0|0> using the package. Is there a command for this?
0
votes
2answers
92 views

Can we use Math mode in TeX using the Command Prompt?

I would like to know whether math mode in TeX, could be used, through the command line, and if so, would the document compile? I don't know the steps to follow to accomplish it, through the prompt in ...
5
votes
2answers
2k views

Vertical addition and multiplication and long division

Is there in existence packages that recreate the following environments: Some of the above have been discussed like in the How to present a vertical multiplication but what I am interested in is if ...
3
votes
1answer
306 views

Typesetting mathematical formulas in line breaking

When you typeset a mathematical formula is there a rule regarding the breaking of the formula in a new line, meaning if for instanse the formula breaks in a plus sign (+) or in a equal sign (=) then ...
0
votes
2answers
44 views

equation goes out of margin [duplicate]

\[ \left| \dfrac{(1-\beta e^{i\theta}) \sum_{k=2}^{\infty}(k-1)[1+\gamma(k-1)] \alpha_k\beta_k z^k}{B(1-\beta e^{i\theta}) \sum_{k=2}^{\infty}(k-1)[1+\gamma(k-1)] \alpha_k \beta_k z^k ...
2
votes
1answer
63 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} ...
5
votes
2answers
4k views

Angle brackets in non-math-mode text

Is there a way to directly input angle brackets into text without resorting to math-mode symbols? I'd like to correctly indicate orthography in a linguistics paper, and have been resorting to single ...
0
votes
0answers
33 views

Referring to a complete subequation environment. Is there a recommended style?

I have a subequations environment which is labelled and inside it I have an alignat environment which has a label for each line. Would you say it is ok to refer to the complete model as I do it in ...
3
votes
1answer
29 views

Using \snoc as macro name inside mathpar

I'm able to define a macro called \snoc but unable to use it inside a mathpar environment: \documentclass{article} \usepackage{mathpartir} \newcommand{\snoc}{hi} \begin{document} \begin{mathpar} ...
2
votes
1answer
50 views

Formatting matrices with vector elements along column headings?

Often I've seen the matrix equation Ax = b presented as matrix A augmented with vector b, with the individual elements x_1 ... x_n written sequentially as headers across the columns; is it possible to ...
1
vote
1answer
132 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.
1
vote
2answers
90 views

Why the font in my equation is different?

My code is \newcommand\rsx[1]{\left.{#1}\vphantom{\Big|}\right|} \begin{eqnarray} &&let \;\; L(\bf{X},\lambda,\mu)= f(\bf{X})+\sum_{i=1}^p ...
1
vote
0answers
64 views

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

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
2answers
98 views

How to write a mathematical formula in 2 lines?

I have a mathematical formula with many symbols and Greek characters, but it is too big. So I want to split it in two lines. I use \\ between $, but it doesn't work. Does anybody know how to fix it?
3
votes
1answer
40 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} ...
2
votes
1answer
35 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. ...
10
votes
2answers
545 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
70 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
3answers
67 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
35 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
5k 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 ...
10
votes
3answers
718 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 ...
7
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 ...
13
votes
2answers
766 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
215 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
65 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
48 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
133 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
26 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
51 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
42 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
38 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.
1
vote
1answer
79 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
49 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
91 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
72 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
74 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
54 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
54 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
103 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
1k 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
68 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 ...
4
votes
1answer
47 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?