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

2
votes
1answer
54 views

How to centre an equation

When I build and view my equation it is always aligned right \begin{equation} $$\textit{N}(\textit{t}) = $\frac{P_o}{\lambda+\rho\varepsilon/\Lambda}$[1-e$^{-t(\lambda+\rho\varepsilon/\Lambda}$)]$$ ...
10
votes
5answers
2k views

Moving the equation number up

In what's below, the equation numbering is annoying and forcing it to move up would be a solution. Anyway what are your suggestions to fix this without modifying the equations? ...
3
votes
1answer
50 views

Split environment not vertically centering equation number

I'm trying to compile the following code: \documentclass{article} \usepackage{amsmath} \newcommand{\invexpsqrt}[1]{{#1}^{- \tfrac{1}{2}}} \begin{document} \begin{align} \begin{split} \rho_{out} ...
2
votes
1answer
72 views

Equation + explanation below

I have to write an explanation to my equation, and I would like to do it, below the equation. But, I do not know how to do that. It should look like this: My preamble look like this: ...
3
votes
1answer
32 views

Missing $ or }in split environment and cant find source of error

I simply can't find the error in my code \documentclass[12pt,a4paper]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[ngerman]{babel} \usepackage[pdftex]{graphicx} ...
6
votes
6answers
523 views

please help me fit my equation into my margins!

I have this equation. It is quite wide, and I've had to split things over two lines. However, the part to the left of the = is quite long, and it's causing me some issues. I've posted a MWE here. ...
5
votes
1answer
279 views

Superscripts and subscripts in this equation

I have this equation: g^{\mathsmaller{\left(1\right)}} \left( \tau \right) = \frac{\langle E_{\mathsmaller{s}}^{\mathsmaller{*}}\left( 0 \right) E_{\mathsmaller{s}} \left( \tau \right) ...
3
votes
2answers
40 views

Mini-alignment of a single equation?

So I have this problem, whereupon I would like to do some 'mini-alignment'. I have googled for ways to do this, but I get results based on aligning whole equations. Here is my current output: What ...
5
votes
1answer
105 views

Alignment for Multiple Equations

I have equations in two different align environments. How do I align them equally in such a way that the = sign is in the exact position following the sequence. The MWE: ...
40
votes
4answers
6k views

What are the differences between $$, \[, align, equation and displaymath?

I once learnt, that it is uncool to use $$, but why is that? Why does \[ not act as a abbreviation to \begin{align}? I noticed, that there is a difference, since one cannot use & and \\ inside a ...
11
votes
2answers
229 views

TikZ figure inside equation?

I was wondering if it is possible to have a TikZ graphic inside an equation, to produce something similar to
4
votes
3answers
81 views

Concerning the equation mode

I am listing a bunch of itens that are left-aligned (actually, I am using the \hspace command); then, for one of them, I need to do a definition by cases, so i'm using the equation mode and, inside ...
4
votes
2answers
63 views

How to customize vertical distance in 'underlying'

This seems to be a dummy one but I haven't found anything that works good for me. I'm working in an article and I need to get an underlined expression, like this I mean REALLY CLOSE, but, so far, ...
3
votes
1answer
46 views

Placing a tikzpicture next to an align and add an equation number

I want to place a tikzpicture next to an equation and equip both of them together with an equation number. The reason is that the tikzpicture is a kind of explanation (visualization) for the equation. ...
0
votes
0answers
22 views

Math equation problem help [duplicate]

I got the following message based on the code below, any one tell me how to debug it: ! Missing $ inserted. $ My code is: \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{amssymb} ...
0
votes
0answers
44 views

Math equation bug [duplicate]

I have the following formula, the problem is that once I add \begin{equation} ...\end{equation} I receive an error message, but If I add the same formula between two $..$ it is work properly. any one ...
5
votes
1answer
57 views

Tips on ways to mark important equations/statements in a thesis/paper

I'm writing my masters thesis and in it I have a set of examples for different chapters which I separate from the rest of the thesis by a mdframed-box. Furthermore, I have a set of equation that are ...
8
votes
1answer
131 views

Equation number for each row of a matrix equation

Is it possible to give an equation number to each row of a matrix equation? How could I have equation labels in the vein of subequation numbers, one for each row of the matrix equation? Here, I'd ...
2
votes
1answer
58 views

Eqnarray help (disadvantage) when breaking across columns

I'm a first time TeX user and had typed out certain (long) equations in a single column format for submission to a journal (that part worked fine). Unfortunately, I accidentally missed the fact (!) ...
3
votes
1answer
60 views

Positioning equation number not working

In this example the equation number is even below the equation itself. I thought a [t] of [m/c] option could position the number. Doesn't work. How can I get the equation number to be at the top, ...
0
votes
1answer
29 views

Equation subnumbers in IEEEtrantools?

I'm using subnumbers in IEEEtrantools: \documentclass{article} \usepackage{IEEEtrantools} \begin{document} Numbered equation: \begin{IEEEeqnarray}{rCl} a & = & b \;. \label{eq:tTy} ...
6
votes
2answers
197 views

How do I modify an equation with a long numerator and a normal denominator?

I have a long equation from Mathematica with very long numerator and normal elements of denominator. \begin{equation} P_1(t)= \frac{\exp \left(-\frac{1}{4} t \left(\sqrt{-6 \lambda _{\text{G1}} \mu ...
6
votes
1answer
63 views

\eqref for systems

Is there anyway to create a single label for a system of equations instead of just one, such that I can recall it? I've done this but the result doesn't totally make sense. ...
9
votes
2answers
101 views

Incorrect reference to the equation number in algorithm2e

I want equation number in an algorithm with chapter number included. Here is my code. \documentclass{book} \usepackage{amsmath,amssymb,amsthm, latexsym,float,epsfig,subfig} ...
2
votes
2answers
134 views

Equivalence arrow in LaTeX

I have an equation like \documentclass[12pt,a4paper]{report} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \begin{document} ...
3
votes
1answer
98 views

How to left-align particular equations using own environment?

I'm trying to left align particular equations. To do that I created a new environment (because I need it a few times). Now, I found that there are various options to do that: using the fleqn option ...
3
votes
1answer
64 views

Eqnarray nested matrices produces alignment error

I wrote the following equation array. \begin{eqnarray} w_{0} & < & 1 \\ w^{m}_{i} & = & \left \{ \begin{matrix} w_{0} & i = 0 \\ ...
4
votes
2answers
65 views

Help with aligning equations and numbering

I'm new to LaTeX so you're going to have to bear with me. I am trying to write a project report using it and I have got this so far for a certain section: Then, ...
1
vote
1answer
39 views

How can I align two captions? [duplicate]

I have a figure and an equation side by side. The code is as follows: \begin{figure}[H] \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=.8\linewidth]{cycle} \caption{The opsin ...
2
votes
1answer
53 views

Multi-line equations in latex

Is there anyway to write multi-line equations in latex automatically, I mean without using line break or other manually breaking lines. is it possible to tell latex to begin with the next line when ...
6
votes
1answer
64 views

Want theorem and equation numbering linked under section

Similar questions have been answered but the solutions didn't seem to give what I need. I would like theorems and equations both to proceed as follows within each section. Say we've begun Section ...
2
votes
0answers
36 views

“latex missing } inserted” error message in equation [closed]

I have a slightly complex, long section of equations in my latex document, but from what I can see I think it is programmed correctly. When I compile the document, I get the error ...
5
votes
2answers
81 views

Coloured shadowbox around equations?

I currently put some boxes around equations using: \newcommand*\eqbox[1]{ \definecolor{shadowcolor}{RGB}{0, 0, 102}\setlength\shadowsize{2pt}\shadowbox*{#1} } \eqbox{$1+1=2$} How to have the same ...
2
votes
3answers
73 views

Splitting equations with parentheses in aligned [duplicate]

How can I break the first line \begin{equation} \begin{aligned}[2] & some stuff \left\{ stuff' + stuff'' \right\} \\ & = some other stuff \end{aligned} \end{equation} in a way such that the ...
9
votes
1answer
126 views

Equation alignment

I'm a little new at this so bear with me. What I intend to get is this: I used the following code to obtain it: \begin{flalign*} \quad f(x) &= e^{x} - x - 1 ...
3
votes
1answer
1k views

How do I number a equations with roman numbers?

I would like to display a set of equations with roman numerals on the left side. The equations should be left aligned and the = should be aligned. Something like that: I) ae + bg = ae + cf ...
2
votes
1answer
55 views

Automatically add a vertical spacing in formula numbering [duplicate]

I have a document with several equations that fit the text width, so the tag is below the equation in those long formulas. I don't want to use splitting enviroments but in some cases, specially in ...
4
votes
1answer
57 views

Error persists after removing the code

I accidentally added an erroneous backslash to a code in the equation environment. Even after removing it - in fact even after removing the whole line - the error persists. ! Undefined control ...
2
votes
0answers
82 views

Identical space around \[ \] and the amsmath environments set to a personnal value

I wish to have the same spaces around the brackets \[ ... \] as the space around the environments align and equation (above and below, short or not) from amsmath, ideally (I set \parskip=1ex), ...
9
votes
2answers
292 views

How to improve the style of this LaTeX line

I have the following line in TeX and my problem is that the backslash is too small and the text under the bigcup becomes very cumbersome: $$ess \ supp(f) = W \ \backslash \bigcup_{\Omega \subset W ...
6
votes
2answers
92 views

Multiple \cline{x-y} in align environment for subtracting equations

I'm trying to make a solution sheet for a student of mine and want to write it in a similar way as I would do when writing per hand. In this case I wanted to have 4 columns of equations (I know that ...
4
votes
2answers
86 views

Need to reduce a line between these equations

I'm not entirely sure how much this depends on how much I've formatted on my document. I have two equations \begin{equation*} \vec{n}_w \times [\vec{E} + \vec{v} \times \vec{B}] = \vec{n}_w \times ...
4
votes
2answers
394 views

What program is something like this created on?

Been trying to further improve my LaTeX skills, and such to make my notes look better. But I was curious if you guys could easily tell what program something like this was created in? ...
0
votes
1answer
26 views

How adjust the vertical space in aligned equations (in the Preamble)?

I always find the standard \\ to be too little in aligned equations. I used to do \\[5mm] or similar in the past, but there must be some automatic way to do this once and for all in the preamble. Is ...
0
votes
0answers
52 views

Why Latex cannot compile when I add “\left[ ]\right” [duplicate]

Successful code: \documentclass[a4paper,cs4size,UTF8]{ctexart} \usepackage{amsmath} \usepackage{mathtools} \usepackage{amssymb} \begin{document} ...
9
votes
2answers
189 views

Equation number in an array

I want to put the equation number at the right for the following code: \[ \log{y_{i}} = \left\{ \begin{array}{l l} y_{2i}^{*} & \quad \textrm{if $y_{2i}^{*}\succ0$}\\ 0 & \quad ...
1
vote
0answers
68 views

Advection-diffusion equation in latex

I'm having problems (errors) in writing the advection-diffusion equation in tex. \[\frac{\partial C}{\partial t} -\frac{\partial }{\partial x} \left[D_{x} \frac{\partial c}{\partial x} -u_{x} ...
3
votes
3answers
104 views

Change the tag for equations

I want to show my equations in the form (Eq. 1) instead of (1). I am trying using \tag but this changes completely.
5
votes
2answers
138 views

Add equation name besides equation number (so that \eqref inserts only the number)

I am trying to add equation names besides the equation numbers but, in addition, in such a way that \eqref inserts just the number. Inspired by the top answer in Add equation name underneath equation ...
4
votes
2answers
223 views

Two equation numbers within one set of brackets

The following outputs two equations side-by-side, with the equation number after each equation: \begin{minipage}{.5\linewidth} \begin{equation} x = y \end{equation} \end{minipage}% ...