12
votes
How can I write the next step exactly below the previous step in the equation without repeating the L.H.S. of the equation?
The following solution also employs an align* environment (cf @RaffaeleSantoro's solution), but also takes care of several typographical niceties such as using upright lettering for a "math ...
11
votes
Accepted
How to align equations like this?
You want aligned, rather than matrix.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\left.
\begin{aligned}
\frac{dx}{dy} &= a(y-x)+u \\
\frac{dy}{dt} &= -...
10
votes
Accepted
Arrow to an equal symbol in a equation to justify it
Here's a solution that uses the \mathclap macro of the mathtools package and the \substack macro of the amsmath package. (Aside: the mathtools package loads the amsmath package automatically.
\...
10
votes
Accepted
How can I write the next step exactly below the previous step in the equation without repeating the L.H.S. of the equation?
Try this:
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\begin{document}
\begin{align*}
...
10
votes
Accepted
Square roots look ugly with high and long expression
I assume that by "ugly", you mean that the square root symbol in question -- see the top row of the following screenshot -- somehow looks either "too big" (in an absolute sense) or ...
10
votes
Adding explanation next to the successive equations in latex
I think it's better to use an alignat or alignat* environment rather than an array environment to display several rows of equations, for two reasons. First, the rows are spaced slightly farther apart ...
10
votes
Accepted
How to write equation where all equation are in only opening curly bracket and there is no closing curly bracket and with equation number
I suggest you embed a
\left\{ \begin{aligned} ... \end{aligned} \right.
construct in an ordinary equation environment.
\documentclass{article} % or some other suitable document class
\usepackage{...
9
votes
Accepted
How set the bounding box for \middle
This is a prime illustration of why relying uncritically on \left, \middle, and \right can be a poor idea. Just employ 4 instances each of \biggl\langle, \biggm\vert (and lose the \, spacers!), and \...
9
votes
Accepted
Display Long Trigonometric Identity Manipulation
I'd not present the identity that way, which I consider pedagogically unsuitable, to be honest.
Anyway, you can detach the first line pretending it has small width and split the two longer lines.
\...
9
votes
Accepted
Custom \big command
You should use \bigl and \bigr to preserve the \mathopen and \mathclose classes of ( and ).
that also makes it easy to have commands adding space correction. It's better to use mu space than em but \! ...
9
votes
Multiple alignments of equations
In addition to employing a single align* environment, I would also like to recommend that you encase all six \sum terms in \smashoperator "wrappers" to achieve a more compact appearance of ...
8
votes
LaTeX long subequation
I'd first get rid of all \left and \right commands that do nothing useful and something harmful.
Next I'd use more lines even if some could fit in a merged line.
Most important: blank lines inside ...
8
votes
Accepted
not showing bengali equation as output in latex
The math fonts don't know how to handle bengali. I would suggest to switch temporarly to text mode:
\documentclass[a4paper,12pt]{book}
\usepackage[inner=1.5cm, outer=1.5cm, top=1.5cm, bottom=1.5cm]{...
8
votes
Aligning a set of linear equations
I used [the] \systeme command too but wasn't successful.
How about the following?
In the following code, note (a) the use of [xyz] to enforce a particular order of the variables and (b) the presence ...
8
votes
Accepted
Undesired spaces in mathematics two column paper
The main problem you're facing is that the split environment does not allow column (and page) breaks. To allow column breaks, I would like to suggest you switch from a nested equation*/split setup to ...
8
votes
Accepted
Writing an s-expression with indented lines?
An option would be to use the tabbing environment (inside a minipage and center environment for centering the construction)
\begin{center}
\begin{minipage}{.5\textwidth}
\begin{tabbing}
$(-$\=\+\\
...
8
votes
Writing an s-expression with indented lines?
This obeys newlines but ignores white space re-indenting acording to () nesting depth. * and − can be entered as ascii * and - or Unicode ∗ − as in the question.
The whole expression is centred on its ...
8
votes
Accepted
Why I get brackets different in the size?
It's worth placing the two main code chunks from lines 1 and 2 on the same line:
In the first code chunk, the expression
\left(H_n-\frac1n\right)
is raised to the third power -- highlighted in ...
8
votes
Equation issue in the LaTeX
If you are typesetting a lot of partial derivatives, you may want to create a macro to make your code simpler.
You could use
\newcommand{\pdif}[3][]{\frac{\partial^{#1}#2}{\partial{#3}^{#1}}}`
Which ...
8
votes
Accepted
Break equation with \left( and \right) doesn't work exactly while using classicthesis
\left/\right automatically size the brackets to fit the inner formula, so if you pass formulas of different height to them you can't expect to get the same size of brackets. Use explicit sizes using e....
8
votes
Accepted
Multiple alignments of equations
I think the simplest way to achieve what you want is really to use a single align* environment. Then you can manually add some extra spacing between the three expressions in the optional argument of \\...
8
votes
Accepted
Centered equation with raggeredleft text
"The customer is always right" is an old truism. However, this rule does have some exceptions.
The OP's request is just such case: By placing the word "or" on the same line as -- ...
8
votes
Accepted
\hat not working in LaTex equation
\pmb (poor man bold) gives ugly result (text write 2 times to obtain "bold"). Uses instead \mathbf and \textbf for bold. And \boldsymbol for bold greek (boldsymbol is from package amsbsy ...
8
votes
Accepted
How can I place two equations on one line, but each is numbered separately?
I wouldn't use such an approach, which makes for difficult reading.
Anyway…
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{lipsum} % for mock text
\ExplSyntaxOn
\...
8
votes
How do I add an arrow from one equation to another
You could try the witharrows package:
\documentclass{article}
\usepackage{witharrows}
\begin{document}
$\begin{WithArrows}
x^4 &= x \cdot x \cdot x \cdot x \Arrow[tikz=<-]{${} \cdot x$} \\
x^3 ...
8
votes
How to get two matrices/vectors in the same equation?
No blank lines are allowed inside the code for a math display. The outer braces are redundant.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{bmatrix}
1 &...
8
votes
Accepted
Typsetting a variant of division
A simple array could do the trick, but I have no idea about what it means. First time I see something like that.
Update: added the array package for better rules connections, as suggested in the ...
7
votes
Accepted
eqnarray.sty (equationarray) spacing
Why not using array?
And why the b argument specifier? It's a standard environment, no need for it.
Now let's look at the problem. The output log shows for the line before the first display
....\OT1/...
7
votes
Undesired spaces in mathematics two column paper
A small variation of @Mico answer:
used is \MoveEqLeft macro defined in the mathtools package
a little bit are rearranged math terms
\documentclass[journal]{IEEEtran}
\usepackage{amssymb,
...
7
votes
Accepted
Tasks and align* environments baseline alignment
You may achieve your formatting goal by replacing the {align*} environments with {aligned}[t] environments. Just be sure to place the aligned environments in inline-math mode.
\documentclass[12pt,...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
equations × 5928align × 1055
math-mode × 870
amsmath × 656
numbering × 501
horizontal-alignment × 413
spacing × 321
cross-referencing × 257
formatting × 191
vertical-alignment × 154
labels × 150
split × 144
line-breaking × 135
beamer × 133
subequations × 132
tables × 129
matrices × 122
alignment × 118
cases × 112
errors × 106
brackets × 101
arrays × 100
tikz-pgf × 93
symbols × 92
environments × 92