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

17
votes
2answers
10k views

Adding line numbers to latex and respecting equations

It's often convenient to add line numbers to a page automatically and the lineno package generally does the trick. But I've had two problems with it It doesn't seem to align the line numbers with ...
2
votes
2answers
27 views

LaTeX \begin{align} twice align

i have a code with a equation: \begin{align*} &min(\norm{[\hat{w}(k)-\hat{y}(k)-&M^P \Delta \hat{u}^P (k)]-M \Delta \hat{u}(k)}_\psi^2 +\norm{\Delta \hat{u}(k)}_\Lambda^2)\\ ...
1
vote
0answers
16 views

In bioinfo.cls, how can I get a full width equation?

How can I get a full width equation while using the bioinfo class? I tried doing \usepackage{widetext} and throwing a \begin{widetext} and \end{widetext} at appropriate places, but it throws an ...
0
votes
1answer
25 views

break an equation

I need to break a long equation in my beamer presentation. My code is: \documentclass[xcolor=pdftex,t,11pt]{beamer} \usepackage{multicol} \usepackage{lmodern} \usepackage{lipsum} ...
4
votes
2answers
237 views

Drawing braces in equations

I am pretty new in this forum. It's my first post. So I hope I don't break any rules or so. My Question is: I have an equation, which contains already a pics, because I wanted to mark some stuff in ...
2
votes
1answer
19 views

Enumerate starting at equation number

The following MWE contains proofs of equations numbered (2) through (4). I structure the proofs using an enumerate environment, so that the proof of equation (2) is labeled with 2., the proof of (3) ...
2
votes
2answers
31 views

How to write in proper format of this equation

How to put in proper format in equation proof. \begin{align*} HS_{opt} \le (HS_1+HS_2+ .... +HS_i)+ {HSi * ((A \textnormal{-} taskarea)/HS_i)} \\ \Longrightarrow HS_{opt} \le HS{frac} ...
5
votes
2answers
177 views

Putting a tag in aligned environment

I want to set a counter in the following two lines (to the right) \[ \left\{ \begin{aligned} & u_t = H(x,t,Du)&\text{ in }& \mathbb{R}^n\times (0,T) \\\\ & u(x,0)=u_0(x) & \text{ ...
2
votes
1answer
66 views

Horizontal spacing between lines in split environment

I have a math expression that looks like this \documentclass[a4paper,12pt,amsmath,amssymb]{article} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage[T1]{fontenc} \usepackage{tgtermes} ...
2
votes
1answer
350 views

Issue with subequation environment

I use the following code \begin{subequations} \begin{equation} \mid H(j\omega) \mid = \frac{\omega CR}{\sqrt{1+(\omega CR)^2}} \label{subeqn:amplitude} \end{equation} \begin{equation} ...
6
votes
3answers
211 views

alignat inside align environment?

Why can't I nest an alignat environment in an align environment? \begin{equation} \label{eq:115} \left\{ \begin{aligned} \begin{alignat*}{2} ...
1
vote
1answer
20 views

Can I (sub-)align some but not all of the lines in a multi-line equation?

I have a multiline equation and want some of the lines to be aligned at an additional symbol. Here is an example, where all lines are aligned at the equal sign, but lines 2 and 3 should additionally ...
3
votes
1answer
247 views

How to write matrix in equation environment?

I'm using LaTeX to write my paper and every equation needs to be numbered, so I use the equation environment. However, it fails to compile. \documentclass[UTF8]{ctexart} \usepackage{amsmath} ...
3
votes
2answers
1k views

How do I properly display chemical compounds within \equation? (mhchem won't do what I need)

I am trying to programmatically convert a very large number of documents that have chemical compounds represented within math equations. I am converting from some flavor of RUNOFF (I think..it isn't ...
6
votes
2answers
85 views

Drawing an angled arrow pointing to text inside equation

I am trying to insert arrows between the terms of an equation explaining the partial results achieved. For example, in the following equation (I manually drew the arrows), V_i \frac{g_m}{1+g_mR_s} ...
2
votes
4answers
76 views

How to make equation array look more neat and compact

I'm writing a document that has a long list of two equation arrays. As it stands, the arrays seem very tedious and clustered, and I'm unsure of what'd be the best way to make it look more neat without ...
11
votes
4answers
3k views

Writing an equation with the units positioned off right

Okay so I have a have a lot of equations in the document I am writing and I am trying to display the units of an equation off to the right. I was wondering how I can achieve this? Right now, all I ...
3
votes
1answer
34 views

Large multiline equation alignment

I have the following latex code: \begin{equation*} \begin{split} Vect =& ...
10
votes
3answers
588 views

Boxed equation with number

My minimum working example: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{center} \boxed{K_{k+1}=P_ka_{k+1}^T(a_{k+1}P_ka_{k+1}^T+I_N)^{-1}} \end{center} \end{document} ...
4
votes
3answers
2k views

how to justify left all numbered equations

I use displayed numberd formula in lyx the equations are appears in middel I want to justify left the equations I used elsarticl 2 column page format
0
votes
0answers
30 views

Insert portion of code before every line break in gather environment

This is a follow-up question to Redefine equation environment: auto labeling. I want to have something like \AtEndEnvironment{gather}{\label{equ:\theequation}}(at the end) plus ...
2
votes
1answer
23 views

Line numbering for boxed multi-line equations using empheq package leaves extra blankspace

I'm using the empheq package to put boxes around equations that span multiple lines (using align). There are 6 lines to the equation, and the whole box should receive one number (1), for which I use ...
1
vote
1answer
24 views

multiple use of split

I have two equations that I would like to split (with a split command) but have them both lined up; i.e., something like \begin{align} \begin{split} a&=xxxxxxxxxxxxx\\ ...
4
votes
3answers
1k views

break an long line in an algorithm

I have a long line in an algorithm and want to break it into two lines. For similar case in equations, split can be used. How do I do this within an algorithm? \documentclass{article} ...
2
votes
0answers
29 views

Software for generating Flow charts / mind maps where labels include latex?

I'd like make some mind maps/flow charts that include equations, which I'd like to write in latex. One problem is that generating those in tikz or any other graphical package directly in latex is not ...
2
votes
0answers
30 views

Export equation into vector graphic

I want to export equations from LaTeX to PowerPoint (if possible as vector graphic, e.g. .svg). I use Windows7 / Office 2010 and ShareLaTeX. Since I would like to export every equation, I tried: ...
2
votes
3answers
57 views

How to put a colon to the left of a specific set of equations in a set of equation

Following: How to put a colon to the left of a set of equations? Currently I have the following code \begin{equation*} \begin{split} \Omega : \dot x &= \omega(b) \\ p &= \sigma(z)\\ m &= ...
3
votes
2answers
208 views

3 equations + vertical dots

I was googling the way of adding 3 dots between two equations, I found this question> (Vertical alignment of dots in equation) What I want: Three equations. Between equation 2 and 3 I want 3 ...
3
votes
1answer
40 views

How to put a colon to the left of a set of equations?

Currently I have the following code \begin{equation*} \begin{split} \Omega : \dot x &= \omega(b) \\ p &= \sigma(z) \end{split} \end{equation*} Which generates But I would much ...
1
vote
2answers
3k views

How to left align a text in IEEEeqnarray environment?

I am using IEEEeqnarray environment and want to left align a text. How to do that? \documentclass[a4paper, 10pt, conference]{ieeeconf} \usepackage{amsmath} % assumes amsmath package installed ...
0
votes
2answers
36 views

equation with 2 ranges

i need to write the equation as n the figure attached plz someone help me out in writting the equattion with the ranges as in the example attached thank you
2
votes
1answer
56 views

Most efficient way to convert word containing many Mathtype equations to LyX

I use LyXConverter from http://www.editorium.com/lyxconverter.htm It does not convert equations, which are displayed as "no file found", that is, empty files, in LyX. so I have to use "toggle tex" ...
3
votes
2answers
104 views

problem in equation beginning [closed]

I wrote the code of the equation but I have an error while writing Jij, any help? \begin{equation} J_i_j = \left\{ \begin{array}{l l} \frac{1}{k}exp\left(-\frac{{||x_i - ...
1
vote
2answers
146 views

Auto Breaking of Long Math Equations

There is the package breqn for automatically breaking long math equations. I have used it, but there is a little problem that I am facing with it. When we have two different long equations that we ...
1
vote
1answer
36 views

Fullstop after \dots in a formula

Should I put fullstop after \dots in a formula in the end of a sequence? Consider for example the nonsense formula $$E=mc^2 + \dots .$$
51
votes
6answers
169k views

How do I turn off equation auto numbering

I have an equation like this: \begin{align} P(A \cup B) = \sum_{\omega \in A \cup B} P(\omega) = \sum_{\omega \in A} P(\omega) + \sum_{\omega \in B} P(\omega) = P(A) + P(B) ...
1
vote
2answers
33 views

Wide equation - how to avoid the equation number on next line?

I have an equation with a large matrix that I want numbered as an equation. I use the code shown underneath: \documentclass[12pt,a4paper]{report} \usepackage{amsmath} \begin{document} ...
1
vote
1answer
25 views

Align equations in two columns with their own equation number

I have four equations, and I'd like to display them in two rows and two columns. I also want them to have their own respective equation numbering. I've tried \begin{multicols}{2} \begin{equation} ...
1
vote
0answers
29 views

how to reduce the space in a equation in latex?

general, the equation in latex looks like: But in some paper, the equation looks more compact, like There is less space among the equation. How to make such a configuration?
69
votes
3answers
35k views

How to get only one vertically centered equation number in align environment with two equations

What I have are two equations with align and I want one single equation number to refer to this system of equations. To illustrate, I have \begin{align} dr_t &= \kappa ( \theta - r_t ) dt + ...
1
vote
2answers
32 views

how to split some part of a long equation in next line

How do I split some part of my equation to the next line? \begin{equation} \begin{split} \lefteqn{P_{n_i}(e,(t+1)) = p_{n_i}(e,t)+\eta_{n_i}[\bar{U}_{n_i}(e)\\ & -\bar{U}_{n_i}]p_{n_i}(e,t)} ...
2
votes
2answers
23 views

Vertical alignment trouble between text and equation inserted in two \longtable cells

I have a horizontal table, made with \longtable, with two cells: in the left cell there is text, and the right cell contains an equation I implemented with the \alignat command. If I use the attached ...
1
vote
1answer
33 views

Redefine equation environment: auto labeling

Hi i want to auto label every equation with its number (\theequation), i found a simple solution (to avoid manual environment redfinition) but i cant figured out what i am missing. Why it doesnt ...
1
vote
1answer
48 views

help in writing equation

i would like to compile the below equation...whenever i compile, i get an error saying missing $ inserted and missing } inserted. Where do i rectify it. I am using double column ieee conference and ...
4
votes
4answers
174 views

other terms in equation to the same size as tfrac terms

How do I make other terms in equation to the same size as tfrac terms \begin{equation} X=\tfrac{2J^2}{4J^2+U^2/4}\sin^2\big(({\sqrt{4J^2+U^2/4}})t\big) \end{equation} looks like How do I adjust ...
2
votes
2answers
57 views

Prevent line break before equation environment in enumerated list item

I try to accomplish the same thing as in this question: Prevent line break before equation environment in enumerated list item (to have the equation in the same line as "some text"), except that i ...
3
votes
2answers
2k views

LatexIt not rendering properly

I've been trying to figure out how latexit works, however, when I enter this simple piece of code, I get a long message of different errors as "LaTeX Error Bad environment delimiter", "You can't use ...
1
vote
0answers
19 views

Difficulty with generating labeled equations in elsarticle document class

I have tried writing equations in the normal way ie: \documentclass{elsarticle} \begin{document} \begin{equation}\label{eq:1} x=y+1 \end{equation} \end{document} but this doesn't work for some ...
2
votes
1answer
17 views

How can I solve the conflict issue in refcheck and bookmark packages

I am using refcheck package to check which equation is not cited in my paper. However, it is conflicted with a package "bookmarks". How can I solve that issue, but still use bookmark package ...
4
votes
1answer
50 views

How to align columns of two separate matrices?

I have two equations involving matrices in an align environment. One of the matrices is wider than the other. How do I align them so that they are equally wide? A minimum working example: ...