{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)

6
votes
2answers
201 views

Equation numbering in square brackets [duplicate]

Does anyone knows how can I use square brackets instead of parenthesis when numbering my equations? I used this command: \begin{equation} y = 2x \end{equation} The number appears on the right ...
3
votes
1answer
60 views

How to move amsmath equation label into LHS margin?

I am using amsmath and I would like to move the equation label into the left hand side margin aligned with the top of the equation. I have looked through the documentation but I can't find anything on ...
2
votes
1answer
50 views

Digit zero with a dot inside also in text mode

\documentclass[a4paper,11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{empheq} \makeatletter \newcommand*{\pmzerodot}{% \nfss@text{% ...
3
votes
5answers
114 views

Like displaymath, but without math-mode

I often find myself doing things like \[ \begin{tabular}{cc} foo & bar \\ baz & qux \end{tabular} \] or \[ \begin{verbatim} code snippet \end{verbatim} \] to put a table or code snippet ...
5
votes
1answer
88 views

equation exceeds page width after changing document class from “article” to “beamer”

I write "article" at first, but I also need pdf in "beamer" version. But I found for those long equations appears fine in "article" will exceed the page width in "beamer" mode. So is there a method to ...
6
votes
2answers
113 views

How to avoid extra equation numbers while using subequations?

I searched through the web but I could not find the solution to my question: I try to write equation in the following format: TYPE a: A = {mathematics relation-a} 3.1 TYPE b: B = {mathematics ...
2
votes
1answer
89 views

Long equation design patterns in LaTeX

Is there an acceptable design pattern for how to type out LaTeX math formulas that have a lot of internal dependencies (the formulas do not necessarily have to be very long, just be very packed ...
2
votes
3answers
124 views

Help on typesetting an equation with fraction in numerator and denominator

I have the following equation: \documentclass{report} \begin{document} \begin{equation} T_e=\frac{T_{disch}\cdot e^{\frac{T_{ahe}-T_{disch}}{LMTD}}-T_{ahe}}{e^{\frac{T_{ahe}-T_{disch}}{LMTD}}-1} ...
3
votes
1answer
30 views

Can split and array work together?

I have the following problem. I need an equation which contains arrays and which should be on different lines because too long for one line. This is the code: \begin{equation} \begin{split} ...
0
votes
0answers
26 views

Is there a package to do function substitution and evaluation? [duplicate]

Is there any way to get function substitution and evaluation automated in LaTeX? That is, if I have $f(x)=x^3 + 3x^2 - 2x - 14$, and I want to show students what $f(2)$ means, I want it to ...
5
votes
2answers
127 views

What is the difference between align and equation environment when I only want to display one line of equation?

I am typesetting a physics document, and sometimes I need to type equations of several lines while in most cases I only need to type one-line formula. So is it OK if I always use align environment ...
2
votes
2answers
48 views

Equation mode, labelling equations

I have the following \[K^{-1}\left\|\sum\limits_{n=1}^N a_ny_n\right\| \leq \left\|\sum\limits_{n=1}^N a_nx_n\right\| \leq K\left\|\sum\limits_{n=1}^N a_ny_n\right\| (\dagger)\] But the ...
3
votes
1answer
90 views

How to put a box around just one equation inside eqnarray?

I would like to put a box around \dot{\mathcal{N}}_0+ik\mathcal{N}_1=-\dot{\Phi} inside the eqnarray below. I used \boxed{}, but did not work. \documentclass[a4paper,12pt]{article} ...
3
votes
1answer
48 views

Missing } inserted. \end{alignat}? why this error keeps on popping up?

here is a part of my code, which I am trying to run. \begin{alignat}{2} [M]: \max_&Z ~ \label{eqnP27}\\ \mbox{s.t.}~ %capacity constraints & \sum_{k \in H} y_{k} \leq ...
2
votes
1answer
127 views

What is the difference between `split`, `multline`, `align`, `breqn` for breaking an equation into multiple lines?

Sorry if this question sounds a bit amateurish but I haven't been able to find a good summary about the differences between these four environments for multi-lining an equation. Where do they differ ...
3
votes
2answers
58 views

Bold brackets in equations

I want to write an equation with bold extended brackets. For instance in: \left[ \frac{1}{2} \vec{\nabla} \times \vec{v} \right] I want \left[ and \right] to be bold. I already tried ...
0
votes
1answer
29 views

Parenthesis Size in a multiline equation

How can I use \left(.... \right) which automatically adjust size of parenthesis with it's inside content, in a multiline equation in \begin{align} and \begin{equation} environment.
3
votes
1answer
42 views

italics spilling over to the rest of the text

I have a simple line here: Let training data \textit{X} consist of x_{i...n} observations, where.... The intention is to let x have subscript i..n. This happens, however, after x_i..n, all the ...
0
votes
1answer
105 views

How to set the position of an equation in LaTeX?

In normal equation I do not have any problem. However for long equation I need to use figure so that my equation appear more obviously. (Note: I am using two column paper style). This is the equation ...
1
vote
1answer
26 views

How to add comments in align environment [duplicate]

I find it is necessary to add some explanation in a series of equations. Ideally, I would like to get something like the following picture (Resnick 1999). As you can see, the equations are still ...
4
votes
1answer
25 views

Making certain equation environments larger

I'm writing a lab report in LaTeX that involves a lot of equations. I wish for some equations to be larger than normal, owing to the fact that there are a lot of terms that are in the exponential, and ...
1
vote
0answers
42 views

Multiple equations given the same number

Without doing anything "odd" LaTeX has starting assigning the same number to different equations. It labels them fine up until 31, then it goes back to 30, then again 31, then again 31. After this it ...
0
votes
1answer
49 views

Extra Space between equation and line above that

How the distance between first line and equation and last line and equation is different. How to remove the extra space. I am using this code According to given assumption that n is a power of 2 ...
2
votes
2answers
54 views

How to use flushleft with eqnarray*?

I'm using WinEdit 9.0 along with MikeTex 2.9. My document preamble reads as follows: % ---------------------------------------------------------------- % Article Class (This is a LaTeX2e document) ...
6
votes
3answers
68 views

Equation number in aligned environment after last line

I'm using aligned inside align as follows \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} x =&22+2 \nonumber\\ =& \begin{aligned}[t] &5+3\\ &-3+4\\ &+15-0 ...
0
votes
0answers
16 views

How to set equation number with respect to the article instead of chapter? [duplicate]

I am working on a paper which is based on a special template. I need to use the \chapter to organize by document. In each chapter, if I have \begin{equation}, the equation is number with the chapter ...
0
votes
0answers
22 views

Framing equations [duplicate]

Is there any simple way of framing an equation? I often use \framebox{$ mathematics $}, but wish to use the frame around a numbered equation, not fussed whether the numbering appears inside the frame ...
6
votes
4answers
107 views

Aligning equations with two equal signs

I am trying to write three equations, second with two equal signs. I would like the first two to be aligned by the first equal sign, and the second and third by the second equal sign. I have the ...
0
votes
0answers
21 views

different modes to typest systems of equations [duplicate]

Would it be bad style to use in displaymode an array with three colums that are right-center-left ("rcl") oriented instead of eqnarray, to typeset systems of differential of equations ? The spacing ...
0
votes
2answers
68 views

How to write an equation in LaTeX?

How do I write this equation in LaTeX? Vo = ( R1/( R1+R4)-R2/(R2+R3) ) x Vs
1
vote
1answer
43 views

Undefined control sequence with \overbar

can anyone tell me why I get an "undefined control sequence" error with the following code please? \documentclass[times]{fldauth} \usepackage{amsmath} \usepackage{amsthm, amssymb, amsfonts} ...
1
vote
2answers
45 views

Section-level equation numbers follow previous section numbering

I am using \numberwithin{equation}{subsection} to number my equations uniquely for each subsection in my article. For example: Section 1 Title 1.1 Subsection 1.1 Title a=b (1.1.1) a+2=b+2 ...
4
votes
1answer
64 views

Dashed line in equation

What I want: What I have: with this code: \documentclass[11pt, titlepage]{report} \begin{document} \begin{equation} \label{eq:quark1} \left( \begin{array}{c} u \\ c \\ t \end{array} ...
1
vote
1answer
49 views

Incompatibility between lineno and equation*

In addition to a lot of others incompatibilities, also there is one between lineno and equation*. Is there any chance to have the lineno package updated to solve this problem? Does anybody here knows ...
0
votes
2answers
35 views

Aligning two equations without losing enumeration

I have following two equations which I want to align following two equations (equality signs have to match), without losing their enumeration: \documentclass[a4paper,12pt]{report} ...
4
votes
2answers
101 views

Resizebox within equation environment

How does the resize command work with the equation environment? The following code results in an error. \begin{equation}\label{model3_coef} \resizebox{0.91\hsize}{!}{y_{t}^{3} = -145.071 - ...
0
votes
0answers
19 views

Can I display an equation in latex beamer presentation step by step? How? [duplicate]

I'm making a presentation in beamer LaTeX and I want to explain an equation. I want it to apear on the screan step by step, like I would be constructing it. Is it possible? Thanks!
6
votes
2answers
54 views

Expand arrows within an array

Any ideia of how I can expand the \xrightarrow so that they all have the same size? (for aesthetics) \documentclass{article} \usepackage{amsmath} % \text nas equacoes \usepackage{mathrsfs} ...
0
votes
0answers
36 views

Different \eqref{} styles depending on the number of arguments

I am using the following command to make references to equations of the form "Eq. (X.X)" \let\originaleqref\eqref \renewcommand{\eqref}{Eq.~\originaleqref} (see: Modify \eqref command) But there ...
1
vote
1answer
77 views

missing $ inserted in figure caption

using a formula in my figure I got this error , here is my formula, how do I correct it ? thanks a lot \begin{figure}[H] \centering \caption{Net = \sum w_{i} p_{i}} \label{fig:f7} ...
1
vote
1answer
54 views

incomplete \ifodd , all text was ignored… error

shall you please help me to know why here I have got an error ? : \begin{document} \begin{equation}\label{3-6} \begin{aligned} \overline{\epsilon}_{ij} = \frac{1}{V} \int_V \epsilon}_{ij} dV\\ ...
2
votes
1answer
40 views

missing } inserted in my formula

Latex has a missing } inserted error in my formula, I didnt see a missing thing in it : \begin{document} \begin{equation}\label{3-5} \begin{aligned} u^{_{A}}_{i}$ - $u^{_{B}}_{i}$ = ...
3
votes
2answers
50 views

Refer to the “name” of an equation, while a List of Equations is generated using these names

I link two questions below because I use their solution, to number my equations and generate a list of my equations. My question about numbering equations: Number of Equation: 1, 1a, 1b Generate a ...
4
votes
2answers
107 views

How can I set a letter in a equation both small and bold

I want to set the "\widehat{\mathbf{x}}" part smaller but I've no idea how can I do it. Any suggesting would be very grateful. \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} ...
3
votes
2answers
48 views

Strange endgroup errors and enumerate errors are everywhere

I am writing a document. Problem with equations After I tried to put two equations into the document, LaTeX started giving me a whole bunch of errors such as: \begin{document} ended by ...
3
votes
3answers
78 views

how can I write these equations in 2 columns

Since the answers exist , I changed and edited my code to the setting part of it , so I could ask you to please help me , how to edit mine to be able to correctly use your codes, above all , I ...
1
vote
0answers
43 views

How to label equations effectively and efficiently?

I am writing a thesis containing a lot of equations. One problem I am facing is how to label them well enough so that it is easier to refer to them later on. Currently, I tried to name every equation. ...
1
vote
2answers
58 views

the equation number jumps to the left of the page

I wrote a code and I wonder following the regular order , the number jumps to the left of the page \documentclass[11pt,a4paper,twoside,openright]{report} \usepackage{setspace} \usepackage{graphicx} ...
1
vote
2answers
50 views

The equation number doesn't appear

I was trying to create an aligned numbering of equations, but I don't know if I am using the right order, the equation numner does not appear: \documentclass[11pt,a4paper,twoside,openright]{report} ...
6
votes
2answers
64 views

Hyperref adds vertical space to equation environment [duplicate]

When the length of the text prior to an equation environment approaches \textwidth, hyperref adds an extra vertical space, as illustrated by the following snapshot: The corresponding code is ...