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

5
votes
1answer
62 views

Is there an alternative to \ref or \eqref that omits the chapter number without changing the overall behaviour?

I am using a thesis template from my university (memoir class) which by default appends the chapter number when I use \ref and \eqref, which is totally fine by me. But in some occasions I want to ...
1
vote
1answer
43 views

how to subscript when there is a cap on mathematical expression?

The following equation is typed using MS word When I tried to type same using latex with subscript _i ended up with this result bcoz there is a cap above subscript "beta". The latex output is this ...
4
votes
2answers
187 views

Using braces with equations - how to make fractional terms 'bigger'

I have some equations which display perfectly until I put them inside a brace and they become 'squashed'. Example: \begin{alignat}{2} u = \frac{\partial\tilde{X}}{\partial x}, v = \frac{\...
3
votes
1answer
24 views

Spacing and Page Break Issues for long equations. The aligned and align* dilemma

Basically, for one long string of equations, I need to be able to have it continue over multiple pages. I also need there to be a regular new paragraph space between the Title of the page and the ...
0
votes
1answer
22 views

How can I reduce the size in array environment?

My code is \[ D_{k+1}(x_{k+1}) = \min_{\begin{array}{c} \text{all } x_k \text{ such that}\\ p_{{x_k}{x_{k+1}}} > 0 \end{array}} \left[ D_k(x_k)-\ln\left(p_{{x_{k-1}}{x_k}} ...
3
votes
3answers
578 views

Plotting functions and denoting equation on the figure

How can I plot the functions P=20-1/5*Q and P=5+1/9*Q so as to find the equilibrium point? The figure I need is like the following: Furthermore, how could I put the equation on each ...
0
votes
1answer
36 views

Equation with condition [duplicate]

I'd like to create the following equation: Could you please give me a solution? Thank you.
4
votes
2answers
27 views

Using superscript after \middle

I'd like to write this formula with all parenthesis of the same size N = \left( \frac{s}{2} \right)^2 - \left( \frac{d}{2} \right)^2 so I tried N = \left( \frac{s}{2} \middle)^2 - \middle( \frac{d}...
5
votes
2answers
58 views

How to scale equation only when it is larger than linewidth?

I know that we can adjust the size of equation using: \resizebox{1\hsize}{!}{$ $} But I always have to digit that when I have a big equation. So, how to make latex percept that the equation is ...
1
vote
1answer
130 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}}}\\ \...
5
votes
2answers
265 views

solving systems of linear equations on the same line

I want to make this look better. When I cancel out some of the variables it doesn't cancel out well. I don't want a line to go underneath where I have E1 + E2 and as well as the others. Some of my ...
6
votes
2answers
235 views

writing equations side by side

what I want to do is I want to solve my system on the same line. I've solve for x but I also want the part where I solve for y on the right side of the system that I just solved for. Is there a way to ...
2
votes
1answer
34 views

multiple equations on same line with \midrule not extending to both equations

Hi I want to solve a system of linear equations where you can see the cancellation and I've done that but I want to know how I can put another equation to the right of what I just solved. This is what ...
2
votes
2answers
57 views

Multline A group of equations

I have two equations. I use gather (or align) environment. one of the equations are too long and I want to multline them in that environment. How can I do it? and, How I can leftside these equations ?...
14
votes
2answers
2k views

Center over-long equations between both margins

I understand the reasoning behind the fairly narrow textwidth in a default LaTeX article. 60-80 characters per line and all that. However, I am preparing a document that features many lengthy ...
24
votes
4answers
4k views

Exporting all equations from a document as individual svg files

I'm currently a presentation based on a paper originally written in Latex. Currently, I use Kile and Ubuntu for my work. What I'm finding is that I need a large number of the equations from the ...
3
votes
5answers
1k views

codecogs like software/ IDE/ LaTeX environment ?

I have been using the website, codecogs for mathematical equations - and it is wonderful for a noob like me. However, I wish to avail of such support when I am offline, is there similar facility for ...
1
vote
2answers
44 views

Help defining a newcommand for short cut to equation

Is there anyway to define a newcommand for an environment shortcut ? This is what I have so far, but is not working as I would like to. \newcommand{\beq}{\begin{equation} \label{eq:} and \...
1
vote
0answers
69 views

Numbering equations with (B.1), (B.2) [on hold]

How to create numbering in this way: (A), (B), (B.1), (B.2) etc. with \enumerate ? Thanks for any advice. (edited in from comment:) \begin{subequations} \renewcommand{\theequation}{\...
13
votes
2answers
9k views

Putting equations in \intertext to annotate a proof

I'm trying to typeset a proof with Latex. When I do proofs, I like to alternate between a line of text, to explain each step, and the resulting equation. I also like to have the equations align at the ...
1
vote
3answers
48 views

how to locate the equations to the left in “itemize” environment as shown in the picture

I want to put the equations in the itemize environment, however, the equations are centered. Do you guys know how to generated the layout shown in the picture?
0
votes
2answers
59 views

Is there any method to use an automatic word wrap in equations?

In common words, the word wrap is done automatically. But in the equations, it doesn't work. Actually, I am making some presentation material using beamer in Latex. Is there any way to make word wrap ...
3
votes
1answer
42 views

How to reset equation label after arbitrary sections?

I have a problem in equations with same label. for example: \section*{first section} \begin{equation}\label{a1} E=mc^2 \end{equation} where \eqref{a1} obtained by .... \section*{...
2
votes
1answer
243 views

Negative phantom inside equations

The following code produces a negative phantom (from the comment in this answer): \newcommand{\negphantom}[1]{\settowidth{\dimen0}{#1}\hspace*{-\dimen0}} However, when used inside an equation like ...
2
votes
3answers
1k views

Chemical equation in LaTeX

I am trying to create an equation in LaTeX using the following code. \delta{$^{66}$}Zn = \Bigg[ \frac{{($^{66}$Zn/ $^{64}$Zn)$_{sample}$}}{{( $^{66}$Zn/ $^{64}$Zn)$_{standard}$}} - 1 \Bigg] \times $...
0
votes
1answer
79 views

How to multiply a fraction

I have an equation in which inside I have a fraction. I want to put a number (3.3) that indicates multiplication. \begin{eqnarray} \phantom{0}LOD = \frac{\phantom{0}S}{N} = 0.1\phantom{0} \si{\ng/\...
2
votes
0answers
25 views

Numbers becoming symbols in equation [duplicate]

I am trying to write a simple equation: G=log(base 2) (R) but when I write this in latex: \begin{equation} \cal{G} = \log_{2}(\cal{R}) \end{equation} the number 2 becomes a symbol: Any ideas?
2
votes
4answers
119 views

Two equations in align environment with bracket in between

How can I type such an equation into a LaTeX align environment, with a bracket between the two lines of the equation?
4
votes
1answer
90 views

Combine split and align environment

The split environment allows you to give one number to two equations, as in \begin{equation} \begin{split} a&=1+2+3+4\\ b&=5+6+7+8 \end{split} \end{equation} which gives Note that the ...
6
votes
1answer
193 views

How to place braces in multiple equations

I have the following expression: \begin{equation} \begin{aligned} %C1 \sum_{i = 1}^{m}{y^{C_1}_i} &= m\beta_0^{C_1} + \beta_1^{C_1}\sum_{i = 1}^{m}{x_{i1}^{C_1}} + \cdots + \beta_q^{C_1}\sum_{i = ...
4
votes
3answers
62 views

Keep text with previous line - LaTeX equation and next sentence

What I am trying to do is probably very similar to the "Keep with next/previous" in MS Word. I have an equation and its description in two consecutive lines. I would like the two lines to shift to the ...
2
votes
2answers
47 views

Aligning labels inside cases environment

I have the following code, where I have multiple cases and all need to be labelled. I tried using subnumcases, however I wanted some freedom in labelling (the $k^{th}$ case must be labelled C.k etc), ...
2
votes
1answer
87 views

Most efficient way to convert word containing many Mathtype equations to LyX

I use LyXConverter from http://www.editorium.com/lyxconverter.htm It does not convert equations, which are displayed as "no file found", that is, empty files, in LyX. so I have to use "toggle tex" ...
0
votes
2answers
26 views

increase space between brace and equation

Using the package mathtools the output of this code \[ \begin{dcases*} l_{\epsilon} = (l_ul_d)^{1/2}\\ l_k = min(l_u,l_k) \end{dcases*} \] is the following Is there ...
3
votes
1answer
60 views

Avoid pagebreak between equation and label

I have a very long equation which barely fits into one line, but the label does not and is positioned one line below. The problem is that if the equation is at the end of a page, the label is moved to ...
38
votes
4answers
82k views

Attractive Boxed Equations

I often used \boxed{...} from the AMS math package to place a box around important equations. However, this approach often produces somewhat awkward looking output. Consider \documentclass{article} ...
0
votes
0answers
11 views

flalign is not aligning equations to the left [duplicate]

I'm trying to align my equations to the left, for this I'm using $\begin{flalign*}$, but as you see, below the matrices the equations are not being aligned, how can I fix this? This is the result I ...
0
votes
1answer
37 views

Trouble submitting paper to arXiv - labels except in equations

I submitted my tex file with figures to the Arxiv. References and figures are well referenced, but equations no. When I compile the tex file in my computer using, \begin{equation}\label{eq:1} ...
1
vote
3answers
34 views

Aligning system of equilibrium equations

I would like to align equations on the right side to this imaginary red line (to the left). Also, it would be really nice to have just one number of the equation (just like in equation environment) ...
1
vote
1answer
27 views

Undefined control sequence error

it might be a stupid question but I cannot see where the mistake is in this code: \documentclass[12pt]{article} \usepackage{amssymb} \renewcommand{\baselinestretch}{1.5} \setlength{\topmargin}{0cm} ...
2
votes
1answer
38 views

Brace in the same column

I have a problem with set of equations. To wit: I would like to set a braces in the same column, but I have no idea how to meki it. Belowe I enclose a code. \usepackage{amsmath} \usepackage{array}...
4
votes
1answer
62 views

How to do an equation correctly if the formula won't accept it?

I do have two formulas in my text and the only way I could make them work is in a way with a lot of escaping commands. Now the formula looks correct but whenever I try to add an equation to make it ...
0
votes
0answers
27 views

larger math fonts for R Markdown

I am looking for an "easy", i.e. not package dependent way of increasing the font size of the math equations I embed in my Rmd documents (eventually compiled by knitr). As an example: $$ \boxed{P(x=a;...
3
votes
1answer
60 views

Blank lines in an equation and some other similar function

Why blank lines between equation makes error? there are a lot of commands in latex and almost for all of them these blank lines are not important, but why in this case is important and is there any ...
7
votes
2answers
2k views

What is the meaning of $$$ in LaTex?

I want to know the meaning of the triple $ in my document. \documentclass[12pt]{article} \usepackage[letterpaper]{geometry} \geometry{top=1.5cm, bottom=2.5cm, left=3cm, right=3cm} \usepackage{...
2
votes
1answer
29 views

Positioning of equation and variable explanation

I am looking for the following: The left part is a formula, middle part is text (e.g. 'for mode') and the right part is a formula again, describing a variable in the left formula. How can I fit ...
4
votes
2answers
32 views

How to Split equation in aligned environment

I have two sets of equation in aligned environment. The problem is that one of the equations (As shown in slide below) is too long to fit on a single line. I want to split this equation without ...
3
votes
2answers
76 views

How to put box around a single equation in align environment?

I want to put a box around one of my equations in aligned environment. I am looking to do something similar to Attractive Boxed Equations, but the code only caters for individual equations. Here is ...
5
votes
1answer
61 views

How to align two sets of equation separated by some text in a beamer slide?

I want to align the two set of equations on same slide. I found a similar post How to align a set of multiline equations but there the equations do not involve text as in this case Here is my MWE \...
1
vote
4answers
166 views

How to align equations with integrals and “subject to” equations

I have a long expression (maximization problem) which I force down to the next line using //. I also have two functions ("subject to") which I want to place underneath. I use & to make the ...