Questions tagged [gather]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
36 views

How to change the alignment of an equation in a gather environment

I am using the gather environment to write the equations for my report. By default, the gather environment centers equations. For example, if I write: Furthermore, in a Markov chain, it is assumed ...
1
vote
0answers
34 views

Tag number at wrong place in an align environment

I'm having a problem in numbering some equations in this MWE code: \documentclass[11pt,letterpaper,twoside]{book} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[total={6in,10in},left=1.5in,...
1
vote
0answers
33 views

Why use `equation` instead of `gather` [duplicate]

I know equation accepts only one line, and gather accepts several lines. Then when there is only one line, is there any advantage of equation over gather? If not, why does equation exists at all? May ...
0
votes
1answer
46 views

Error - ! Extra alignment tab has been changed to \cr

I'm new on latex, today I try to use de environment gather of the package "amsmath" but get the fallowing error: ! Extra alignment tab has been changed to \cr. <template> }}\savetaglength@ \...
0
votes
0answers
31 views

How to identify align points in a gather environment

I am using Lyx. I have created a set of equations in a gather environment. Now I think it would be better if I get the equal signs aligned. I don't like to reconstruct my equations again in an align ...
0
votes
0answers
21 views

Numbering for Gather Equation: I want to remove the chapter number from equation numbering [duplicate]

I am novice to Lyx. I have used standard report for the document class. I created a gather equation. The equation numbering includes the number of the chapter which I do not want. I just want to ...
2
votes
1answer
48 views

Troubles in aligning terms under gather, aligned and split environments

I'm having a lot of troubles in aligning some terms in a complicated equation. This is probably a semi-trivial thing, but I don't get it (fssshhht!). Here's a MWE to show my problem: \documentclass[...
3
votes
1answer
87 views

How to fix the vertical spacing of equations in align and gather environments?

Here's a minimal LaTeX code showing my troubles: \documentclass[11pt,letterpaper,twoside]{book} \usepackage{lmodern} \usepackage{amsmath} %\setlength{\jot}{\baselineskip} \begin{document} Blabla: ...
4
votes
4answers
316 views

Fitting a large equation with gathered in table cell

I currently have a table and two equations like this: \documentclass[a4paper,12pt]{extarticle} \usepackage[utf8]{inputenc} \usepackage[a4paper, total={7in, 9in}]{geometry} \usepackage[T1]{fontenc} \...
2
votes
2answers
55 views

Remove vertical space in gather enviroment

I have the following code in a beamer: \begin{frame} \frametitle{New frame} \begin{block}{Distorsión radial} \begin{gather*} \delta_{ur}(u,v)=u(k_1\cdot r^2+k_2\cdot r^4),\\ \delta_{vr}(u,v)=v(k_1\...
0
votes
1answer
57 views

Center align* within gather*

Running the following example \documentclass{article} \usepackage{amsmath} \begin{document} \hrule \begin{gather} \sin{2x}=2\sin{x}\cos{x}\\ \begin{align} \cos{2x}&=\cos^2{x}-\sin^...
2
votes
3answers
108 views

using resizegather inside tabular: how to remove extra vertical space above and below the equation?

I need to fit some large equations generated by CAS inside a tabular. resizegather seems like it can do the job. But it generates lots of extra space above and below the equation in each row. This ...
2
votes
2answers
118 views

Operations on both sides of equation with annotations

I recently found the package witharrows which allows you to annotate your equations and steps taking during algebraic manipulations and things like this for example. \WithArrowsOptions{displaystyle,...
2
votes
1answer
43 views

`gathered` unexpectedly wider than its “natural” width

I have a gathered environment inside a multlined environment inside an equation environment. For some reason the gathered-environment is wider than its natural width. Here is a MWE \documentclass{...
3
votes
1answer
333 views

Missing { and } inserted. Can't find mismatch

\documentclass{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \begin{document} \begin{gather} \omega_{\max} = \left(\left(\frac{9\pi^5\sigma h_{0\mathrm{Re}}}{8h^2\rho^2Q^2_\bar\...
1
vote
2answers
30 views

How to use the gather environment to center align a different number of equations on each line?

I want to have 3 equations on one line, and 2 equations on the next line. I want them in the style of gather, i.e. they should be centre aligned in each line. This is what I want it to look like: ...
2
votes
3answers
116 views

Cannot split long subequations

I do not seem to be able to split two long sub-equations. I've tried multline, align, split and a few other possibilities but none of them have worked; I reckon a main issue is that I've got brackets ...
3
votes
2answers
102 views

In the figure form, how to adjust the whole size of “text” and “math” format at once?

In the figure form, how to adjust the whole size of "text" and "math" format "as a combined figure" at once? If this is a usual pdf figure, we can do \includegraphics[width=4.4in], such as below, the ...
1
vote
1answer
123 views

Aligning formulas inside enumerate

I have an ordered list (enumerate) each item of which is a numbered formula. I am using a gather environment. \documentclass[12pt,a4paper]{article} \usepackage[T2A]{fontenc} \usepackage[utf8]{...
1
vote
1answer
249 views

Using `shortintertext` with `gathered` environment

I am currently using amsmath's gather environment to display a list of (long) expressions. I also want to insert the text "and", for which I use mathtools's \shortintertext, like so: ...and hence ...
0
votes
4answers
2k views

How to deal with big equations?

I have a system of equations where the equations are big (one line isn't enough). I found this solution (the second one, from egreg How to align a set of very long equations) to manage the "how to ...
1
vote
1answer
1k views

Why is `gathered` undefined?

Using the gathered environment causes my ide (TexStudio) to report an error Error: Undefined control sequence. \begin{gathered} even though I'm using the package mathtools (I also tried it with ...
0
votes
2answers
241 views

How to align equations in align* like align, but without numbers?

Sorry if the question is worded a bit weirdly, but basically, I like how the text looks when it's centered nicely using align, but I don't like the equation numbering on the right hand side of it. I ...
0
votes
1answer
45 views

There's some sort of error within this code which I am unable to identify

\begin{gather} \begin{align} F&=mg \[F&=\frac{-GMm}{r^2}\]\\ mg&= \[\frac{-GMm}{r^2}\]\\ g&=\[\frac{-GM}{r^2}\]\\ \end{align} \end{gather}
1
vote
3answers
163 views

Multiple equations, derivatives in gather environment

I'm so frustrated with using latex to input mathematical equations. Now I have been noticed that the error"! LaTeX Error: Bad math environment delimiter." and the error with\gather. \documentclass{...
0
votes
1answer
222 views

How to use align gather in itemize or list environment?

I would like to number each equations under the itemize environment by using align or command.However it doesn't work well.Thank you for your patience in advance. The errors: Runaway argument? with\...
0
votes
1answer
669 views

Left aligning equations in gather environment

I'm a newbie in LATEX. I like to eliminate any extra typing for syntax, partly because I'm not accustomed to LATEX syntax and partly because I'm lazy. I know that my way is not a recommended way, but ...
0
votes
1answer
166 views

Error code when using gather environment

So I have this simple code \documentclass[12pt]{report} \usepackage{blkarray} \usepackage{amsmath} \usepackage[version=4]{mhchem} \usepackage{amsmath} \begin{document} Given perfect data we can use ...
2
votes
2answers
691 views

Labels and nesting gather and align

I have nested gather and align according to \begin{gather} \sum\limits_{i=1}^n i + \text{expression} = \dfrac{n(n-1)}{2} \label{l1}\\ \begin{align} a+\text{expression}&=...
2
votes
2answers
367 views

How to align in gather environment and keep the equation and description in the same page

I'm writing my equations and description using the gather environment. But I'd like to align to the left the equation parameters description, and keep the equation and the description together in the ...