Skip to main content

Questions tagged [amsmath]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
34 views

Reverse arc above letter

Using stackrel we can obtain a reverse arc above X: $\stackrel{\smile}{X}$ The reverse arc is not so close to X, what can we do to make it closer? Is there something similar to \wideparen but that ...
mathex's user avatar
  • 135
1 vote
0 answers
34 views

how to get rid of this warning "amssymb should not be used in conjunction with mbdch"

I am writing an article in East Asian J of Applied Mathematics. The preamble is \documentclass{eajam} %%%%% journal info %%%%%%%%% \setcounter{page}{1} \renewcommand\thisnumber{x} \renewcommand\...
ajey tiwari's user avatar
1 vote
1 answer
48 views

How can I create a left-aligned table of a fixed width containing equations?

My goal is to create a two column table with fixed column widths where each row contains two individually numbered left aligned equations. However, when putting equations inside a table with the W or ...
paddi's user avatar
  • 13
0 votes
3 answers
81 views

Any easy way to get boxed \implies arrows?

Trying to write my math solutions and I'm looking for a boxed \implies arrow as in the photo. I'm looking to separate out the 'if' and 'only if' implications in my proofs so suggestions that make ...
Jeff8770's user avatar
2 votes
4 answers
143 views

Avoid underset text overlaping

As you can see, underset on right hand becomes overlaped. How can I avoid this? This is my MWE \documentclass[14pt]{article} \usepackage{amsmath} \usepackage{mathtools} \newcommand{\lunderset}[2]{\...
user3204810's user avatar
  • 1,539
0 votes
1 answer
31 views

Problem when combining \widebar and \mathring

I have been using the \widebar command defined in https://tex.stackexchange.com/a/60253/326104. It has worked perfectly so far, but it has run into problems when writing \mathring{\widebar{k}}. The ...
Josemi's user avatar
  • 1
1 vote
0 answers
35 views

amsmath and lmodern incompatibility [duplicate]

I noticed that \usepackage{lmodern} will break amsmath automatic sizing. Am I doing something wrong? (I thought that Latin Modern was the way to go, for newer documents, but it seems buggy at the ...
Atcold's user avatar
  • 1,747
3 votes
1 answer
60 views

starfont character numbers

I'm trying to use planetary and zodiacal symbols in mathematical formulae and tikz diagrams. I found a useful code online on how to declare the characters of the starfont package as mathematical ...
Coenraad van Schoor's user avatar
3 votes
3 answers
183 views

Defining a functional map

I am trying to define in latex the following function: We also want everything to be aligned. I tried including another align environment but it seems this is not possible: \begin{align*} \Psi: C([0,...
mathex's user avatar
  • 135
0 votes
1 answer
11 views

error when using intertext in aligned environment [duplicate]

In a quick demonstration, I would like to add additional text using the \intertext command. I don't understand why I get an error: Package amsmath Error: Invalid use of \intertext. I checked the docs ...
Nicolas's user avatar
  • 1,297
2 votes
2 answers
221 views

How can I write these expressions better?

I have no idea how to make it the right way. I have this warning message "Underfull \hbox (badness 10000)" (I have no idea what it means but I guess it has to do with the successive \hfill.) ...
chicao's user avatar
  • 39
0 votes
0 answers
32 views

How can I write this the right way? [duplicate]

I want this exact same layout (or something similar): I have no idea how to make it the right way. I have this error "Underfull \hbox (badness 10000)" (I have no idea what it means but I ...
chicao's user avatar
  • 39
4 votes
1 answer
119 views

Superfluous space at start of aligned inside multlined

In the following LaTeX document, which uses the aligned environment inside multlined, there is an superfluous space after the opening { compared to when multlined is replaced by split: \documentclass{...
usertcl's user avatar
  • 85
0 votes
1 answer
30 views

Strike-through text paragraph containing equations

I have several paragraphs of text that contain equation environments and in-line equations. How do I cross out/strike through these paragraphs using ulem package? I tried the suggestions in this ...
Medulla Oblongata's user avatar
2 votes
0 answers
68 views

Nicematrix not working version 6.28 2024-05-29 [closed]

I'm using TeX Live 2019/Debian and I did the procedure accordingly https://www.ctan.org/tex-archive/macros/latex/contrib/nicematrix. However get error nicematrix.sty: erro: 35: Undefined control ...
wccmachado's user avatar
3 votes
1 answer
77 views

How to make amsmath gather not floatable

I want my equations to be typeset inside one amsmath environment and all be numbered. For this, I decided to use gather environment. But I ran into problem, that it break page when equations ...
Intolighter's user avatar
1 vote
1 answer
57 views

How to redefine the align environment in terms of itself?

I'm trying to redefine the amsmath equation environments to do some regex parsing of their contents. Something is going wrong with the environments that allow alignment tabs. Here's a MWE of the ...
srossd's user avatar
  • 125
2 votes
1 answer
59 views

Squished ```\equiv'''

I am looking for a "squished" three-line equality symbol, \equiv, as in the picture below. Is it possible to produce such a symbol without it looking too similar to equality and \equiv? ...
John's user avatar
  • 137
0 votes
3 answers
56 views

How to typeset the a combination of math and a plot

I want to to typeset the following equation as in the picture in LaTeX, but I have no idea how to do it. I know how to typeset the l.h.s. but I have no idea for the r.h.s. Could you please help me ...
AYBRXQD's user avatar
  • 759
2 votes
0 answers
87 views

Latex text reversing with Babel package

I am using the babel package, which causes text-reversal when combined with amsmath. The exact list of packages I use is: \usepackage[utf8x]{inputenc} \usepackage[hebrew,english]{babel} % Workaround ...
TheEmeritus's user avatar
3 votes
2 answers
70 views

Automatically typeset subscripts upright - how to make it compatible with greek letters?

I am looking for a way to typeset subscripts (that may contain greek letters and umlauts) upright, as a default, when using math-mode. Upright subscripts as a default have been asked for before, and ...
armel's user avatar
  • 53
2 votes
3 answers
89 views

Wedge inside of itself math symbol

If we use \usepackage{amsmath} we get a symbol \Cap which, when rendered in math mode, produces an intersection symbol \cap inside an intersection symbol. How can we produce \Wedge for \wedge? (I.e., ...
John's user avatar
  • 137
0 votes
1 answer
30 views

Equation labels increase the counter in LaTeX amsmath

I couldn't find a thread that has this issue (though related ones that where distinct in some point and did not help): \documentclass[12pt]{book} \usepackage{a4wide} \usepackage{fancyhdr} ...
Dr_Fleischmann's user avatar
1 vote
1 answer
21 views

Cross Referencing Equations with Hyperref: No Capital Letter

I'm using the packages amsmath, hyperref and cleveref to cross reference equations. Is there any way to suppress the capital letter? \documentclass{article} \usepackage{amsmath} \usepackage[pdfa,...
s28's user avatar
  • 107
4 votes
2 answers
151 views

Aligning equal signs and brackets at the same time

I wish to have the following . This is the code to generate the image above. \begin{align*} \vec{a}\dvec{B} = \vec{a}(\vec{b}\wedge\vec{c}) \\ \vec{a}(\vec{b}\wedge\vec{c}) = (a_x\hx + a_y\hy ...
Octonions's user avatar
1 vote
1 answer
50 views

How do you automatically layout a large number of equations?

When defining a relation (for example, the provability relation in the example at the end), it is often the case that a large number of rules are given. To layout them, I usually use the gather* ...
user avatar
0 votes
1 answer
118 views

How can I write this on latex? [closed]

How can I write: On latex, I used \[ \] math command for the __ __ and \phantom for the spaces: but i cant seem to get the "set of choices" directly under it in the desired fashion: How ...
muzan muzan's user avatar
1 vote
1 answer
33 views

How to align some lines to a specific alignment, and some other lines to another specific alignment, where some lines has justified text?

See the following: First line has the question "What is wrong ...?", it starts from the specified margin in latex, that is 2 cm. Then 2nd, 4th, 6th, 8th, and 10th lines all start from same ...
Hussain-Alqatari's user avatar
1 vote
1 answer
58 views

Why this wrong horizontal spacing in mathmode?

I'm having a spacing glitch that I don't understand, while it should be obvious: \documentclass[12pt,letterpaper,twoside]{book} \usepackage{lmodern} \usepackage{amsmath} \begin{document} Blabla: ...
Cham's user avatar
  • 2,328
3 votes
0 answers
116 views

Incorrect matrix bracket height with `unicode-math`

I need to use the package unicode-math in my document, but this makes the height of the brackets in the matrix look too short. (The matrices of order 2 seem to be normal, though.) I have tried various ...
Inverted Pastry's user avatar
3 votes
1 answer
96 views

Problem with multiple \label

When I compile my code, I get an error "Package amsmath Error: Multiple \label's: label 'eq:melangeAFAf_avtVefaible' will be lost I don't understand it because I only have this label once in my ...
Nicolas's user avatar
  • 1,297
0 votes
0 answers
25 views

Matrix with lot of columns [duplicate]

This is my code but the 2 last columns are placed in the next line. \begin{align*} \textcolor{orange}{J_{h^*}(j(vec(\theta)))}=\textcolor{orange}{J_{a_2}(j(vec(\theta)))}&= \begin{pmatrix} \frac{\...
user320803's user avatar
0 votes
1 answer
26 views

Using multiple labels in an align and aligned environment

I've got four equations, split into two groups, and I want to label them accordingly using: \begin{align} \text{Group 1} &\left\{ \begin{aligned} &y=x, \label{eqn:eqn_1} \\ &y=z, \...
user19904's user avatar
5 votes
1 answer
82 views

How to center 1st equation and align the rest?

I want to center the top equation and only align the next 2. How do i do this ? \documentclass{article} \usepackage[twocolumn,margin=2cm]{geometry} \usepackage{amsmath} \begin{document} \begin{align} ...
Kong's user avatar
  • 2,471
0 votes
2 answers
93 views

Mathematical formula: max

How to write the following using latex? Unfortunately, $\max_{\beta in \mathbb{N}^d}_{|beta| \leq k}$ doesn't appear like this, we want the terms under max to appear just like in the picture
mathex's user avatar
  • 135
3 votes
2 answers
273 views

Alternative for an exponent's position

Is there an elegant way to adjust the position of an exponent for a particular parameter ? For instance, in this image, we can see that the exponent is too close from the main letter R and the indexes ...
Waxler's user avatar
  • 860
7 votes
2 answers
179 views

Vertical spacing of argmin subscript

In my documents, I define \argmin with the following command. \DeclareMathOperator*{\argmin}{arg\,min} IMO, the subscript (in display mode) is too far from the operator (because of the depth of the &...
inavda's user avatar
  • 251
2 votes
2 answers
125 views

How to center numbers in "alignedat" in LaTeX

When using alignedat to center numbers in equation. \usepackage{amsmath} \begin{document} \begin{equation} \left. \begin{alignedat}{5} a=&\frac{\frac{123 \sqrt{\frac{45}{6}}}{...
Y. zeng's user avatar
  • 2,105
0 votes
1 answer
32 views

Cases inside a corollary

I do not like that the cases (items 1 and 2) are not no the same vertical axis. I would like to move the 1 to the axis where 2 is on. \begin{corollary}[Измеримость и мера декартово произведения ...
Maroon Racoon's user avatar
0 votes
1 answer
62 views

problem with revtex / amsmath.sty

I'm not an expert, just a latex user. My computer uses MacOS 10.13.6 High Sierra operating system. One day it was necessary to reinstall TexLive and after that, revtex files that previously compiled ...
Daniel Muller's user avatar
3 votes
1 answer
96 views

How to make the right ends of equations in a split environment to align vertically?

I have an align environment inside of which I use a split environment to split the second long equation: I would like to ask how to push + h and + k to the right such that their right ends are the ...
Analyst's user avatar
  • 189
0 votes
1 answer
60 views

How to write below boolean symbols in latex?

I want to write something like but simply writing _ after \land does not work.
A J's user avatar
  • 85
0 votes
1 answer
18 views

Forcing table on even page in memoir's subindices messes with amsmath's \numberwithin

When I use the Schweinebacke's solution to ensure that a table is placed on an even page inside memoir's subappendices environment together with amsmath's \numberwithin, then \numberwithin doesn't ...
Fredrik P's user avatar
  • 1,418
3 votes
1 answer
82 views

Arrows from one line to another in align environment

I'm trying to recreate the following equation with arrows on the side using the witharrows package. I've got something similar using the following code, but it doesn't look nearly as neat as the ...
jerremaier's user avatar
1 vote
1 answer
30 views

Strict top margin with align and \allowdisplaybreaks

In the following LaTeX document, which uses the align environment with \allowdisplaybreaks, the second equation extends into the top margin: \documentclass[a4paper]{article} \usepackage{amsmath} \...
usertcl's user avatar
  • 85
1 vote
1 answer
107 views

Encountering a warning while running the Overleaf document, "Package amsmath Warning: Unable to redefine math accent \vec."

Following are the packages which I have used in the document. \usepackage{amsmath} \usepackage{lipsum} \usepackage{graphicx} \usepackage{amsfonts} \usepackage{algpseudocode} \usepackage{algorithm} \...
Thushara G.A's user avatar
0 votes
0 answers
63 views

Problem with widehat command in lualatex

I have a problem with the widehat command in lualatex. I have loaded the lualatex-math package that fixes some of the problems. Here is MWE. \documentclass{article} \usepackage[fleqn]{amsmath} \...
S. Venkataraman's user avatar
2 votes
1 answer
46 views

Problem defining environments using \newtheorem

I'm writing my thesis and I encountered a problem while trying to use amsthm and particularly trying to define new environments using \newtheorem. \documentclass[12pt]{report} \linespread{1.5} \title{...
Euler's user avatar
  • 21
0 votes
1 answer
47 views

How to set length \abovedisplayskip in preamble

I need to remove vertical space before all align environments. I found that I can \setlength{\abovedisplayskip}{0pt} to achieve this. But this command only works when is written inside document ...
Intolighter's user avatar
2 votes
1 answer
83 views

Tagging several consecutively aligned lines with one centered tag

I want to reference an equation that is too long to fit on one line, but I do not want the tag to be at the end of the second line. This is the current latex I have: \begin{alignat}{3}\label{eq:...
TimeTravelPenguin's user avatar

1
2 3 4 5
70