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

learn more… | top users | synonyms

2
votes
1answer
16 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? ...
0
votes
0answers
24 views

Splitting commands over multiple lines

We have a command used to typeset things in a specific font and colour. Sometimes, what is given to this command is large and it needs to be split into multiple lines within the same align or ...
1
vote
1answer
25 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
155 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
0answers
15 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
0answers
32 views

Attempting to replicate some beautiful papers I have recently read

I have recently read some really beautiful papers: https://web.eecs.umich.edu/~zmao/Papers/conextDefendHijack07.pdf http://rio.ecs.umass.edu/mnilpub/papers/securecomm07.pdf Is anyone able to ...
0
votes
1answer
19 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
43 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 ...
0
votes
0answers
15 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
128 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
38 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
42 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
39 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
224 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 ...
0
votes
2answers
33 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
66 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
48 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
151 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
57 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
25 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
33 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? ...
2
votes
1answer
129 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
50 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
28 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
52 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
80 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 ...
4
votes
1answer
121 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 ...
2
votes
1answer
31 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
28 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
52 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
40 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
63 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
44 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
77 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 ...
2
votes
1answer
39 views

Making \xrightarrow longer but without using spaces

I have this table, and as you can see I make the last arrow longer with loads of spaces. Is there a better way to make it as long as the other \plusarrows but at the same time with a centered text ...
4
votes
1answer
83 views

Symbols for left and right limits

I am using lualatex, are there symbols for left and right limits, like small "-" and "+" to put above the numbers? For now I use \documentclass[a4paper,12pt]{book} \usepackage{fontspec} ...
4
votes
3answers
47 views

Align an aligned environment nested into split

I want to align the lines inside an aligned that is nested inside a split with the rest of the equation. This is an example: \usepackage{amsmath} \begin{equation} \begin{split} \text{max:} ...
1
vote
1answer
47 views

Appropiate size of mathmatical formula in a text

I used this code to inset a mathematical formula in my two-columns text. ($Prob_{SVM}-Prob_{MLP}$) Comparing to normal text, Isn't it a little big and inappropriate? How can i fix it?
2
votes
0answers
19 views

Put parentheses by default when referencing an equation [duplicate]

I have this equation: \begin{equation} \label{eq:helicsol} x = y \end{equation} and then I have: As we can observe, the solution of \ref{eq:helicsol} and I get: As we can observe, the ...
5
votes
1answer
85 views

How to get LaTeX to ignore a specific warning?

I use \over even though it is a bad practice (yes, yes, I know I shouldn't). Whenever I compile a LaTeX file using it, I get the message: Foreign command \over; \frac or \genfrac should be used ...
1
vote
1answer
51 views

Even vertical spacing in multline and gather environments

Using fractions or expressions with sub- and superscripts may lead to uneven vertical spacing in math environments spanning several lines (i.e., align, gather, multline,...). A fix for align was ...
1
vote
0answers
48 views

Collection of all definitions, theorems, etc. as flash cards

Is there a way to collect all definitions, theorems, corollary etc. at the end of an document as flash cards in din a6 in landscape? Without copying all the data again? So that the document contains ...
3
votes
1answer
60 views

How to move amsmath equation label into LHS margin?

I am using amsmath and I would like to move the equation label into the left hand side margin aligned with the top of the equation. I have looked through the documentation but I can't find anything on ...
2
votes
2answers
57 views

How to box aligned equations

\boxed{ \begin{align*} x &= 1 \\ y &= 1 \end{align*} } obviously doesn't work/compile.. \begin{framed} \begin{align*} x &= 1 \\ y &= 1 \end{align*} \end{framed} sort of work, but ...
7
votes
4answers
116 views

Aligned underbraces between amsmath equations

I have an \amsmath aligned environment containing some equations aligned with &=. I want to be able to place underbraces between the equations in such a way that that both the contents and “point” ...
6
votes
2answers
139 views

Define certain letter in math-mode to be always non-italic - using unicode-math in lualatex

I once had this question a while ago, asking about how to set the letter j always to be non-italic j in math mode without using \mathrm. The provided solution was: ...
1
vote
1answer
73 views

Extra alignment tab has been changed to \cr. <recently read> \endtemplate [duplicate]

I need to insert a 19x19 matrix in my article, but when I try this code: \begin{vmatrix} 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 & 1 ...
3
votes
1answer
48 views

Missing } inserted. \end{alignat}? why this error keeps on popping up?

here is a part of my code, which I am trying to run. \begin{alignat}{2} [M]: \max_&Z ~ \label{eqnP27}\\ \mbox{s.t.}~ %capacity constraints & \sum_{k \in H} y_{k} \leq ...
3
votes
1answer
54 views

\begin{align} not working as expected

In this small snippet of code, I'm doing quick derivation to arrive at an equation to be used later in the analysis: $ |\vec{F}|=q|\vec{v}||\vec{B}|sin(\theta)\\ m\frac{v^2}{r}=qvB\\ ...
5
votes
2answers
114 views

Missing number, treated as zero with amsmath and calc

This simple code produces "Missing number, treated as zero" \documentclass{article} \newcounter{test} \newcounter{testtwo} \usepackage{calc} \usepackage{amsmath} \begin{document} ...