{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
2answers
68 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} ...
2
votes
2answers
33 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 ...
2
votes
3answers
65 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
26 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
45 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
44 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
47 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 ...
2
votes
1answer
19 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
396 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
45 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
26 views

Notation for indexing a matrix by a vector element [closed]

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
66 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
55 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
20 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
34 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
41 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
25 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
37 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
73 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
104 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
67 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
70 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
61 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
30 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
53 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
49 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 ...