Tagged Questions

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

3
votes
1answer
65 views

mathematical operator disappear

I have a problem with mathematical operators such as "=", "+" etc. Whenever I type them within a mathematical environment (equation, eqnarray, in line equations via $...$, displayed equation via ...
1
vote
1answer
69 views

Boxing 4 equations with a thin gap

Currently i have. \begin{equation*} \boxed{ \begin{split} EQUATION1 \\ \\ EQUATION2 \\ \\ EQUATION3 \\ \\ EQUATION4 } \end{equation*} However the gap inbetween looks ridiculous and would ...
2
votes
2answers
92 views

Put a box and shade it around aligned equations

Given: \documentclass[12pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{mathtools} \usepackage{amssymb} \author{Sam Keene} \title{Notes} ...
3
votes
1answer
65 views

How to make an equation that contains several matrices?

Being new to LaTeX, I find the matrix construction a bit annoying, even for simple matrices. How can I construct the following matrix?
9
votes
4answers
320 views

How do I avoid eqnarray?

We have been told to avoid eqnarray and use align instead. The output of eqnarray here: \newcommand{\Prob}{\operatorname{\mathbb{P}}} \newcommand{\tp}{\operatorname{tp}} ...
1
vote
1answer
47 views

Equation environment

I use texmaker program. I can not jump up to next line by using symbol \\ in equation environment: \begin{equation}....\end{equation} I could do it before but now I can't. In other environments, I ...
2
votes
1answer
55 views

How can you number equations manually?

How to number equations manually? I'm making a presentation on a chapter, so would like my equations to be numbered as in the book, and not necessarily from the first equation in the chapter, for ...
2
votes
1answer
38 views

Can't get two equations to align using eqnarray

I'm trying to align two equations using eqnarray. Sample: \documentclass{article} \begin{document} \subsubsection*{\begin{center}Variance equations\end{center}} \begin{eqnarray} \mu = ...
6
votes
4answers
544 views

Split this equation up

Is there a nice way to deal with the following problem? I have an equation that is too long for a line, but I can't split it up that easily, as it contains a fraction. \begin{equation} ...
0
votes
0answers
43 views

Pandoc equation numbering style

I use pandoc to render .pdf files from markdown. Example input: #Fudamental matrix ##Epipolar constraint in pixels (@) $$(K_{0}^{-1}x)^{T}E(K_{1}^{-1}x')=0$$ (@) ...
1
vote
1answer
20 views

Reference equation number in subscript of equation.

I have some chemical reaction equations which I want to reference in the subscript of an inline equation. \begin{subequations} \begin{align} \cee{ \text{NO} +\text{O}_3 &-> \text{NO}_2 ...
3
votes
3answers
53 views

Center the second line of an equation

How do I get the following output? f a b c = <centered definition of f> g a b c d = <centered definition of g> These are definition of functions, but the bodies are big; I would ...
1
vote
1answer
30 views

How to make an align environment with multiple equations per line and one equation reference? [duplicate]

I would like to use an align environment with a single equation number but with multiple equations per line. For example, the following two pieces of code work: begin{align} a&= 1 & b&= 2 ...
0
votes
3answers
157 views

How to add explanatory text labels to a list of equations / solving steps

Does anyone know how to do this in LaTeX and can explain how it is done? The font and design does not matter, what I want is to label the equations.
6
votes
1answer
91 views

box all equations of align environment, but not the equation numbers

I want to box (like \boxed{} of package amsmath or \Aboxed{} of package mathtools) the entire block of equations from an align (or eqnarray) environment, but not the equation labels. How can I do ...
2
votes
6answers
109 views

how to write a multi-row equation with a lot of material in each row

\[ \frac{1}{z^p}\left[ f(z)*\left( \frac{z^p - D z^{p+1}}{(1-z)^{2}} + \frac{\beta e^{i\theta}(D-1)z^{p+1}}{(1-z)^{2}}\right) \right] \] \[ =\frac{1}{z^p}\left[ f(z)*\left( z^p + \sum ...
1
vote
2answers
43 views

Sequence labeling In Latex

In a sequence {1, 2, 3, ...}, I want to write under each term a down arrow and label them as x_1, x_2, etc. How do I do that? I have tried matrix commands and array commands. It does not give me the ...
-1
votes
2answers
197 views

Align equations on equal (=) symbol [duplicate]

How to align equations as in the image below? Update: I try using array but it takes so much work to align everything in order. For example, I need to know how many columns I need to perform the ...
1
vote
1answer
24 views

How to split a long equation in Latex?

I have a pretty long equation with me. I want to split the equation when using Texmaker. Can some one find me a proper way to do this? Thanks in advance. \begin{equation} ...
3
votes
2answers
147 views

In this beamer, the equation exceed the size of the frame. How do I fix this?

In this beamer, the equation exceed the size of the frame. \documentclass{beamer} \hypersetup{pdfpagemode=FullScreen} \usefonttheme[onlymath]{serif} %\usefonttheme{professionalfonts}% font de LaTeX ...
4
votes
1answer
32 views

What is the equivalent of nocite with mathtools equation referencing?

In general, I use mathtools in a mode that puts equation numbers only if an equation is referenced. How can I reference an equation without actually showing the number in the document, so that a label ...
2
votes
1answer
50 views

Error when using empheq in a newcommand

I have just started working with the package empheq as a way to create a box around equations. I would like to create a pair of short new commands for entering and exiting the empheq environment, but ...
3
votes
1answer
73 views

Self-scrolling formulas and text in Beamer?

For a presentation with Beamer, I would like to have a slide where a long list of formulas (maybe mixed with text) scrolls automatically within a certain part of the slide. This should look like e.g. ...
3
votes
1answer
42 views

center align equation

I try to align a multiline equation, but im getting a large space. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{mathtools} \begin{document} \begin{align} AAAAAA &\, yyyyy ...
3
votes
2answers
105 views

Recreating this image as a displaystyle formula

I have this image which I would like to recreate as a displaystyle equation I know how to do everything except the curved arrow with the text, this is what I was able to produce. ...
3
votes
2answers
98 views

Boxed equation with equation number inside

I have a question that seems to not been answered directly, i tried using the empheq package to make boxes around equation (in the align environment ) and it works, but i want a wide box which ...
2
votes
2answers
36 views

equation problem

I have this problem with this equation that i cannot find out: \documentclass{article} \usepackage{amsmath} \usepackage[makeroom]{cancel} \begin{document} \begin{eqnarray*} ...
1
vote
0answers
22 views

Latex (XeTex) places equation parenthesis the wrong way [duplicate]

I recently switched compilation of my tex document from pdflatex to xetex for reasons of typesetting occasional arabic text (the rest of document though is almost entirely in English). However now I ...
2
votes
1answer
35 views

Two column equation block with vertical separator

I have seen various examples in text books and web pages (like here) of two column equation blocks, where the left column has some equation(s) and the right column has some explanation on variable ...
2
votes
1answer
201 views

How may I place number '(2)' on number '(3)'?

Here it is placed on (\alpha). \documentclass[11pt,a4paper]{article} \usepackage{blindtext} \usepackage{mathtools} \begin{document} \begin{flalign*} (1).\,(\alpha)&& a^m \times ...
4
votes
2answers
298 views

Fast way to start a new line

I have quite a few equations in a latex document that are similar to this one here: \mathbb{E}(\cos^2) = \frac{\pi \left(\beta \left(8 \left(2 \alpha ^2+2 \alpha +1\right) \beta ^2-12 (2 ...
2
votes
1answer
45 views

said to have multiple labels in math environment

I basically have the following LaTeX code which is supposed to show a numbered equation and a reference to this equation: \[ i^2 = j^2 = k^2 = -1 \] \begin{equation} \label{eq:ijk} ijk = -1. ...
4
votes
1answer
56 views

Aligning linear program with numbers

How can I fit my linear program to my sheet but still have numbers aligned on the right? \documentclass{article} % page layout ...
0
votes
0answers
16 views

Polyglossia and equations numbers [duplicate]

I'm a little ashamed but I seem as in the first step of Latex... In this example, the parenthesis of the equation number are inversed. Why? How I can I obtain the good numbering? Thanks. I give a ...
1
vote
1answer
31 views

missing $ inserted error for equation

I get the missing $ inserted error for the following code: \begin{equation} C = $ \frac{2}{\omega^2N^2\mu\pia} $ \end{equation} I have tried out different changes based on Googling for this ...
2
votes
1answer
44 views

I'm trying to write an econometric equation and I haven't figured what is wrong with the code in LaTeX

It is a fairly simple question, it might sound stupid to some, but I am in urgency. The code it is just below: \begin{equation} \[Y_{it}=\beta_0+\beta_1K_{it}+\sum_f \alpha_fR_{fit}^T+\sum_g ...
1
vote
1answer
35 views

Boxed equation on the right and its verbatim on the left

How to write a verbatim form of an equation on the left and its output form on the right inside a box?
5
votes
3answers
93 views

Tricky alignment within an equation with a case environment

I couldn't figure out how to do the following alignment: \begin{equation} \begin{aligned} \textrm{Row I:} \qquad & A = 1, \quad j = 1, 2, \ldots, N \\ \textrm{Row II:} \qquad & A = ...
2
votes
1answer
71 views

Paragraph overfull hbox

First off all: I must write with twocolumns. The major problem is the overfull hbox at some equations: from 6pt to 12pt too much. I don't know what to do. So what do you do when you write your ...
4
votes
1answer
38 views

\overset and \implies not working right when combined

I'm trying to make an implies arrow with an 'n' above it. I have no trouble with $A \implies B$ $A \overset{n}{ \rightarrow } B$ but when I try to use $A \overset{n}{ \implies } B$ I get the ...
0
votes
1answer
26 views

Package amsmath Error: Multiple \label's: label '{33}' will be lost

I have this code and Package amsmath Error: Multiple \label's: label '{33}' will be lost. error: can anyone help me? \begin{align} \label{33} \begin{split} ...
2
votes
1answer
41 views

Add right flushed verse number to last line of verse

I'm using the custom Verse environment provided in this answer for producing horizontally centered verses. I would like to add a verse number to the last line of a verse and I would like just the ...
2
votes
4answers
84 views

split and align long equation

The following code is used to split a long in-equation. \begin{align} (\sum^n_{i,j=1}\frac{(S_{t})_{ij}\norm{W^T_{t+1}x_i-W^T_{t+1}x_j}_2^2}{2\norm{W^T_{t}x_i-W^T_{t}x_j}_2} - \nonumber \\ ...
1
vote
2answers
42 views

How can I decrease distance between equations?

I have this code and I want to decrease the vertical distance between equations? Can anyone help me? \begin{equation}\label{20} P_{\ell}^k\geq -P_\ell^{\max}\cdot Z_\ell^k~~\forall ...
2
votes
0answers
17 views

problem using subscripts with sansmath

I have had to (hastily) adapt some Latex to sans serif and I have had some small problems. I cobbled a preamble together (lifting some stuff from the web) which seems to work, except for some small ...
3
votes
2answers
38 views

Putting a tag in aligned enviroment

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{ ...
3
votes
2answers
83 views

how to give some text an equation number

I want to be able to write the following in LaTeX: We make the further assumption that \begin{equation} \label{eqn:assumption} There is a bounded linear operator $B:X\to X^*$ such that ...
3
votes
2answers
74 views

Normal font in math mode?

I got a problem with formatting text in math mode. I made a commmand that moves the unit in the end of the equations all the way to the right. It looks like that ...
0
votes
1answer
40 views

Justified alignment for equations

I am writing a IEEE journal paper full of equations and with center alignment the paper looks so messy. I needed to justified align at least those that are coming successively one after another. I ...
0
votes
0answers
30 views

Reducing space & Auto coloring equations in gather environment

Following the solution in Problem with vertical spacing of equations in itemize after the first \item, I have another (side-effect) problem in colouring equations. Please help. The problem is ...