Questions tagged [amsmath]

Anything related to the `amsmath` LaTeX package. This tag is here for historical reasons. DO NOT post LaTeX related questions on SO unless they are programming questions considered off-topic on tex.stackexchange.com (the SE site for TeX and LaTeX related questions).

Anything related to the amsmath LaTeX package.

This tag is here for historical reasons. DO NOT post LaTeX related questions on SO unless they are programming questions considered off-topic on tex.stackexchange.com (the SE site for TeX and LaTeX related questions).

17 questions
14
votes
4 answers

Typesetting a large matrix in LaTeX

I have a 3x12 matrix I'd like to input into my LaTeX (with amsmath) document but LaTeX seems to choke when the matrix gets larger than 3x10: \begin{equation} \textbf{e} = \begin{bmatrix}…
Hooked
  • 84,485
  • 43
  • 192
  • 261
7
votes
3 answers

aligning math equations in Latex

I am trying to align the following equations around the equal sign. What can I do? Thanks! I am using the AMSMath package $$m\ddot{x}_{1}-K(x_{2}+x_{12})+C(\dot{x}_{12}+\dot{x}_{2})+2C\dot{x}_{1} =…
Adam Lee
  • 2,983
  • 7
  • 35
  • 47
4
votes
2 answers

How does one use LaTeX/amsmath with matplotlib?

When I try to use the LaTeX amsmath package in matplotlib, I get a slew of incomprehensible errors. Has anyone been able to make something like this work? If so, I would love to see an example. Here is what I've tried: import matplotlib from…
Phillip M. Feldman
  • 468
  • 1
  • 7
  • 17
2
votes
1 answer

VSCode LaTeX nicematrix

I want to use the package "nicematrix" in VSCode, but it's not working the way I…
Celo
  • 23
  • 3
1
vote
1 answer

Latex: fail to show line breaks in formula with ```\\```

I'm using rmarkdown to knit to pdf. However, line break \\ doesn't take effect. I suspect something is wrong with my package amsmath, because running the tex file also shows the same problem. But I don't know how to fix it. (I installed R and…
Ivan
  • 13
  • 4
1
vote
1 answer

Output of \qed symbol in LaTeX within a proof environment at the end of an enumerate statement

My aim is to place the \qed symbol in the same line in which the last \item statement within a \begin{enumerate} block with enumitem is placed. In the proofs I've developed I got three different results: Using amsmath, the \qed symol is placed in a…
Luis Subirana
  • 31
  • 1
  • 3
1
vote
1 answer

LaTeX: Split and gathered environment

I would like to split on multiple lines an equation which contain tikzpicture in gathered environment. I have tried to use align and split environments but both did not work... Here is a working example where the equation is on one…
Quarroz
  • 57
  • 4
1
vote
0 answers

How to prevent floats form moving between a paragraph and an align?

In my document I talk about a calculation and then I do all the equations. So I would like to have those next to each other. Unfortunately some floats really make life difficult. I have the folowing latex code: [Some Paragraph] \begin{table} …
1
vote
1 answer

Is there a way to center align part of an equation in latex?

I'm writing the steps to resolve an equation and for clarity I would like to align and center the part resolved on the second line with the part that was resolved on the first line. Is there a way to achive this? For example, take this simple…
Jean Gregory
  • 368
  • 5
  • 11
1
vote
1 answer

Latex Long Equations Alignment in single column

I need multiple equations aligned in single column of a two columned document. I have tried a mixture of both align and multiline but it does not…
tanee
  • 55
  • 1
  • 10
1
vote
1 answer

Typing LateX expression in MathJax without displaying as a Math expression

On an online tutorial page using MathJax, how would we teach students: Type \[x^2+1\] to display
nam
  • 21,967
  • 37
  • 158
  • 332
1
vote
2 answers

Latex: How to encapsulate text in an amsmath block

My first stackoverflow question. I take the easy way out and directly ask the following. How is it possible to produce an output in LaTeX, like the one pictured below? More holistic, what are the best ways to encapsulate text in an amsmath eg.…
0
votes
0 answers

How to label each equation in Sphinx

I'd like to align equations and label each equation in Sphinx. Rather than manually label equations with \tag{} I'd like to use :label: role attached to .. math:: with :numbered: under .. toctree:: in index.rst for left aligned equation numbers and…
Takeshi
  • 41
  • 3
0
votes
0 answers

Aligning two equations with a 'multiline' bracket around them to previous equations

I am trying to align a set of solutions of an equation to previous equations at the position of their equal signs. Next to the set equations is a bracket that goes over both lines. The code I already have is equivalent to the…
Luluio
  • 29
  • 6
0
votes
1 answer

LaTex Undefined control Sequence while using MikTex

I got an Error message from the MikTex console trying to convert my .tex document in pdf. I used the command: pdflatex Test.tex The Error is Undefined control sequence. It seems LaTex doesn't know the command: \nmid while the command \mid works…
xHouka
  • 11
  • 1
  • 2
1
2