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
0answers
14 views

LOF, LOT customize with AMSbook, WITHOUT tocloft package

I am SO CLOSE to having my dissertation style guide met and am up against a deadline. I need a solution to the following problem (which can be a hack as long and it works). I need my list of figures ...
1
vote
2answers
38 views

Typesetting Multiple Set Constraints

I don't know what to search, so I'm adding a picture of what I want to do. Basically, I want to write multiple set constraints on the right hand side (see below). How do I accomplish this in latex?
6
votes
2answers
220 views

How to color a tag in a math equation?

I have a math equation with a \tag operator. \documentclass{article} \usepackage{amsmath,amssymb} \usepackage{xcolor} \begin{document} This is my favorite equality: \begin{align*} \color{red}\...
4
votes
5answers
170 views

Adjusting vertical spacing in fractions?

Consider the following MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} t = \frac{\dfrac{T_1}{T_2}}{1+\dfrac{Q_1}{Q_2}} \end{equation*} \end{document} It ...
3
votes
2answers
88 views

How to get bold version of blackboard bold fonts?

Right now, I have \mathbb{C} and \boldsymbol{\mathbb{C}} both producing the same character. What package/command do I need to get a bolder character?
2
votes
1answer
24 views

Reference to List Items in Theorem Environment

I'm trying to implement and customize the solution that admits cross-referencing in the theorem environment. The following attempt is extracted from my thesis template (so some packages might not be ...
0
votes
0answers
5 views

Split equation with \begin{split} - brackets don't follow [duplicate]

I have a really long equation, which I want to split into two lines. I searched the internet and found that it works with a split environment. It actually does! But I have big (or automatically sized) ...
3
votes
1answer
48 views

Redefining hyperref in document referencing

With some help (by google) I was able to come up with a code allowing me to cross-reference enumerated items in amsthm-type enviroments via hyperref. The links and code work, but the hyperref link ...
1
vote
1answer
32 views

How to indicate that an entry in a column vector appears $n-1$ times?

In the below code I want to indicate that the entry $(2n-1)+(n-1)^2+(n-2)(n-1)$ appears $n-1$ times in the following $2n\times 1$ vector. For that I want to show it using an arrow or something ...
1
vote
1answer
23 views

Align long text under itself in enumerate list

Problem: I have a long text that is split into two sentences in a enumerate list. I wish for the text to be vertically center aligned with the item. Minimal Working Example (MWE): \documentclass{...
2
votes
1answer
19 views

Using Tensor double dots in Latex, with tensor package

I am currently struggling to find a way to write : I know of \cdots and \cdot but the output is one dot and 3 dots but not two. What is a possible solution to my problem? Thanks in advance.
2
votes
2answers
44 views

How do I achieve this alignment of multiple equations?

Consider the following example: \documentclass{article} \usepackage{amsmath, amsthm, amssymb, mathtools, thmtools, unicode-math} \begin{document} \begin{align*} \hphantom{\Leftrightarrow}Lf&...
1
vote
1answer
43 views

Locally typeset a polynomial division problem

Problem: Trying to locally typeset a polynomial division problem by using the package polynomial. Minimal Working Example (MWE): \documentclass[a4paper,11pt]{book} \usepackage{amsmath} \usepackage{...
0
votes
2answers
35 views

mathtools package destroys wordwrap latex

I have a latex document, something like this: \documentclass[6x9]{book} \usepackage[utf8]{inputenc} \usepackage{graphicx} \usepackage[paperheight=9in,paperwidth=6in,top=0.5in,bottom=1in,right=0.75in,...
2
votes
1answer
36 views

Math mode inside underbrace text

Problem: Trying to activate math mode inside underbrace text but I receive errors telling me that I am not allowed. I have managed to solve this with \[ and \] but the equation shifts to the center ...
2
votes
0answers
58 views

Unable to write nth root [duplicate]

I would like to write the nth root, it's fairly simple as \usepackage{amsmath} \begin{equation} a = \sqrt[n]{b} \end{equation} but I get the output as Can anybody help me with this. ...
4
votes
2answers
52 views

Overly large parentheses for binomial coefficient with mtpro2

Using the lite (or complete) version of mtpro2 results in binomial coefficient with overly large parentheses. How to fix it? The ideal solution should work in inline math as well as in subscript and ...
1
vote
1answer
35 views

alignat introduces extra space with fleqn option

In my MWE below, there is extra space introduced after the second =. How can I get rid of it? I am forced to use the fleqn option by my document class: \PassOptionsToPackage{fleqn}{amsmath} \...
2
votes
3answers
99 views

align multiple equations without amsmath package

I have to use iopart document class. One of major problems which I came across is aligning multiple equations. For example, for reach \begin{align} a & = b \label{eq1} \\ c & = d \label{...
3
votes
2answers
60 views

DeclareMathOperator does not respect math font

I use the Libertine font for text and math. If I declare a new operator with \DeclareMathOperator*, the font used to typeset the operator is not Libertine. For example: \documentclass{article} \...
0
votes
1answer
36 views

How To Fix Rendering of use xltxtra usepackage With XeLaTeX?

How To Fix Rendering of use xltxtra usepackage With XeLaTeX?
0
votes
0answers
27 views

How to change a single factor font inside the equation? [duplicate]

I have two equations with the same letter "T" and I would like to change one of then to not give the impression that are the same. One of them represents temperature(this one I want to change), by the ...
0
votes
1answer
36 views

How to add AMS codes, Key words

Can some one suggest me how to add AMS codes and Key words for the following code. \documentclass[12pt,reqno,a4paper]{amsart} \usepackage{extsizes} \usepackage{blindtext} \textheight 9.3in \...
4
votes
3answers
198 views

Correct spacing in the alignat*-environment

The following code is given: \begin{alignat*}{3} h(0) & = g_s(0) - g_s(0 - 1) = 0.25 & - 0.00 & = \nicefrac{1}{4}\\ h(1) & = g_s(1) - g_s(1 - 1) = 0.50 & - 0.25 & = ...
0
votes
1answer
35 views

Spaces are Missing when writing a math proof

\begin{proof} \begin{align*} \end{align*} \end{proof} Now, inside the align* environment, it will not put spaces between anything. This is what I need help with. Thanks
2
votes
1answer
62 views

math mode - subscripts in upright font by default

The majority of math subscripts I am writing are not variables, but rather names (it's engineering). It is therefore appropriate to typeset them upright. My code would look much, much cleaner, if the ...
3
votes
1answer
50 views

Package amsaddr.sty

How to enable package amsaddr for MiKTeX. There is not amsaddr in directory of TeX. That's why TeX cannot find amsaddr.sty. Running the file amsaddr.dtx I have this picture, but there is not file ...
2
votes
0answers
36 views

Using Libertinus Math and XeTeX, binomial coefficients don't diplay correctly in inline mode

I'm using Libertinus Math as my math font in XeTeX, and $\binom{n}{k}$ gives me a binomial coefficient in which the lower entry (k) sticks out below the parentheses. Display math works fine [ \binom{n}...
4
votes
2answers
240 views

Stretching a curly bracket to get better vertical symmetry

As can be seen in the following MWE, \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation*} \left\{ \begin{aligned} a&=\frac{b}{c} \\ a&=e ...
2
votes
0answers
30 views

Increase size of angle brackets with kpfonts

I am using kpfonts and have run into a problem trying to use large angle brackets in math mode formulae. Based on the answers to previous questions e.g. Big Parenthesis in an Equation I have defined ...
5
votes
3answers
357 views

How to make a composition of functions prettier?

The following code gives the following result. \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} \begin{align*} G\times U \xrightarrow{\textrm{id}\times \sigma} G\...
1
vote
2answers
32 views

Configuring `alignat` from `amsmath`

There is various documentation on how to use \alignat, however I am really struggling to get my head around it! My particular issue is with the following. \documentclass[]{article} \usepackage{...
0
votes
1answer
36 views

Aligning with more than one & [duplicate]

I want to align my equations in such a way that every + and - are written in one row. I want to do it like this: \begin{align*} &+ \left( \gamma^{r}_{y} \gammabar^{v}_{u} \gammabar^{x}_{s} &...
0
votes
0answers
24 views

How do I define a new Big/Variable-size symbol? [duplicate]

I want to define a single letter to use as variable-size symbol, with the same properties as we have with \sum, \prod, \bigcup, etc.
5
votes
1answer
32 views

Multiline equation with aligned (amsmath) and brackets that contains the entire equation

I want to have the right side of the equation surrounded by square brackets with appropriate size. How do I make the brackets contain many lines without ruining the alignment? Minimal code that won'...
2
votes
2answers
69 views

How to avoid the large spaces in align environment?

I want to achieve the results in this picture: It can be generated by using "array". However, it will use so many {} in the equation. I would like to use the "align" environment, but it gives a much ...
1
vote
1answer
20 views

Multicol doesn't break formulas

When trying to create a 3-column document (with tight-spaced page paddings), the text is in place, however, the formulas are not adapted to the column width: \documentclass[12pt,a4paper,landscape]{...
2
votes
2answers
69 views

Shrink exponential fraction argument

Since the argument becomes too small when using \frac, is there an alternative way to reduce the size of the \exp argument? \documentclass{article} \usepackage[T1]{fontenc} \usepackage{...
5
votes
2answers
101 views

Vertical Alignment Every Other Line and Wide Expressions

I'm sorry if this was asked elsewhere, but I couldn't find anything. I've had this question for a while now, and it really bothers me; I seem to run into these situations relatively often. The ...
2
votes
1answer
103 views

Should we use \mathbb{E} or \mathbf{E} as expectation symbol?

This question is pretty simple, but I couldn't find existing question regarding this, my current view is that people can choose whichever they want, but I sometimes see these two symbols appear in the ...
5
votes
3answers
141 views

Break equation in parts

I want to break this equation in multi-line but unable to get it! \documentclass{article} \usepackage{amsmath} \DeclareMathOperator{\E}{E} \begin{document} \begin{multline*} \P_t= \frac{1}{2}\Bigl(...
0
votes
1answer
37 views

amsmath: How to make inline tags, with and without labels?

I have a follow-up question to @egregs answer: At the command \usepackage{xparse} % \tagx[shown text, optional]{label-name} \makeatletter \NewDocumentCommand{\tagx}{om}{% \IfNoValueTF{#1} {% ...
3
votes
2answers
168 views

amsmath: How can I use the equation numbering and label manually and anywhere?

I want to use the accustomed equation numbering and label manually and anywhere; for example in an array. With the command \newcommand{\tagx}[1][]{\refstepcounter{equation}(\theequation)\label{#1}} ...
4
votes
1answer
39 views

centering / aligning arbitrary amsmath objects

See how the little ^\frown ⌢ symbols are aligned (on the last 3 lines) ? That's what I want. But see how it's just a concatenation symbol for (C_\alpha) (Cα) and (C_\beta) (Cβ) ? I want to make ...
5
votes
4answers
216 views

tikzcd diagram within an array

I am trying do make this looking better: namely: curly brackets enclosing everything, tikzcd diagram vertically centered compared to the two other lines. Any suggestion? \documentclass[letter, ...
3
votes
1answer
55 views

Algorithm writing in latex

How can I write this algorithm in left align latex of 2 column? I have tried this but its not working \textit{repeat till convergence} \begin{equation}\small \label{eq_04} { W_{i+1} = W_i - \...
1
vote
1answer
31 views

Cleverref reference not working in custom environment

I have a custom environment defined in a style file, for which I am trying to create a specific cref counter. Here is my environment and the code in mystyle.sty \newcounter{exampleCtr} \setcounter{...
2
votes
1answer
58 views

Recurring decimal within an aligned array

I am having some issues with representing recurring decimals (using \overline{}) within an aligned array I am using to represent a matrix. \documentclass{article} \usepackage{gensymb} \usepackage{...
2
votes
2answers
28 views

Aligning an array with text beside it

I am trying to create a 'matrix' using the array environment. I have multiple of these lines each with text besides it of varying length. I would like to have the array aligned; however, in example ...
5
votes
2answers
111 views

How to get my matrix to fit inside the width of the text block?

New to LaTeX here. This is what I have so far: \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} $$ A = \begin{bmatrix} 0 & \cos(\theta_{1})\sin(\phi_{1})\sin(\tau_{1}) & ...