{equations} is about the various environments to typeset displaystyle mathematics, e.g. equation and {align}. For general questions about mathematical typesetting use {math-mode}. Both tags are possible on the same question.

learn more… | top users | synonyms (1)

4
votes
2answers
116 views

Equations not aligned properly

I'm trying to align multiple questions below each other. I'm using the following file. \documentclass[11pt]{article} %comments %pdflatex, bibtex, pdflatex, pdflatex ...
6
votes
1answer
156 views

Why do these three changes fix this equation-numbering error?

When I use \equation...\endequation instead of \begin{equation}...\end{equation}, all equations have the same number (I know this isn't best practice for environments; I'm trying to understand the ...
5
votes
1answer
47 views

Problem getting expression of formula to compile

I am trying to write a line of a formula as follows: {\emph{P}($\emph{c}\mid\emph{d}$) =} \emph{P}(\emph{c})\prod \textsubscript{\emph{w}\in$\emph{d}}\emph{P}($\emph{w}\mid\emph{c}$) ...
21
votes
2answers
530 views

Is eqnarray really obsolete?

I just learned in eqnarray vs align that eqnarray should be avoided in general. Ok, so I started looking at my documents to get rid of it and (as suggested) use some environment of the amsmath package ...
1
vote
0answers
46 views

Centering of equations in classicthesis style [closed]

I'm using the classicthesis package. Unlike math in $$, an equation is not centered: \begin{equation} mod(\zeta, G) := \sum_{C \in \zeta} \left ( \frac{\omega(C)}{\omega(E)} - \frac{vol(C)^2}{4 ...
4
votes
1answer
43 views

Repeating an equation including its content and number

I would like to re-use equations with the same content and number. I know that the thmtools package has a restatable environment to do this for environments (like in this answer), but I would also ...
5
votes
1answer
63 views

Numbering only the last equation in a set of equations

I have the following long equation: \begin{align} F\bigl(\mathbf{u};z \;\vert\; Z(\mathbf{u}') \leq z'\bigr) &= \prob\bigl\{ Z(\textbf{u}) \leq z,Z(\mathbf{u}') \leq z'\bigr\} \\ &= ...
1
vote
2answers
69 views

Equation alignment “with offset”?

With LaTeX, how do I achieve the following aligned equation? Dashed lines indicate desired alignments. Solid boxes denote some random expressions.
1
vote
0answers
49 views

Labeling math equations [closed]

In .tex documents, when I am displaying an equation I do this: \begin{equation} a^2+b^2=c^2 \end{equation} And it displays with an equation number off to the right. But when displaying proofs ...
1
vote
1answer
57 views

Error while running code containing equation

\underline{y}={(y_{111}+y_{112}+...+y_{ijk})}^{T} ! Missing $ inserted. $ l.97 ...i, B = j, C = k and let \underline{y}={(y_ ...
4
votes
2answers
42 views

Not getting alignment that I want in an alignat environment

In the following display, $+ \frac{1}{4!}$ in the third line of the alignat environment should be aligned directly below $+ \frac{1}{2!}$ in the second line. Depending on the spacing in the corrected ...
0
votes
2answers
63 views

How to write the equations with conditions in two lines?

I want to write the boundary condition in the following form. Need your help to write the below equations in two lines
2
votes
2answers
36 views

How to “align” the LyX aligned math environment

I frequently use the aligned math environment in LyX to typeset my equations. However, if I want to save space on the page and set two equations simultaneously in the same aligned math environment, ...
2
votes
2answers
63 views

Undefined control sequence while writing equation

I am writing an equation in LYX and I get the error "Undefined control sequence" With the message "The control sequence at the end of the top line of your error message was never \def'ed. If ...
6
votes
1answer
62 views

\shortintertext gives wrong equation numbering when used with hyperref package

The following code works fine \documentclass[english]{article} \usepackage[T1]{fontenc} \usepackage[latin9]{inputenc} \usepackage{amstext} \usepackage{mathtools} \usepackage{babel} ...
5
votes
1answer
34 views

Underbrace overlapping text

I am trying to type the equation in the figure below. The text on the brace is long and it does not wrap around. Can you help me to solve the problem? Thanks. Equation: \documentclass{article} ...
4
votes
1answer
46 views

Reference equations with \eqref while using different tag forms throughout document

I'm trying to reference equation by \eqref when I use different tags form throughout document, but the output can't display the tag form that I want. As mentioned in mathtools package usage, "be ...
3
votes
0answers
50 views

Equation number bigger than 10 in appendices do not get the cross-reference [closed]

I have encountered a funny problem with my equations (in appendix) cross-referencing. If, in appendices, I have equations more than ten (for example A.10, A.11, B.13) when I click on the ...
3
votes
2answers
46 views

Label terms of LaTeX equation [duplicate]

I'm interested in labelling my latex equation, by giving the physical phenomenon contributing to the term. For instance x = f(y) + g(y). So a horizontal curly bracket to explain that f(y) is derived ...
4
votes
2answers
96 views

Matrices above matrix in LaTeX [duplicate]

Ok..How to put matrices above matrix when you work with complex equations? I have matrices, such as: I was able to wrote equation in the LaTeX first two matrices on bottom, but the 1x1 matrix on ...
5
votes
2answers
190 views

Align multiple equations

I would like to align multiple equations below each other. However, I cannot figure out how I should code this. I'm using the following preamble: \documentclass[11pt]{article} %comments %pdflatex, ...
1
vote
2answers
70 views

Number the equations [closed]

I am a new user of latex, and I have the follow question. How can enumerate the equations that I write in a document ad during the text write the number to a specific equation Currently I can write ...
2
votes
1answer
57 views

LaTeX multiline equation with fractions

Yes, I have to admit... I am having such a hard to write this formula in LaTeX, especially with \begin/\end{matrix}. This is what I have got so far. Any help will be greatly appreciated. Thanks. ...
1
vote
1answer
35 views

How to make \begin{gather} work inside ExSheets' \begin{solution}?

My minimal (not-)working example is as follow. It works only if I comment out the \begin{gather} and \end{gather} lines. \documentclass[a4paper,10pt]{book} \usepackage{exsheets} ...
14
votes
6answers
410 views

How to align the term to right

\documentclass[a4paper,titlepage]{article} \usepackage{amsmath,amssymb} \newcommand*{\PartialConj}{\ensuremath{\bar{\partial}}} \newcommand*{\Abs}[1]{\ensuremath{\left\lvert #1\right\rvert}} ...
3
votes
2answers
39 views

equation align inserts whitespace

I'd like to make equations that align like this: x = y x z = a x b Here's an MWE: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} x &= &y \times ...
0
votes
1answer
23 views

I could not compile this using AIP template, but it compiles in standard tex. How can I use the template?

\documentclass{amsart} \usepackage{amsfonts} \setcounter{MaxMatrixCols}{10} \newtheorem{theorem}{Theorem} \theoremstyle{plain} \newtheorem{acknowledgement}{Acknowledgement} ...
5
votes
3answers
125 views

Split equation using alignat*

Consider the following MWE \documentclass{article} \usepackage{amsmath} \begin{document} \begin{alignat*}{2} (b_{t+1}) &:\quad & \left(\frac{\beta}{1 + \gamma}\right) ...
6
votes
1answer
45 views

Hiding an equation tag but still using it for referencing

I use the semantic package for displaying natural deduction-style inference rules in equations. The \inference command has an optional argument which can be used to tag rules: \inference[Rule1]{A}{B} ...
2
votes
1answer
39 views

Tilde do not cover all variable

With this my equation: \begin{equation} \label{eq:new-ri} \tilde{RI} = \frac{RI(v)}{\hat{q}v^\gamma}, \end{equation} I have this result: QUESTION: Is possible obtain a more large tilde which ...
0
votes
0answers
16 views

Rearrangment of label numbers when I change one [duplicate]

I am trying to prepare a document full of equations. The labels for equations are set to be \label{eq:<equation number>}. Sometimes I change some equations (for example \label{eq:21}) at the ...
5
votes
4answers
167 views

Annoying long equations in LaTeX

I am giving up on this long and annoying equation. I tried in so many different ways to try to fit into my page, but no success so far...Any suggestions, please? How to break down this long equation ...
1
vote
2answers
146 views

How to write a long square root?

I am having such a hard time to write this formula in the LaTeX form. I have never used LaTeX before and I know this is not difficult, but how to get that long square root and exponential? Any help ...
6
votes
3answers
98 views

Splitting equations

I'm very new to this. This is what I'm trying to do: \begin{equation}\label{eq.7} \begin{split} CTS = {P_1}_1 \cdot {L_1}_1 + {P_1}_2 \cdot {L_1}_2 + {P_1}_3 \cdot {L_1}_3+{P_1}_4 ...
1
vote
1answer
65 views

how to make the in-line math equation as shown in the figure beautifully arranged in text?

When discussing and explaining some math equations, I sometimes prefer to use in-line equations (created by use $ ... $ in the text) in the text environment, as shown ONLY in the last two lines. ...
2
votes
1answer
38 views

LyX: use align environment instead of the default eqnarray

I use LyX and it uses eqnarray for multiline equations, which is bad. Is there a way to make LyX use align instead? Thanks.
0
votes
2answers
60 views

centering equation and caption in Inderscience template

Below is my minimal code..It is an inderscience single columned template. I have two problems: First is, I would like to bring the equation somewhere near to the center. In my code it is aligned to ...
4
votes
5answers
93 views

How do I center a \Large equation in display mode?

I have an equation in display mode and would like to make it bigger using \Large, but the equation runs off the right side of the page while there is much room on the left side of the page. The ...
3
votes
2answers
68 views

write [2] next to an equation [duplicate]

I have a code that looks like this : \[\Omega_\Lambda{}_0 = 0,6911 \tag {2}\] in the pdf the (2) has round parentheses. I would like square brackets [] to figure instead : [2] Can you give me the ...
3
votes
2answers
86 views

Is there an environment similar to alignat, but embedded in a single equation?

As explained in this answer, the difference between align and alignat lies chiefly in the presence of some spacing between even and odd columns. I would like to get the same result as with alignat ...
3
votes
1answer
38 views

Numbered equations in Lyx

I'm using Lyx and every time I try to enter a numbered equation, the number comes as (1), nothing else. I'm using Insert->Math->numbered equation. What do I do?
1
vote
1answer
34 views

Label style for equations

I want label equation as 1.1, 1.2. etc However, what I got is -1.2, -1.3. etc. Is there any parameter control this style? The file for example like this: \documentclass[12pt, reqno, ...
4
votes
2answers
70 views

`aligned` environment doesn't output first part in the bracket

\begin{equation} \begin{aligned} [c\mathbf{v}+c'\mathbf{v}',\mathbf{w}]=&c[\mathbf{v},\mathbf{w}]+c'[\mathbf{v}',\mathbf{w}],\\ ...
4
votes
1answer
43 views

I can't fit my whole equation in a beamer slide

\begin{frame}{Example 1 cont.} \begin{minipage}[c][.5\textheight][c]{\linewidth} Consequently, the first few components of the homotopy perturbation solution for Eq. (4.1) are derived as follows ...
2
votes
2answers
42 views

Variable number of ampersands in align/alignat env

I am trying to display this equation in latex: \begin{alignat*}{2} \forall \, z \in \mathbb{C}, \quad & (2z + 1 - i)(i\bar{z}+i-2)=0\\ \iff & 2z + 1 - i = 0 ...
3
votes
3answers
125 views

Using “equation” inside “description”

I would like to itemize some equations but they don't appear on the same line as the bullets. Here is a code example \documentclass[11pt,a4paper]{scrbook} \usepackage[utf8]{inputenc} ...
5
votes
1answer
103 views

Left aligning centered equations

I have set of equations which I would like to just assign one number to. The equations should be aligned at the center of the page. The problem is that I would like all equations to begin at the same ...
1
vote
2answers
61 views

Exponent + square root + fraction: how to make look nice?

I have the following equation: \begin{equation}}e^{i\sqrt{\frac{\omega\mu_0\sigma z}{2}}}\end{equation} It is a fraction within a square root which is part of an exponent. Any idea how to make ...
2
votes
5answers
75 views

How to align equations with the inequality sign separated from the right-hand-side math material?

I do \newcommand{\va}[1]{\left | #1 \right |} [...] \begin{align*} & \va{\crochets{\frac{-\cos(nt)}{n}\cdot \frac{1}{e^t-1}}_{\varepsilon}^A} \\ \leq &\frac{1}{n} \cdot \left ( ...
5
votes
2answers
721 views

What's wrong with the code of the equation?

I tried this code below but it does not execute and I couldn't find out what is wrong in the equation. What did I do wrong? $MDAC(t_{i,j}) = max_{ti}\epsilon pred(t_{j})(C_{i,j)$