{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
13 views

Group equations with right brace and give single equation number

i want to write equation like this a right brace to cover those equations and mark them with single equation number what modifications need to be done to my code? \begin{flalign*} &Y ...
7
votes
2answers
332 views

Write this equation in latex

I want to write this equation in latex: I need that comments be in right side. I did something like this but it has some flaws. \begin{eqnarray} \label{cons1} % \begin{aligned} ...
0
votes
1answer
44 views

Optimization formulas in LaTeX

This is the code I'm using for my optimization problem. \begin{equation} \begin{array}{rrclcl} \displaystyle \min_{w,b,\xi} & \multicolumn{3}{l}{\frac{1}{2}w^{t}w+C\sum_{i=1}^{N}{\xi_{i}}}\\ ...
2
votes
3answers
130 views

Aligning the equations and equation numbers correctly

I have the following code \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{minipage}{16cm} Maximization:\\ \begin{minipage}{7.6cm} \begin{align} ...
4
votes
1answer
59 views

Why is there a larger vertical space after the first subequation?

I am using the subequations environment and observe non-uniform vertical spacing between subequations. Specifically, the space between the first and second equation is larger than the other spaces. ...
0
votes
0answers
25 views

Notation for indexing a matrix by a vector element [on hold]

Suppose we have the following elements: I would like to find a compact representation for the nth element of the ith line of the matrix A, where n is the ith element of v, that is to say : I ...
2
votes
1answer
63 views

Problem numbering equations properly

I'm trying to create some equations with amsmath with captions and references. I'd like to suppress the equation number in the margin. I know this can be done using the equation* environment but ...
2
votes
1answer
17 views

Equation numbers are not showing

I am writing a science report and using the format: \[ \int_{I_0}^I \frac{dI}{I} = ...etc. \label{eqn:myEquation} \] No labels are printing next to the equations If I later \ref{eqn:myEquation} it ...
2
votes
1answer
25 views

Line numbering in Equation

I need that the line numbering in an equation would be: 1, 2, 3, ... and k (instead of default numbering 1, 2, 3, 4, 5). How can I do that? MWE: \documentclass[]{article} \begin{document} ...
2
votes
2answers
52 views

amsmath's multline and fleqn

As a fleqn fanatic, I run across this problem once every week: when splitting a long formula using amsmath's multline, the middle lines are flushed left: \documentclass[fleqn]{article} ...
0
votes
1answer
19 views

Equal sign incorrectly aligns with subscript

If I type \mu_\bar{x}=\mu_x Then the equal sign aligns with the subscript \bar{x}. However, what I want is align the equal sign with the mu, which is the big character, on the left side. How ...
0
votes
1answer
31 views

Change equation number latex

I would like to quote a part of a paper and would like to keep the same numbering of equations. For example, suppose in a paper, the equation appears \begin{equation} 1 + 1 = 2 ...
3
votes
1answer
79 views

aligning equation

Regarding the enclosed MWE I would like to get the \sums aligned. But using a second & in lines two and three leads of course to a problem with line one. How do I get the desired result? (Looking ...
2
votes
1answer
39 views

Double underlining an answer while keeping the equations aligned at “=” symbol

I've just recently started using LaTeX for homework and I'm wondering how I can double underline an answer while still keeping the equations aligned at the "=" symbol? I have this piece of code: ...
2
votes
1answer
24 views

Equation shown as non existing picture with tex4ebook

I successfully compiled a tex source using tex4ebook buy none of the equation ( \begin{equation} ) is shown properly. In calibre viewer I get a blue question mark, the one for "file not found". In ...
5
votes
3answers
79 views

Formatting equations to display next to one another

I want to format my equation as follows: x = a y = b x = c y = d Below is the actual Latex code. \begin{align*} kx_{N-1}^2\lambda_{N-1}^2 &= m(x_N - x_{N-1})^2\\ ...
2
votes
1answer
23 views

Place overbrace/underbrace outside of a boxed-environment

Is there a simple way (without complex tikz or that stuff) to place an underbrace/overbrace outside of "boxed"-math environment? Would be great when the braces would have same height position outside ...
4
votes
1answer
108 views

Centered set of equations with single numbering

If I want a set of centered equations, \begin{gather} \end{gather} does the job: \begin{gather} i^2 = j^2 = k^2 = -1\\ ij = -ji = k \end{gather} If I want a set of equations with single ...
5
votes
1answer
36 views

Tikz node positioning in math-environment especially \frac

(this is my first TEX-question). I'm trying to label an equation within a tikzpicture. I did it this way: \documentclass[15pt,a4paper,headinclude, totoc]{scrartcl} ...
2
votes
1answer
19 views

Numbering equations in sections and sub-sections

In general, I would like to number equations using the sub-section number, so for example, if I am in sub-section 2.3, then it should number the first equation in this section (2.3.1). To do this, I ...
2
votes
2answers
56 views

Proper etiquette for using a lemma in a series of equations?

Suppose we have something like: \begin{equation} \begin{split} a &< b \\ ab &< bc \\ abc &> bcd \\ abcd &> bcde \end{split} \end{equation} And to get the third line, abc ...
3
votes
2answers
72 views

Aligning multiple rows and columns with different number of equations (Align environment)

I am trying to achieve the following structuring with an align environment: Each of the first two rows has 2 equations, which should be aligned. In the third and fourth row, there should be one ...
8
votes
2answers
103 views

New environment for boxed equations

I would like to define new environments to highlight certain equations in some way. For example, I would like a highlighted equation to appear in red text or with a box around it. I have the red text ...
5
votes
2answers
68 views

Trouble with spacing between section title and equations

I am trying to create a formula sheet so I only have section titles and equations in my documents. I am having trouble with the spacing between my section header and the equations that I want as the ...
6
votes
4answers
119 views

Align multiple equations with parts inside root

I am having trouble aligning the following inequalities in such a way that, on the right hand side, the first bracketed parts within the cube root are aligned below each other. Additionally i would ...
2
votes
1answer
66 views

Underbrace an equation with its result

I have several formulas that are too long to fit into the \textwidth of my page. That's why I want them underbraced with the result-formulation beneath them. Something like this. ...
2
votes
2answers
69 views

Labeling an equation with letters [duplicate]

Is there a way to label an equation with letters instead of numbers? For instance, \begin{equation} \label{Problem} \phi'(t)=f(t, \phi(t)). \end{equation}
2
votes
2answers
44 views

Special treatment of equation numbers i.e. \overline or \widehat [duplicate]

Is there a way to make the equation numbers with an over line or over hat? Can this be done for just a couple equations?
1
vote
1answer
60 views

Numbering an array of equations

I want to do this thing in an equation array mode. Exactly same in the figure.
2
votes
3answers
91 views

Equation spacing and aligning

Can anyone help me to properly align my formula in my equation-environment. I do not manage to make a space between them, to align them that the colons are over each other, and that the smaller ...
1
vote
1answer
29 views

Leftalign, align and have only one number

I have an equation that I want to leftalign. Also I needed to split this equation due to its length and since we are talking only about one equation, I want to give this equation only one number, not ...
2
votes
1answer
100 views

Syntax of Using Math Mode: Empty Lines (Beginner Question)

I'm just starting to learn LaTeX. I tried typing \begin{equation*} (sample of different operators and symbols separated with \,) \end{equation*} and I got a whole bunch of errors. It seems LaTeX ...
3
votes
1answer
30 views

Missing } inserted when using \begin{matrix}

I created following equation with an online generator, however it doesn't work on texmaker. \begin{equation} p_{ij}=\left\{\begin{matrix} \frac{\tau_{ij}^{\alpha}}{a\sum _{l\in ...
0
votes
0answers
26 views

What is the meaning of \[ … \] [duplicate]

In a tex document, I have come across \[ ... \] (the dots is actually a formula) and I don't know what the \[ and \], respectively, stand for, nor how I could google for it.
0
votes
0answers
33 views

How can I separate the lines in this formula?

I'm trying to write the following formula on different lines due to its length. I did the following: \begin{multiline} ...
0
votes
1answer
50 views

Numbering equations

If I am writing a LaTeX document on TexMaker and I want to number my equation but most probably I will be adding details later on and I do not want to fall into retyping it all over again. So if for ...
2
votes
1answer
30 views

How Equation label in \begin{cases}

I would like to present the below equation using equation numbers. But it does not show it in the pdf file. Has anybody an idea? Thanks \[ \varphi(x,y) = \begin{cases} \label{ch:five:sec:5:eq4:1} ...
2
votes
1answer
47 views

How to split a 2 columns paper for a big formula

A have a 2 column paper, and I have a big formula like: \documentclass[twocolumn,article,a4paper]{memoir} \usepackage{amsmath} \begin{document} Therefore, triplets of the sensory score for aroma of ...
4
votes
3answers
123 views

Aligning more than two columns with alignedat?

Consider this MWE, modified from Aligning conditions in cases environment: \documentclass{article} \usepackage{amsmath} \begin{document} \[ f(x) = \left\{\begin{alignedat}{3} & mx^2 +nx +1, ...
0
votes
1answer
41 views

Moving part of equation to next line

I have an equation: \begin{equation} MMAV1 = \frac{1}{N} \sum_{n=1}^N \omega_n|x_n|, \\ \omega_n = \begin{cases} 1 & if 0.25N \leq n \leq 0.75N \\ 0.5 & otherwise \\ \end{cases} ...
0
votes
0answers
15 views

including references in an equation environment

This is probably not common but I wonder how one could include a citation in the equation environment for example I would like to do something like this: ...
1
vote
2answers
66 views

How to deal with very long formulas

I have a very long formula that does not fit in the page. What should I do? Here is the code: \listfiles \documentclass[oneside,12pt]{scrartcl} \usepackage[ngerman]{babel} %\usepackage{amsmath} ...
5
votes
2answers
54 views

Center the terms in an equation?

I have the following equation: Notice how the last two terms are not centered? If I use the code specified below, I would get that effect. Now, what I would like to have is the effect shown in the ...
2
votes
1answer
30 views

Left align 3 different equations

I would like to left align three different equations of three different lengths. As of now I am using this code: \begin{equation} log_{10}M_{200} = ...
0
votes
1answer
40 views

Proper way of formatting equation strings

In much of my writing, I end up formatting relatively long strings of equations; for example, \begin{align*} M &= \int_0^1\int_0^{\sqrt{1-y^2}}\int_0^{\sqrt{1-x^2-y^2}}x\,dz\,dx\,dy \\ ...
1
vote
2answers
92 views

Piecewise-defined functions

I'm trying to write these four piecewise-defined functions. I wrote this code: \begin{equation} \theta = \begin{cases} \theta r + Se \left( \theta s - \theta r \right) & Hp < 0 \\ ...
2
votes
2answers
131 views

Removing the brackets around equation numbering

I am using the equation environment with the amsmath package. I would like to remove the brackets on each side of the equation numbering. I would like to have my equation labelled as 1, 2, 3 ... ...
2
votes
1answer
49 views

Unnecessary vspace for align/equation when it's first on page

I'm using the align environment and now I have the problem that one of my formulas is the first object on a page with some vspace before it. But this looks a bit odd, because it isn't in line with the ...
2
votes
1answer
79 views

Handling long equations with multline

So I'm writing a report for my final year engineering project. I've got some very long equations that I'm having to handle and I'm fairly new to LaTeX. The equation I'm trying to split is: ...
0
votes
3answers
109 views

Structure of Maxwell's equations and numbering in Latex

Please,how we can write this: Thank you.