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
9 views

Does this alignment of the equations look weird?

Does this alignment look weird? I hope this use of the bracket would make sense. I'm considering another way to display such as \begin{gathered} etc... \begin{equation} \begin{aligned} \label{...
SpaceTAKA's user avatar
  • 119
3 votes
2 answers
156 views

How to center a cell in the aligned environment?

I want to center an equation inside a cell in the aligned environment from the amsmath package. This is my MWE: \documentclass{article} \usepackage{amsmath} \begin{document} $\boxed{\begin{aligned} \...
Pseudonym123's user avatar
0 votes
0 answers
54 views

Plus sign is missing in equation [closed]

I am writing below equation in beamer (overleaf).Minus and plus signs are not appearing between two expressions. using \usepackage{amsmath} in code. (a *b+1/n)-(b/k -1) +(a* b/c)
sara lee's user avatar
0 votes
1 answer
52 views

How to define probabilities with underneath text? [closed]

I want to use probability where I can write some text underneath it. I have the following: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{...
pixel's user avatar
  • 1,315
2 votes
2 answers
83 views

Consistent vertical spacing in cases environment with multirow cases

I'm having trouble figuring out how to achieve some sort of consistency when I work with vertical spacing in cases environments where the cases themselves have multiple rows. In the second version of ...
Fredrik P's user avatar
  • 1,386
0 votes
1 answer
37 views

How to get math font larger than Huge in node? [duplicate]

I need to add text to a pdf, but the largest \Huge is not big enough, so I change the font size according to question's answer, but I found that this command does not work for math fonts. You can see ...
Zhao Dazhuang's user avatar
6 votes
2 answers
124 views

Titlespacing command not working for \subsection and also causing error for \section

I'm using the packages \documentclass{amsart} \usepackage{amsmath} they do not leave a vertical space between the section's title and the following text. So i'm trying to use the titlespacing ...
tutizeri's user avatar
  • 161
2 votes
0 answers
77 views

How to get a math font that is much larger than Huge?

My tex code is like this: \documentclass[border=2pt,tikz]{standalone} \usepackage{tikz} \usepackage{amsmath} \usepackage{siunitx} \usepackage{pgfplots} \begin{document} \begin{tikzpicture} \node[...
Zhao Dazhuang's user avatar
0 votes
0 answers
58 views

\bar allowed only in math mode [closed]

When I run \begin{definition} ~L'espace de H\"older $$C^{k,\gamma }(\bar{\Omega}})$$ \end{definition} I get the following error: ! Package amsmath Error: \bar allowed only in math mode. Edit:...
Ahmed's user avatar
  • 1
3 votes
2 answers
139 views

The description of my equation is not coming on the same page

\begin{frame}{Empirical specification} \vspace{-2cm} \begin{itemize} \item [] We employ the quasi-exogenous variation of an In-laws death \end{itemize} \vspace{-1cm} $$\medium{Y_{it}...
Sara's user avatar
  • 31
0 votes
1 answer
29 views

Equal spacing between equations using align or gather

Is there an option for equal spacing between equations with and without fractions? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{section}{title} text \begin{gather} a + ...
Sylvia's user avatar
  • 151
2 votes
1 answer
76 views

How to insert equal height brackets on both sides while wrapping a new line?

I'd like to input a long equation, so I had to cut it into two lines. But, there's a couple of {} at the start of the first line of the equation and the end of the second line of the equation, and the ...
Axia's user avatar
  • 69
-1 votes
0 answers
70 views

How to redefine \frac as \cfrac

How to redefine \frac as \cfrac globally in a article document in latex?
Igris's user avatar
  • 99
4 votes
1 answer
88 views

LNCS proceedings template Command \proof already defined

Trying to put my paper into LNCS format and I don't know what the source of the error here is \documentclass[runningheads]{llncs} \usepackage{amsmath,amsthm,amssymb} \usepackage[algosection,ruled,...
Hao S's user avatar
  • 848
2 votes
1 answer
130 views

\because and \therefore symbols do not follow \boldmath

I am having a trouble trying to bold a series of math equations using \boldmath command. All equations symbols seem to bold fine except \because and \therefore. To bold them I have to additionally use ...
hesham's user avatar
  • 1,445
1 vote
1 answer
172 views

When using a dot to denote a time derivative, should the dot be centred horizontally?

When I write something like \dot{\mathbf{J}}=\mathbf{r}\times -\frac{k}{r ^3} \mathbf{r}, it renders as This looks alright, but the dot above the $J$ looks slightly too far to the left. I would have ...
GibbNotGibbs's user avatar
0 votes
1 answer
55 views

The same code works for other types of displayed equations but not for "multline"

I am testing cleveref-usedon's ability on displayed equations. Below is my document for testing: \documentclass{article} \usepackage{mathtools} \usepackage{amsthm} \newtheorem{theorem}{Theorem} \...
Jinwen's user avatar
  • 8,092
3 votes
2 answers
67 views

aligned creates unwanted white space

I would like to show Vandermond polynomial. \documentclass{article} \usepackage{amsmath} \begin{document} $$\begin{aligned} \Delta=(X_4-X_3)&(X_4-X_2)&(X_4-X_1)\\ &(...
Monday's user avatar
  • 33
0 votes
0 answers
42 views

I'm getting an error while compiling some math

While using \include{selectors.tex} with a line like this: Suppose $\langle x_n \rangle _{n \in \nat}$ is a rapidly converging sequence of converges to some irrational number. I'm getting this error: ...
user2925716's user avatar
  • 1,920
2 votes
2 answers
68 views

I am trying to span lengthy equations across a two-column page in Overleaf. When I use the \begin{strip}, a digit is displayed in b/w two equations

\documentclass[twocolumn]{article} \usepackage{graphicx} \usepackage{cuted} \usepackage{amsmath} \begin{document} \maketitle \section{Introduction} \subsection{Equations} In this section, we will ...
Dileep's user avatar
  • 31
5 votes
3 answers
234 views

Adjusting the height of math floor symbol

Recently I started to play with LaTeX again just to train for when I have to use it again. I like to write mathematical formulas and I am trying to nail down floor and ceil symbols with fractions. ...
MR. PROD's user avatar
0 votes
0 answers
11 views

How to count Figures and Tables by Subsections - if the section has a subsection?

Is it possible to change the code in my MWE so that all figures in sections, which are not in subsections get no zero, like Figure 1.0.1: Testfig should be Figure 1.1: Testfig. (i.e., just counting ...
canIchangethis's user avatar
0 votes
1 answer
40 views

Split a long equation across lines with the numbering bottom aligned

I try to write this equation on overleaf and numbering in second line (the same as in the picture) but I couldn't. Another problem is when I use align or equation, the prime in max' function goes to ...
Lyn's user avatar
  • 1
0 votes
0 answers
147 views

R markdown ! Package amsmath Error: \hat allowed only in math mode

Here is the error I'm getting trying to knit my R markdown file. output file: HW4.knit.md ! Package amsmath Error: \hat allowed only in math mode. Error: LaTeX failed to compile HW4.tex. See https://...
Vladimir Lenin's user avatar
1 vote
3 answers
36 views

Breaking Long Radical Over Multiple Lines

I need help making this monstrosity look presentable: \documentclass[12pt, a4paper]{article} \usepackage{graphicx} \usepackage{amsmath} \usepackage{parskip} \usepackage{enumitem} \usepackage{float} \...
Yasen Y.'s user avatar
1 vote
1 answer
47 views

Vertical spacing around plain display math vs `amsmath` environments such as `gather`

Let us have a look at the following minimal example: \documentclass{article} \usepackage{amsmath} \begin{document} This is the first line. % \begin{gather*} x^2 + y^2 = z^2. \end{gather*} \begin{...
shuhalo's user avatar
  • 2,505
0 votes
1 answer
18 views

Small fractions in the iopart document class

I used to type many documents with amsmath package. Now I need to prepare a document with the iopart class. This class is incompatible with amsmath. How should I type then the \tfrac command? Somehow ...
yarchik's user avatar
  • 272
0 votes
0 answers
60 views

What font in mathmode gives the "T" used here to denote a Hausdorff space on Wikipedia?

In this Wikipedia article (also in textbooks) for a Hausdorff space, you see that notation for (in mathmode) "$T_2$" being used. However, as you can see in the screenshot, it is very "...
Nate's user avatar
  • 101
2 votes
0 answers
74 views

Help replicating 1960s-1990s old eastern bloc font

I have been trying to replicate the font and formatting from my old maths books from the eastern bloc, and I cannot seem to replicate it. Either the font is correctly slanted, but the shape is wrong, ...
texarch's user avatar
  • 21
2 votes
2 answers
75 views

= is not rendered at all and \neq as /

The simple code \[ \text{CIR} \left[ t \right] = \left(g_\text{loc} * s\right) \left[ t \right] \] looks like: I already found suggestions to try mathtools (same problem) instead and assure to use ...
Heikoles's user avatar
1 vote
1 answer
41 views

How can I add a dot under Chinese characters and paragraph?

I'm trying to practice TeX by typing my algebra textbook, but now I have a problem when adding dot under Chinese characters. The picture shows where I encountered this problem. I tried \dot in math ...
Zequan Bear's user avatar
2 votes
2 answers
57 views

Adjust default spacing of elements in math mode

I want to automatically add a \, between the upperlimit and the integral sign instead of having to type it mannually every time. I'm using latexocr to snip the equation and copy the latex code from ...
alksdhalksjdb's user avatar
0 votes
1 answer
50 views

How to draw a hollow 1? (Unit step, Indicator fcn, etc..) [duplicate]

I am trying to write a hollow number 1 for my unit step function. Intuitively, since \mathbb{R} provides the nice symbol for real numbers, I would imagine \mathbb{1} do the same. However: Since the ...
Power_tile's user avatar
1 vote
0 answers
23 views

Aligning function statements on separate lines within 1 enumerated problem (how to)

Using these packages to create a 2 column, enumerated math worksheet: amsmath, multicol and item. Within problems #9 and #10, I need to left align 3 items on separate lines as shown below: I tried ...
Siuslaw Math's user avatar
0 votes
2 answers
76 views

align env - some symbols are non-italic?

I am confused about the behavior of my ams align evironment. Minimalistic example: \documentclass[english]{article} \usepackage{amsmath} \begin{document} \begin{align*} \rm{d}x_{\tau} &= R(u) v \...
reloh100's user avatar
2 votes
1 answer
39 views

Insert equation labels inside a tikz(cd) diagram

I have the following commuting diagram and I want to insert equation labels as (phantom) edge labels inside the diagram (the label here doesn't work, it's pseudocode): \begin{tikzcd} A \arrow[&...
cxandru's user avatar
  • 45
3 votes
3 answers
104 views

Multi-Line Equation Alignment Across 5 Lines

I would like to present an equation in the following manner: However, utilising the amsmath package, this is the best I can get: \begin{equation} \begin{aligned} \frac{\partial}{\partial t}\left[...
Harrison 's user avatar
1 vote
1 answer
43 views

\tag is not allowed in eqnarray

I used \tag{} in eqnarray. But is not permitted and have an error "! Package amsmath Error: \tag not allowed here". Is there a solution to this? Please do as necessary after checking.
Rajasekar's user avatar
0 votes
1 answer
43 views

problem with the trasposition symbol '

I'm new to latex and I should do an assignment with some matlab code. I wrote the latex file but when I make it into pdf there's a problem with the symbol ' which is the symbol of trasposition in ...
federica's user avatar
0 votes
1 answer
36 views

Alternative numbering for AMS "Theorem" environment

I am currently writing a LyX document using the extended AMS package. My document consists of theorems of two types. So far, I used the standard Theorem environment (the one with numbering) for the ...
GSofer's user avatar
  • 103
5 votes
2 answers
230 views

Writing multiline equation in align environment -> integrals become smaller?

My goal is to reproduce the following math snippet. The problem is not the many symbols but the fact that when I use the align environment, the integral sign becomes small, which results in less '...
Pazu's user avatar
  • 255
0 votes
1 answer
48 views

Formatting Chemical Equations with mhchem in a list with Labels and Aligned Arrows in KaTeX

I'm looking for assistance in formatting chemical equations to create a list that includes labels and aligns the equations by their arrows. Currently, I'm using the mhchem package for chemical ...
vyzee's user avatar
  • 1
1 vote
2 answers
36 views

Aligning equation such that second line is more to the left than the first line

My goal is to reproduce the following math snippet: As you can see, the equal sign in the second line comes before the first character (from left to right) in the first line. I am not able to ...
Pazu's user avatar
  • 255
1 vote
1 answer
70 views

Alignment problem when I write a lot of map

When I write a lot of map the alignment of map is not good. \documentclass{article} \usepackage{amsmath,amssymb,amsthm,mathtools,xcolor,enumitem} \usepackage[hmargin=3cm,vmargin=3cm]{geometry} \...
Kaneki1013's user avatar
1 vote
1 answer
40 views

How do I put two different equations side by side in align*-enviroment?

First time being in StackExchange. I am currently facing the problem of writing a complex equation like so: I have tried recreating this equation, yet so far what I could accomplish is the left side. ...
Eversiege's user avatar
1 vote
1 answer
32 views

Getting rid of the centering in first line of gather?

Suppose we have the following code: \documentclass[reqno]{amsart} \usepackage{amsaddr} \usepackage{geometry} \geometry{margin=1in,top=3cm} \usepackage{amssymb,mathrsfs} \begin{document} \begin{...
Arbuja's user avatar
  • 221
0 votes
0 answers
24 views

Problem with pagelinking when combining amsmath, hyperref and makeidx

I am preparing a book and have a problem with combining numbering per part (using amsmath package), hyperref and imakeindex. I have made Indices per Part. In these indices the printed pagenumber ...
Baisky's user avatar
  • 1
3 votes
1 answer
312 views

Is there a way to avoid having to add \mathit to eachword in an equation?

When there are words consisting of several letters in an equation, I have to add \mathit to brace each word up or the inter-letter space will vary. See the difference between the two instances of &...
Sherman Chen's user avatar
1 vote
3 answers
78 views

Not exists in with arev?

I want to use the arev font for math. I noticed that the \nexists symbol does not render properly. Is it possible for me to use this font while having access to any special symbols that may be missing ...
user41177's user avatar
  • 309
4 votes
2 answers
310 views

How to have two & in align?

Is it possible to align (x,t) with x?
eraldcoil's user avatar
  • 263

1
2 3 4 5
68