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

23
votes
2answers
3k views

Colored underbraces for annotating equations

I am trying to implement my previous Powerpoint presentation in beamer. I have a figure like I want to create something like this in beamer. I wrote a equation as follows but I couldn't write the ...
9
votes
2answers
643 views

Align subscripts vertically

I would like to align the subscripts in an expression such as this one: \documentclass{article} \usepackage{amsmath} \begin{document} $$\sup_{f\in\mathcal H}\lim_{\epsilon\downarrow 0}\sup_{g\in\...
5
votes
1answer
3k views

Problems with eqalign

The following will not compile with LaTeX. Can you give advice, please? \documentclass[12pt]{article} \usepackage{amsmath,amsthm,amssymb} \begin{document} $$\eqalign{a_1&=1+2+3\cr a_1+a_2 &=...
5
votes
2answers
669 views

Some problems using LyX RTL with equations

I'm really new to the whole LyX(2.0.5.1) thing I'm usually using LibreOffice Writer and it's Latex like "formulas". But I've heard so many good things about LyX, so I've decided to give it a try but ...
9
votes
2answers
1k views

A large amount of text below the sum or product sign

I want some advice about how to format it better if I have to write a long text below a $\sum$ or a $\prod$ sign. Basically I want to explain the restriction over which the sum or the product is being ...
7
votes
2answers
3k views

Simple Beamer Template for Total Beginners

Is there a template that allows me to create slides with only some simple formulas at most?
4
votes
1answer
676 views

Naming equations with breqn

I know that the tag command from amsmath should be used to name equations (see below a mwe). \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} c^2 &= a^2 + b^2 \tag{...
1
vote
0answers
4k views

“File ended while scanning use of \align*” [closed]

This is really odd. I have ended all environments. Triple checked them. When I add this last bit of equations using the align* environment, all kinds of errors appear. Predominantly, in this case ...
6
votes
1answer
389 views

Producing several overlines of the same height throughout a formula

Above is an example produced by S\overline{n}=\overline{n+1}. The overlines are not aligned vertically, which is highly undesirable. Is there any way to produce overlines of the same height throughout ...
1
vote
1answer
451 views

Get rid of the word “equation” in cross references

I'm using the thesis template that comes with LyX and whenever I make a cross reference for an equation it comes along with the word "Equation XX.YY" and I just want the number "XX.YY". The document ...
5
votes
2answers
1k views

Vertically aligned \underbracket's in an equation

\[ \underbracket[0.5pt]{\left( \begin{array}{c} a \\ b \end{array} \right)}_{v_1} \qquad \underbracket[0.5pt]{\left( \begin{array}{c} a \\ b \\ c \end{array} \right)}_{v_2} \] gives I would like ...
1
vote
2answers
703 views

Equation number not on the extreme right?

I am trying to number the equation in my thesis. All of the equation numbers are being displayed correctly on the extreme right (of the text area). However, in one equation, I am facing a little ...
6
votes
1answer
6k views

Indent math blocks?

I want all math blocks \begin{math} in my document to be intended automatically, like it's the case with \begin{itemize}. Can anyone please give me a hint on how to do this? Thanks :-)
2
votes
1answer
162 views

Equal spacing between equations on a page

I am writing a short quiz for my students in LaTeX, however I am having trouble with the spacing. The two equations I have are: $\int sin^3(x)cos^{\frac{3}{2}}(x)dx$ \vspace{20pc} $\int \frac{3x^...
1
vote
1answer
669 views

Latex: Equal spacing between equations on a page [duplicate]

I am writing a short quiz for my students in latex, however I am having trouble with the spacing. The two equations I have are: $\int sin^3(x)cos^{\frac{3}{2}}(x)dx$ \vspace{20pc} $\int \frac{3x^...
9
votes
2answers
1k views

Smartly omit chapter number in equation numbering

In my thesis I use chapters, sections and subsection. I like to have my equations numbered with respect to section, but I want the displayed equations numbers not to include the chapter number. ...
0
votes
0answers
74 views

Convert a latex document with lots of equations and pseudocode to Microsoft Word [duplicate]

I have a nice latex document with a lot of mathematical equations and pseudoalgorithms. Now I need to work out this document with a colleague that can only use microsoft word. So I need to convert ...
2
votes
2answers
4k views

Problem with cross referencing using gather environment

I am using gather environment to write bunch of equations. When I try to cross-reference those equations, the equation number doesn't show up. Here is my code \documentclass[12 pt]{article} \...
2
votes
0answers
40 views

Problem with hyperref/cleveref interaction and specially tagged equations [duplicate]

I would like to resolve the infamous warning destination with the same identifier (name{equation.0.1}) has been already used, duplicate ignored in my MWE below. Reading around this site, the package ...
6
votes
1answer
255 views

Equation Counters in and outside Theorems

I am trying to setup the counters so that the equations and theorems increment by section and there is no overlap between equation and theorem numbering. I also would like to be able to number ...
3
votes
1answer
126 views

Problem with using multline and align

I am LaTeX begginer and when I run this equation, I am getting the error: ! Argument \align* has an extra {. Here is the equation. \begin{multline} \begin{align*} C_s & = \displaystyle \max_{...
6
votes
1answer
2k views

Equation number too close to my equation

My equation number is being placed directly below my equation, so close they're almost touching and it looks really bad. Is there any way that I can get it to move down a little bit? Here's a picture. ...
9
votes
1answer
2k views

One-line equation with two columns

I try to write an equation with two similar formulas, i.e. \begin{equation} \qquad A_1 = B + C \qquad A_2 = D + E \qquad \end{equation} Of course, instead of \qquads I want to use something like \...
7
votes
1answer
878 views

How can I adjust the box around my equation?

I currently use the \boxed{} command to place boxes around my equations. However, I would like to have more control of the style of the box. Is there a way to do this? To take a specific example, ...
6
votes
1answer
912 views

How to remove unnecessary space after flalign* environment

I was wondering whether it would be possible to remove some unnecessary space after flalign* environment. I tried using \belowdisplayskip, but to no avail. Below is the sample input. {\setlength{\...
8
votes
2answers
32k views

label multiple lines of equations [duplicate]

Suppose I have the equations \begin{align} f(x) = x^2 g(x) = \exp( x ) \end{align} I would like to use on single label for these lines, and ideally the equation number would be placed vertically ...
0
votes
1answer
504 views

Number equation with previously used (auto-assigned) number [duplicate]

Assume you have a long text (i.e. a thesis/book/etc) with a lot of equations per chapter. At some point later in the text, you not only want to reference an equation but actually spell it out again, ...
3
votes
1answer
106 views

Alignment spacing for negatives - Why am I unable to properly align my equations?

Although I searched the Web and indeed found an answer here, I still seem unable to address my issue of aligning two rows in my step-by-step process for solving a very basic equation. Just in case it ...
4
votes
2answers
391 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}% \begin{minipage}{....
3
votes
1answer
7k views

How would one have an equation for an exponent?

How can I write 2^((n-1)/3) or anything similar in LaTeX? I am new to the whole thing, but I tried giving it a shot and it doesn't look the way I want it too. It looks like I am taking the 2 to the ...
3
votes
2answers
3k views

Create environment out of eqnarray with frame box

Could you help me to create an environment out of this code: \smallskip\centering\framebox[0.9\textwidth]{ \begin{minipage}[c]{0.8\textwidth} \begin{eqnarray} I & = & -\mu\frac{W}{L}\int_{V_{...
2
votes
1answer
2k views

amsmath split environment results in error “Missing } inserted.”

The following compiles fine, but outputs a pdf with a line too long. \documentclass{article} \usepackage{amsmath} \def\group#1{\left ( #1 \right )} \begin{document} $$ %\begin{split} \group{\neg (...
6
votes
3answers
1k views

Prevent equation labeling to change sizes

Everytime i change equation font size using \footnotesize the label (for example (3.12)) on the right side also changes its size. Is tere a way to change equation font size but not its label font size?...
10
votes
1answer
455 views

Double subscript problem

The code \DeclareMathOperator*{\FAggregate}{F} \begin{equation} q_k'(e) = \FAggregate\limits_{a \in R}_a (q_k(S(a))) \end{equation} causes a problem with an additional _a. What I want is the a to ...
4
votes
1answer
86 views

How can I move an equation without affecting the label?

I am having an issue with the automatic LaTeX equation and label formatting on one of my longer equations (see results below). Minimum Working Example \documentclass[11pt]{article} \usepackage{...
3
votes
1answer
172 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
112 views

I need to reduce the fontsize of only one equation/formula because it's too long

\begin{equation} \left| Y(j \omega) \right| = \sqrt{\frac{\omega^2 \left( C\ped{DC} + C\ped{eq} \right)^2 + \omega^4 \left[ \left( R\ped{eq} C\ped{eq} C\ped{DC} \right)^2 - 2 \left( C\ped{DC} + C\ped{...
1
vote
1answer
442 views

Subscript right below the variable

$x_{max}(n)$ does not look good, because max takes to much space horizontally, and n goes too far. What is a good way to write such thing?
2
votes
0answers
620 views

I am using twocolumn svjour3 template to submit a paper. I want to write long equations as a single column. But I get an error message [closed]

Here's what I did: I have the same problem with long equations in the svjour3 document class. I want to display the long equations as a single column. I tried \documentclass[twocolumn]{svjour3} ...
2
votes
0answers
194 views

Displaying Latex files on tablets [closed]

I need to display short mathematical formulae on mainstream tablets. Presently, I type the equations in LaTeX, convert the LaTeX document to PDF, and then to SVG before displaying it. I'm sure there ...
3
votes
2answers
784 views

LaTeX Capabilities: Complicated and Important Equations

As I am introducing LaTeX to an audience, I'd like to show how it can render equations beautifully. As such, I'd like one equation (math/physics) that combines many different formatting requirements, ...
6
votes
2answers
1k views

hf-tikz doesn't box around equation

In TikZ based \boxed construct is causing pdflatex to hang it was suggested to use hf-tikz instead of manually using tikz. The documentation indicates that this package doesn't work properly for tall ...
0
votes
1answer
652 views

How to write text in side the equation [duplicate]

I have to write Accelerating model: f(a)=exp(-E/RT) (1.1) I do not know how to write that. I have written: \begin{equation} $Accelerating model$: \hspace{20 mm} f(\alpha)...
3
votes
0answers
36 views

Why does an extra line of space before \end{align} throw up an error? [duplicate]

I often add extra spaces in my TeX file for readability, and I find this error cropping up whenever there is an empty line before \end{align}. What is the reason for the error and is there a way to ...
1
vote
0answers
46 views

Add a fixed letter to all equation numbers [duplicate]

I am working on a supplementary for an article and I want the equation in this supplementary to have the letter "S" before the numbers of the equations (i.e. equations (S1), (S2), etc, instead of (1), ...
0
votes
1answer
1k views

Spacing in multiline equations

Please help me to figure out how to produce with that: I have the following code: $$ gcd(0,0) = 0 $$ $$ gcd(u,v) = gcd(v,u) $$ $$ gcd(u,v) = gcd(-u,v) $$ $$ gcd(u,0) = |u| $$ $$ 2^{x^3} = x+...
10
votes
1answer
763 views

Bad position equation number Lualatex

If a math display is too wide, then the \eqno appears on the next line on the left instead of on the right as it should. Does anyone know how to solve this problem? This is an example: \documentclass[...
1
vote
2answers
150 views

How to display formulas?

I am using the following format for all \begin{math} newP = p + vt + 0.5a(t square) \end{math} How do I from left justified to centrally justified leave one blank line before and after the ...
12
votes
4answers
338 views

How can I nicely show an absolute value with the “divides” function, |?

Right now, I am using \lvert,\rvert, and \mid to display \documentclass[border=3pt]{standalone} \usepackage{amsmath} \begin{document} $\lvert x \rvert \mid y$ \end{document} Is there a better ...
0
votes
1answer
162 views

LaTeX commands for centering the equations without numbering them [duplicate]

What LaTeX commands should I use to center the equations on the page, but without numbering them?