Tagged Questions
3
votes
3answers
68 views
How to simply center equations using eqnarray*?
So I have this code here:
\begin{eqnarray*}
x + (y - 2)^4 = w^2 \\
(x - 9)^2 + y_2^2 = w^2 \\
x + (y - 2)^4 = w^2 = (x - 9)^2 + y_2^2 \\
\end{eqnarray*}
As you can see, I get the ...
5
votes
1answer
58 views
Annotated equations
I need many of my equations to have annotations stating their domain of validity, or certain conditions for which the equation is true. Preferably, these would be flush right against the equation ...
12
votes
2answers
73 views
Input manually a number into \eqref
Often while writing papers I find the need to cite particular equations from other papers. For example, the landmark paper by Einstein, Newton, and White (2015) lays out the theory of everything in ...
2
votes
0answers
95 views
LaTeX is not compiling consistently
I am really new to LaTeX, so it's possible I'm making some egregious error that I'm not aware of, but my documents are compiling inconsistently. By that I mean it compiles correctly maybe one in ...
1
vote
1answer
70 views
How to use \displaybreak?
I have a very long equation
\begin{equation*}
\begin{aligned}
multiple line equation...
\end{aligned}
\end{equation}
But just using the above code causes the whole equation to start from a ...
4
votes
2answers
57 views
Custom cross-reference formats (e.g. “Equation 1” instead of just “1”) [duplicate]
I have an equation system set up as below. When I reference it however, ie. with \ref{eqn:surfacetension}, it only prints the number '1', and not 'Equation 1'. How can I modify the code to do that? I ...
0
votes
0answers
80 views
Numbered equation makes small sum operator
I am using the followig:
\chapter{Theoretical framework}
\section{Econometric framework}
\begin{equation}
{r^{h}_{t+1}}=
\alpha+\beta x_{t} + u^{h}_{t}
\end{equation}
%random test equationn
...
13
votes
5answers
216 views
Typesetting math: an optimisation problem (cost & constraints)
I really struggle to align a system of equation for an optimisation problem. It was all ok at the beginning until I started adding the constraint.
I've got this code so far:
\documentclass{article}
...
1
vote
1answer
51 views
System of equations with tag which has subscript
Suppose I have an equation
u_t = F(x)
u(0) = u_0
I want to put a brace around on the left hand side of both lines and give it a tag with a subscript (eg. P_w) AND I want to be able to refer to ...
5
votes
3answers
64 views
Left-align math with fleqn inside split environment
Below, how would I move the first math-line left so that a^2 left-aligns with where?
\documentclass{article}
\usepackage[fleqn]{amsmath}
\begin{document}
\setlength{\parindent}{0pt}
Some text
...
8
votes
2answers
159 views
How to format Maxwell equations?
Is there a variant of split environment from amsmath package which would allow for two aligned equations in a row? I want to format two pairs of Maxwell equations in two rows and put single equation ...
2
votes
1answer
42 views
Two labeled equations on the same line with labels lining up vertically
I'm using the following LaTeX code within the amsmath environment in LaTeX (MiKTeX 2.9 and TeXnicCenter under Windows):
Let $f$ represent the resulting number of such two-step cycles that operate per ...
2
votes
1answer
58 views
Which one is recommended to split, continue and align a long equation?
In my investigation, the outputs are identical as follows.
Version 1:
Using aligned.
\begin{align*}
\framebox[6cm]{Top LHS}\\
\framebox[5cm]{Middle LHS}\\
\framebox[4cm]{Bottom LHS}
&= \!
...
0
votes
1answer
54 views
Choose which rows in multi-line equation to assign numbers to [duplicate]
If i do:
\begin{align}
a = b \\
b = c \\
c = d \\
\end{align}
The output will be like:
(1) a = b
(2) b = c
(3) c = d
If I use algin* instead. No row will be ...
6
votes
1answer
114 views
Add Overbrace to describe a column of matrix
I want to add some over-braces to a matrix to get the following output:
However, this this what I managed to get:
I don't know how to get the neuron 1 and neuron 2 headings...I was thinking of ...
1
vote
1answer
43 views
Equation number displaying problem
I used \eqref to reference two different equations (\eqref{eq1} and \eqref{eq2}) but it displays the same strange shape as shown below in the image. The equation numbers are 1 & 2, any help?
6
votes
1answer
102 views
What is the advantage of using the equation environment in latex?
My flatmate uses \flalign for all of his equations in LaTeX and after thinking about it, it makes sense. Is the \equation environment not just more restrictive? Is there ever an advantage to using the ...
7
votes
1answer
105 views
Breaking lines in equations
I had an equation that was too long. It got cut off, so I modified it with the split environment inside an equation environment:
\begin{equation}
\begin{split}
& I_{ribbon} = \frac{1}{2} M(a^2 ...
2
votes
1answer
101 views
Spacing between equation and text inconsistent due to large equations
I've read through answers to similar question but I still have the same problem. Essentially, I have some large equations and they are in the form
\documentclass{article}
\usepackage{amsmath}
...
0
votes
0answers
53 views
Using split to break a long equation
I am trying to break a long equation over multiple lines. It is here as follows:
\begin{equation}
\begin{split}
L(\textbf{q})=&\prod_{t=0}^{36}{q_{1}^{iB(t)sB(t+1)+iC(t)sC(t+1)}\\
&\quad\cdot ...
4
votes
1answer
96 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
...
2
votes
2answers
84 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
1answer
127 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 ...
0
votes
1answer
68 views
Expansion of single line vs multiple line gather
As described in Multiple split equations I want to create an equation environment that inserts aligned and lets me split equations with \n. The solution I found there is a bit hackish I guess, but ...
15
votes
2answers
228 views
How to remove an unwanted white space at the last end of a horizontal curly brace?
You can see there is an unwanted white space at the last term below.
\documentclass[border=12pt]{standalone}
\usepackage{amsmath}
\begin{document}
$
...
10
votes
2answers
187 views
Modify eqnarray to match that of amsmath's align
This is a follow-up question to \eqnarray vs \align.
Sadly, some journals (and their accompanying document classes) still require the use of eqnarray to arrange a number of equations in a single ...
3
votes
2answers
149 views
How can I adjust parenthesis on mathematics?
How can I make the square brackets on the following equation the same size?
\begin{equation}
\begin{split}R^{\mu}_{\nu\rho\sigma} &= \partial_{\rho}\left[\bar{\Gamma}^{\mu}_{\nu\sigma} + ...
5
votes
2answers
132 views
Multiple split equations
I find myself again and again using a combination of the gather and aligned environments. So it would be nice to not have to write so much. In particular, it is often only clear after writing the ...
5
votes
2answers
158 views
How to get align or similar equation environment to use the whole line instead of centering around the equality sign
I'm creating a Beamer presentation in which a line in the equation environment should fill the whole screen and should not only be centered arround the equality sign. I think this looks nicer and is ...
5
votes
1answer
120 views
In LyX, what is the most standard way to type a system of equations?
I have a system of equations and would like the alignment to be done on the equal sign.
phi_{t+1} = F\xi_{t}
y_t = A'X_t
\theta_t = \mu + \epsilon_t
What is the most standard way ...
3
votes
1answer
69 views
Centering \vdots in a system of many equations and aligning the equations to the opening brace
I have a problem similar to this question.
I want to typeset k equations with the horizontal \dots and the \vdots aligned. The problem is that I want the equations to be aligned to the opening brace.
...
3
votes
1answer
129 views
Aligning equations with using fleqn
I use fleqn as a document class, but now I solve problem, how to align few equations to the center and few to the right.
I've tried \setlength{\mathindent}{1cm} but after that is the problem that I ...
3
votes
2answers
84 views
alignment and numbering of math formulas
I have 3 formulas which should be aligned at the = sign and numbered (1) to (3).
Seems a simple task but trying both \being{equation} with \begin{split} and \being{align} did not work out. I alwasy ...
6
votes
1answer
100 views
Horizontal array of enumerated equations
This is for use in work assignments for math students. I'd like to post multiple parts for a given question, without sacrificing too much space for this. So I want a bunch of equations arrayed ...
4
votes
2answers
136 views
Equation does NOT go new lines, while using \newline
I've been trying to typset an equation which, at a certain point, spans several lines, but is a single step (so no numbering may occur). For this I used newline, but this doesn't seem to work. How do ...
2
votes
1answer
112 views
\numberwithin makes the first equation unnumbered
I might be doing something stupid, but the following code produces a document with the first equation unnumbered (only an empty set of parentheses is given). The second equation is correctly numbered ...
5
votes
1answer
124 views
How to replace $$ .. $$ by \[…\] [duplicate]
Possible Duplicate:
replace often used Tex-Literals ($ and $$) for math regions into \( or \) and \[ or \]
When I started using latex, I wrote mathematical formulae separated from ...
6
votes
2answers
145 views
Nested Environ's give “! Argument of … has an extra }” error
I tried using two Environ's in a nested fashion, but I get the
! Argument of \marray has an extra }
error. Any idea why this happens?
\documentclass{minimal}
\usepackage{amsmath,environ}
...
1
vote
2answers
101 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 ...
7
votes
1answer
309 views
Vertical spacing before and after equation environment: empty line or not?
The vertical spacing in front of and behind the amsmath equation environment is different whether I insert a blank line or not (im using KOMA-Script with parskip=half if this is important). I'd like ...
1
vote
1answer
67 views
Linebreaking gather (equation) environment?
Please help me to line break this gather environment. You can clearly see which line I want broken by where I've placed the split environment in my code. It's too long for 1 line.
I also want it ...
4
votes
2answers
233 views
How do you make numbered equations in latex?
I would like to put in a code that automatically assigns a number to the equations in my documents preferably aligned on the right hand side.
How can I go about this?
...
19
votes
4answers
589 views
How to break a long expression in the denominator of a fraction?
I used the split command to break my equation but I receive the error:
! Missing } inserted.
<inserted text>
}
l. \end {split}
The code in .tex file is as follows:
...
4
votes
1answer
770 views
Equations didn't fit
I created a presentation with University of Hamburg beamer theme, which can be found here. However, in a slide, I wrote long equations but they did not fit and I cannot fix this problem. This is the ...
4
votes
1answer
82 views
solution to overflowing equation?
What is the best solution for an equation which is overflowing?
I have the structure:
\begin{align}
long here & long here 2
\end{align}
and this causes the long here 2 to overflow.
I want to ...
8
votes
2answers
875 views
Change equation font to Times New Roman?
How would I change equation font in the \begin{equation} environment to Times? For instance, I use this code in LaTeX:
\begin{equation}
\begin{split}
{L_{CML}}\left( \theta \right) ...
2
votes
2answers
152 views
Brace delimited sets of equations inside AMS align with common alignment
I would like to extend the following way of typesetting equations with a trailing brace to more than one set of equation.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
This works
...
2
votes
1answer
73 views
How can I control the height of my left-right delimited equation part?
I have a simple equation, much like the following (I use the braket package) :
\begin{equation}
\mathcal{Y} = \Set{ x \in \mathcal{G} | \Vert x \Vert > d }
\end{equation}
My gripe with this ...
6
votes
3answers
281 views
A vertically centered equation number on a multline environment
The multline environment does exactly what I want in splitting a long formula between lines by utilizing the horizontal space to the fullest. (I don't want the alignment features of the align ...
4
votes
1answer
148 views
Mixed Grouping in Subequations
I am looking to create a subequation environment with three equations. However, I want to group the 2nd and 3rd equations with a brace on the left side. I tried this (using the empheq package):
...


