# Tag Info

## Hot answers tagged equations

5

A too long formula with several terms in it is difficult to read, particularly when it must be split across lines and there are no “good” break points like in this case. So I believe the better strategy is to remove the most complicated term and set it apart: \documentclass{article} \usepackage{amsmath,amssymb} \begin{document} ...

5

You don't need flalign (I see it too often abused) nor cases, but aligned: \documentclass[3p,times,12pt,draft,twocolumn]{elsarticle} \usepackage{mathtools} \begin{document} E_{\perp,\mathrm{diff}}= \left\{ \begin{aligned} E_{g,\mathrm{meas}} &\cdot(1.020-0.254\cdot k+0.0123\\ &\cdot\sin\gamma_S) \quad \text{for ...

4

If you really want to inflict such a monster formula to your readers, I see nothing else than splitting numerator and denominator: \documentclass{article} \usepackage{mathtools} \begin{document} \[ \theta_{0|t+1}\approx \frac{ \begin{multlined} (\beta+1)\frac{P(y|\Theta_{t+1})}{P(y|\Theta_{t})} \sum_{s \in ...

3

Here is how I would do it: \documentclass{article} \usepackage{amsmath} \begin{document} \noindent Let \begin{align*} A &= \frac{P(y \mid \Theta_{t + 1})}{P(y \mid \Theta_{t})},\\ B &= \sum_{s \in S} P(s \mid y; \Theta_{t + 1}),\\ C &= \sum_{k = 1}^{T} (y_{k} - \phi_{1 \mid t + 1}(s_{k}))y_{k - 1},\\ D &= \sum_{k = 1}^{T} (\phi_{0 ...

2

Here is a solution using aligned inside of align environments. The split is only needed in order to get one vertically centred label on the right. If you want to have it on the first line, you will have to get rid of this and \notag all lines but the first (or last). % arara: pdflatex \documentclass[a4paper,oneside]{scrbook} \usepackage{amsmath} ...

2

I don't know what exactly rtf2latex2e does, but ideally it wouldn't be using \textsuperscript to typeset the superscript items of a mathematical expression. It should be using ^ (the "caret" symbol) for this job. There should also be just a single pair of \$ symbols to mark the start and stop of the expression, and no \ensuremath directives. ...

2

An example of a solution (some text probably omitted): \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{align} &\mathbb{T}(\sinh^2(\theta))(t)\nonumber \\ &\qquad = \frac{2}{3} \sum_{n = 0}^{\infty} \Biggl( +\frac{|b_n|^2}{4} + \sum_{m=|n|}^{n+3} \Biggl( \operatorname{Re} \Biggl(a_n^* a_m ...

2

I think that inserting a line break at a multiplicative location is inferior to breaking the line at an additive (or subtractive) location. Moreover, I think that a cases environment is not particularly well suited for the formula at hand. I'd use a basic \left\{ ... \right. construct and provide an additional line break in each of the two subformulas in ...

2

One option is to use split \documentclass{report} \usepackage{mathtools} \begin{document} \begin{enumerate} \item here some text $$\begin{split} a+b+c+v & = d+g+t+h+y+u+j+i+k+l+o+f\\ &\phantom{{}= d}+r+t+g+b+h+y+n+d+e+r+f \\ &\phantom{{}= d}+w+e+r+t+yh+y+n+d+e+r+f \end{split}$$ text\\ \item and so ...

1

I suggest reducing the font size to \small (locally) and replacing the brace with bullets, using the \mathllap command from mathtools to have right-alignment of the conditions: \documentclass[3p,times,12pt,draft,twocolumn]{elsarticle} \usepackage{mathtools} \begin{document} {\small% \begin{align}\label{eqA} \mathrlap{ E_{ ⊥ ,\,\mathrm{diff}}=} \\ \notag ...

1

The simplest solution I could find to have wide equations in ieee style is the following: \usepackage{multicol} \onecolumn % add this line after \begin{document} but before \titlepage \begin{multicols}{2} %Before starting of \begin{abstract} \end{multicols} % before the %enter wide or long equation here ...

1

Here's a way to do it with tabular stacks \documentclass[a4paper,oneside]{scrbook} \usepackage{amsmath,tabstackengine} \begin{document} \begin{equation*} \stackMath \TABbinary\setstackgap{L}{1.3\baselineskip} \savestack{\Aterm}{\Longunderstack[l]{% {}+ AA * AA\\ {}+ AA * AA \\ {}+ AA * AA \Big)% }} \savestack{\Bterm}{\Longunderstack[l]{% {}+ ...

1

Redefine/modify the cases environment \makeatletter \def\env@cases{% \let\@ifnextchar\new@ifnextchar \left\lbrace \def\arraystretch{1.2}% \array{@{}l@{\hspace{2pt}}l@{}} % adjust 2pt to suit your need } \makeatother Code \documentclass[3p,times,12pt,draft,twocolumn]{elsarticle} %\usepackage[english]{babel} \usepackage{mathtools} \makeatletter ...

Only top voted, non community-wiki answers of a minimum length are eligible