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

4
votes
1answer
231 views

Add \par only if last paragraph did not end with displayed math

Background: I have named "sections" (sections for rest of this question) which are conditionally displayed or suppressed based on parameters. To simplify the test case below, these are controlled by ...
0
votes
0answers
31 views

Global label in a LaTeX “align” [duplicate]

I use \begin{align} \label{blah} ... \end{align} in order to do equations of multiple lines. Unfortunately the equation number (coming from label{blah}) is not centered vertically in the middle of ...
2
votes
2answers
252 views

Minimal work example for darray from breqn

I was trying to use the darray environment from the breqn package but hadn't success on it. As a mwe I would like to replace the eqnarray below by the darray. \documentclass{article} ...
5
votes
1answer
5k views

Big Equation into several lines in beamer

I have a very big equation and I tried to seperate that equation into different lines using the following code but the spacing is very big. Can anyone suggest what would be the best way to save space ...
9
votes
2answers
978 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 ...
9
votes
2answers
624 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 ...
5
votes
2answers
645 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 ...
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 ...
4
votes
1answer
642 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 ...
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?
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 ...
1
vote
1answer
439 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 ...
4
votes
2answers
394 views

Can you use arabic letters in equations?

Making equations with greek letters is easy -- for example, $2 \gamma = 1$. But is there any way to do it with arabic letters -- something like $2 \gim = 1$? I've run out of greek letters in my ...
6
votes
1answer
344 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 ...
1
vote
2answers
660 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
1k views

Compilation error for discontinuous function definition

I am trying to render the following discontinuous function definition with the LaTeX code: \begin{equation} f(x) = \left\{ \begin{array}{lr} 0,5x & \text{for x} \in [0, 10] \\ ...
1
vote
1answer
648 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 ...
2
votes
1answer
154 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 ...
56
votes
2answers
5k views

How do I number equations only if they are referred to in the text?

I have a paper where all equations are numbered, but I want to number equations only if they are actually referred to in the .tex file using \ref{}. How can I make that happen? Alternatively, how can ...
0
votes
0answers
73 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 ...
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 ...
2
votes
1answer
552 views

How to automate the \label-ing of equations?

I'm not sure if the way LaTex works allows for automatically labeling of, for example, align environments. This would require that the environment has an internal counter. However, when placing an ...
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
251 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 ...
6
votes
1answer
1k 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. ...
3
votes
1answer
125 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 ...
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
806 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
844 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. ...
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 ...
8
votes
2answers
27k 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
492 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
2answers
2k 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 & = & ...
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 ...
10
votes
1answer
432 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
84 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} ...
3
votes
1answer
109 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} + ...
1
vote
1answer
417 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
588 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
188 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 ...
6
votes
1answer
2k views

Referencing equation counter value in custom float caption

I have used the float package to create an equation float, eqfloat, so I can add captions to equations. Within the eqfloat I used the equation environment to typeset the math. I want to keep the ...
3
votes
2answers
756 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, ...
7
votes
3answers
532 views

Highlight equations by temporary changing the formatting of their number

I am writing a long paper having 100+ equations, and want to highlight a few key equations. Since the journal won't let me use boxes around equations, I am trying to have their label being typeset ...
0
votes
1answer
626 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} ...
3
votes
0answers
34 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 ...
0
votes
1answer
985 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} = ...
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), ...
1
vote
2answers
661 views

Spacing of consecutive equation versus a single gather

I know the spacing produced by the following two approaches is slightly different. So my question is which one should I choose? Is it about personal preference? With 3 consecutive equation ...