{amsmath} is a package provided by AMS that enhances LaTeX's mathematical typesetting capabilities in various ways.

learn more… | top users | synonyms

12
votes
2answers
425 views

How to make underbrace label text wrap at brace width?

Is there a way to make underbrace label text automatically wrap at the underbraces width, preferably even with automatic syllabication? Example where brace label text exceeds underbrace width: ...
2
votes
1answer
46 views

New gather and equation environments with a single counter

So I've created a new equation-style environment with an associated counter to track a certain set of definitions I introduce in my document: \newcounter{defcounter} \newenvironment{defeq}{% ...
1
vote
1answer
55 views

Multi-row text comment in align environment

I am wondering what is the best way to make multi-row text comments in the align environment. Here is an example code: \begin{align*} \int \left( \frac{x+3}{2}\right) \, dx =& \int ...
2
votes
1answer
52 views

Distinguishing a symbol from a character around it while typesetting

When typesetting the LaTeX in Math mode is it safe to create a space (one carriage return) around a LaTeX symbol to isolate it from the surrounding character instead of enclosing the surrounding ...
5
votes
2answers
91 views

How to set \qedhere properly within “alignat*” environment?

The last part of my proof is formatted in an alignat* environment. How do I make \qedhere appear correctly? The naive approach (as you would do with align*): \documentclass{article} ...
7
votes
2answers
166 views

French equation numbering using bis, ter, etc

As a corollary to my other Question "French section numbering using bis, ter, etc", I am looking for a way to number equations by appending "bis," "ter," and other latin suffixes after the equation ...
1
vote
4answers
57 views

What is the command to add newline linebreak in \sum \prod? [duplicate]

I am sure this question or similar has been asked but I cannot find it by searching so adding it to make it more accessible: what is the command/environment to add newline linebreak in \sum \prod so ...
2
votes
1answer
87 views

How can I write a big set in overleaf

I want to write a set with 14 elements, for that I am using this but this keeps it all in one line and half of the set is visible only ...
1
vote
2answers
149 views

What kind of font is used in math mode of LaTeX?

For some reasons of compatibility and interactivity I need to create my own simple system for drawing the formulas. (So I need standard math sybols and something like \mathcal{N}.) Is there a way ...
2
votes
2answers
118 views

How to put a long equation spanning two columns while using IEEEtran?

I am using the IEEEtran document class to generate my PDF file so that it has two columns, but now I get a long equation and I cannot put it into just one of the two columns. Thus I used \onecolumn at ...
2
votes
1answer
75 views

How to make normal subgroup sign in overleaf? [duplicate]

Overleaf is saying that both \unlhd and \trianglelefteq are undefined control commands, although \traingleleft works fine. How else can I make normal subgroup symbol i.e. with an equality sign ...
4
votes
1answer
480 views

Formatting a fractional exponent in display math

Typographically, what is the correct way to display a fractional exponent in display math mode? There was a post regarding inline math, but consider this example. \documentclass{article} ...
4
votes
2answers
43 views

scale down first half of split math equation

I need to scale down my math equation, I looked on the forum and it only addresses one part of my problem, splitting the equation into two lines, but the first line still exceeds the textwidth. I dont ...
2
votes
1answer
57 views

How to number a given equation in the align* environment such that the number depends on the whole document?

\documentclass{amsart} \begin{document} We have \begin{align*} x^{2} &= x\cdot x\\ &= x^{6/3} \end{align*} for all real $x$ \end{document} To illustrate, suppose I would like to number ...
1
vote
1answer
89 views

How can I align multirow and multicolumn equations?

There is a multiline and multirow equation: \begin{equation} \begin{cases} f(x)=\frac{1}{12} \cdot x \quad g(x) = \frac{1}{24} \cdot x, & x<12 \\ f(x)=1 \quad g(x) = \frac{1}{8} \cdot x - 1, ...
3
votes
2answers
264 views

Hide Text with Latex

So I was wondering if there is some commands or/and packages that allows us to hide text (I didn't find an answer here on the site ...) , because I really need it for hiding hints in some math article ...
1
vote
2answers
645 views

How can I make comments inside an equation?

How can I make comments inside an long equation, something like: \begin{equation} G(r) % comment here = \frac{A}{B} = \frac{\frac{t_c}{3}}{2 \cdot \frac{2t_b + t_v + t_c}{r}} = \frac{t_c}{6 \cdot ...
5
votes
2answers
541 views

flalign doesn't work in for me

I want to left justify my equations using flalign. However,it works in some places and doesn't in others. Below is a sample of my code \documentclass[12pt]{article} \usepackage{amsmath} ...
2
votes
1answer
76 views

Combining enumerate and align works in theorem environment, but not outside the theorem environment

I was using MWE 1 (which worked fine), but now I want to get rid of the theorem environment (MWE 2). However, that does not work and I get the following error. Any idea how I can make MWE 2 work? ...
1
vote
1answer
35 views

How can i put in a limit a letter with undescore letter?

well, i have to write the limit in latex, but i don't know why i can't write un underscore caracter in the limit argument.
5
votes
2answers
329 views

Left - Right 'Double' curly brace (Blackboard bold) symbol

I am looking for a 'double' brace symbol (aka Blackboard or Doublestroke) like this - but for curly braces instead of square brackets. The symbol is used to denote the average in discontinuous ...
0
votes
1answer
51 views

How to include bold+italic font in an equation

\documentclass[a4paper,12pt,numbers=noenddot]{scrartcl} \usepackage{mathtools} \usepackage{amsmath} \begin{document} \begin{equation} \mathbf{R}_I(\mathbf{u}_{e}) = ...
0
votes
1answer
56 views

mathfrak in htlatex

In LaTeX mathfrak command is working fine and when using htlatex it's converting and not viewing in the HTML file. This is Bug in htlatex? My MWE is: \documentclass{book} ...
0
votes
2answers
294 views

Package for Not Equal to sign in latex

I am new to latex. I need to write the following equation in latex. I have tried following packages:- \usepackage{amssymb} \usepackage{amsmath} L1 \cap Li \neq \Phi But i constantly get error ...
3
votes
2answers
185 views

sum symbol in tikzposter too small

I am using the tikzposter package and am fairly happy with it except for one small thing: When I have an equation with a sum the sum becomes ridiculously small. I have read the questions about ...
8
votes
2answers
158 views

Increase size of fractions on multiple lines

Inside a matrix, I have some very loaded (subscripts, greek letters, \breve) fractions: \begin{equation} Q_r = \begin{bmatrix} \frac{\partial \breve{y}_r}{\partial \theta_1}\bigg|_{t_1} & ...
2
votes
1answer
51 views

How to align over multiple lines?

So I have some lines of formulas that I want to align: \Xi_c=(0.136,\ 0.307,\ 0.057^+\ ||\ 0.194^-,\ 0.148,\ 0. 087, 0.074)\ \text{ and }\ \aleph_c=[\varnothing]. and \Xi_c=(0.136,\ 0.307,\ 0^+\ ...
2
votes
1answer
83 views

Vector with boldface and a hat on top

Could one of you help me on how to get the following: I need a boldface vector with a hat on top, something like the vector with boldface and a hat as below: ${\mathbf \hat{p}}$ or $\bm{\hat{p}}$ ...
3
votes
2answers
80 views

Theorems spanning pages without losing width

I use declaretheoremstyle to declare a theorem environment. I like the format of shaded, it gives a special background color without shorten the width of a text. But one problem is that a theorem ...
10
votes
4answers
352 views

Indices with German Umlaut ä - \mathrm{} or \text{}?

I'm wondering about the correct use of \mathrm{} and/or \text{} (or similar) in formulas. I've read these topics (and some more): Is there a preference of when to use \text and \mathrm? and ...
1
vote
2answers
47 views

Eulerian polynomials of the second kind with \genfrac?

The Eulerian polynomials of the second kind are defined as (see for example here) E_n(x) = \sum_{m\ge0} \left\langle\!\!\left\langle n\atop m\right\rangle\!\!\right\rangle x^m . I would like to ...
3
votes
2answers
108 views

Regression equation font face for long variable names

I'm writing a paper for a journal that contains several regression equations (a first for me). Some of the models have long variables names (between 2-7 characters in length). I'm wondering what the ...
2
votes
1answer
140 views

Math Formula is too long exceeds column width

I have a formula below which is expected to be in an column. After compiled, it is too long and covers two column. How can I constrain it into only one column width? Thanks \begin{equation} f'(u,v) ...
7
votes
4answers
205 views

Multiple matrix equations, alignment

I want to write three matrix equations on multiple lines so I'm using alignat. However, the widths of the matrices on each line are not equal. How can I make sure they will be? I've been looking ...
1
vote
1answer
1k views

File ended while scanning use of \frac

I keep receiving the error message File ended while scanning use of \frac ." and have narrowed the error down to this equation, though I can't work out why. \documentclass [12pt] {report} ...
1
vote
0answers
26 views

Why do I get an error when putting more elements in a row of a bmatrix? [duplicate]

I'm using bmatrix to display a simple matrix. Curiously, this does not work with a 1x11 matrix, while it does work with a 1x10 matrix: This works just fine: $$ \begin{bmatrix} a_1 & a_2 & ...
2
votes
1answer
102 views

Horizontal alignment in multicols

I was working with math equations in multicols, but the equations don't seem to align (i.e. (a), (c) and (e) do not horizontally align). Is there any easy workaround for this? ...
4
votes
1answer
196 views

missing $ inserted on code

I am certainly new to latex and have this error in a high frequency in my code. The error is claiming I have a missing $ sign in many places, and I imagine that my syntax usage of $ is off. My ...
1
vote
2answers
57 views

How can I typeset this optimisation problem?

I need to reproduce the following equation: I've tried the following: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \begin{aligned} & \text{minimize} ...
0
votes
2answers
39 views

Long set description

I want to define the following set whose description is too long. How do I break it into two? $L_4 =\lbrace{ w \mid w \text{ every } 1 \text{ in } w \text{ is either preceeded or followed (not ...
3
votes
1answer
353 views

New command: Hypothesis

I'm new with Latex and trying to get four hypotheses in the following style: Hypothesis 1 (H1): This is my first hypothesis. I'm using the amsmath package and the following code: ...
3
votes
3answers
116 views

Arrange long multiple equations with texts between them

I have aligned the equations in the following way but using multiple \qquad. I don't think it is a good practice to do so. Moreover the equations should fit within the width of the document. What I ...
6
votes
1answer
215 views

Standard for typesetting mathematical objects other than variables

Is there a standard in mathematics for typesetting the textual (not symbolic) identifiers of mathematical objects other than variables? Textual identifiers of mathematical objects other than ...
3
votes
1answer
80 views

Fixing the spacing of overbrace and underbrace contents relative to large brackets

Consider the code for the MnWE: \documentclass{article} \usepackage{physics} \usepackage{mathtools} \usepackage{amsmath} \begin{document} \begin{equation} \norm{f - L}_{\infty} = ...
2
votes
1answer
69 views

Command \* already defined

I have included the package amsmath as required to defined a new theorem/corollary (without number), but I keep having the following error: ! LaTeX Error: Command \* already defined. Now, ...
0
votes
2answers
282 views

Aligning Multiline Matrix Equations

I need to align two equations, one of which spans two lines. I've tried the solution here, but this isn't for matrix equations, and it doesn't seem to work with these. My minimized code is: ...
1
vote
1answer
49 views

Looking for a more elegant (correct) way of creating a formula

I wanted to achieve the following: And I did but my code looks like it was in a major accident: \documentclass{article} \usepackage{amsmath} \usepackage{stackengine} \begin{document} ...
3
votes
3answers
113 views

Alignment of formular after linebreak in amsmath (flalign)

I am trying to achieve something like this: in amsmath. The best I could come up with so far is the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{flalign*} ...
4
votes
1answer
69 views

Subequations with varioref and cleverref

Can somebody tell me why the references don't work in this example? \documentclass{article} \usepackage{varioref} \usepackage{hyperref} \usepackage{cleveref} \usepackage{amsmath} \begin{document} ...
3
votes
3answers
111 views

Adjusting the description about an equation in Latex

I have to write the "Where" text about an equation as shown the given picture. The "Where" text appears to the left side which seems a little awkward as per the standards. Please suggest me, how can I ...