# Tag Info

## New answers tagged align

4

You asked, Is it possible to use a multline or similar inside an ... align? You can't use a multline environment inside an align environment. However, it's alright to use aligned and multlined environments -- the latter requires loading the mathtools package -- inside align environments. A minimum working example (MWE): \documentclass{article} \...

2

With the standard article class, with no option, the text width is set to 345pt. On the other hand, your longest equations are 195.14384pt and 205.44582pt wide respectively. This makes for slightly more than 400pt, so there's no chance to set the two blocks side by side unless you increase the text width; in order to ensure space for the mid rule, along ...

1

Unless the text block of your document is considerably wider than the default for the article document class, you will need line-break the first fraction term. in both minipage environments. Note the use of \noindent before the first \begin{minipage} statement: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath} \begin{document} \...

1

Your equations hardly fit between the margins when loading geometry. Other than that, I propose to use a single align* environment, with three columns, the middle column being dedicated to the vertical line. \documentclass{article} \usepackage{amsmath} \usepackage[showframe]{geometry} \begin{document} \begin{align*} \frac{\mathrm{d} R1(t)}{\mathrm{...

7

With \intertext: \documentclass[10pt, a4paper]{article} \usepackage[english]{babel} \usepackage[english]{isodate} \usepackage[T1]{fontenc} \usepackage[hidelinks]{hyperref} \usepackage[utf8]{inputenc} \usepackage{mathtools} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \section{Example} \subsection*{Degree 1} \begin{align*} ...

1

Put the size specification inside the \textit. \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} \begin{align} \hspace*{5mm}w_{c} = {\textit{\LARGE f}} _{w,c} * \frac{\log(|C|)}{\int _{w,C}} \end{align} \end{document}

3

My suggestion is not to use cases, because it increases the interline spaces also inside nested alignments. Using multlined for the long middle equation does the job. \documentclass{article} \usepackage{amsmath,mathtools} \begin{document} \begin{equation*} V_{ijk} = \left\{ \begin{aligned} & \dfrac{y_u+y_l}2 - \dfrac{x_u+x_l}2, && \text{if }...

3

Here's a solution that employs a dcases* environment instead of the cases environment. The d in dcases denotes "display style"; this means, among other things, that one can write \frac instead of \dfrac in order to get "large" fraction terms. Note that I've removed unnecessary \left and \right directives. \documentclass{article} \usepackage{mathtools} % ...

7


5


2

Here is an environment for linear systems. It's not exactly what you describe because, it is designed to align also the signs. It's more difficult to use (more &) but I think that the result is better. \documentclass{article} \usepackage{amsmath} \usepackage{xparse} \ExplSyntaxOn \makeatletter \cs_new_protected:Nn \__insideloop_system_cr: { ...

0

I propose this simple code, and a slightly different alignment, with empheq and alignedat: \documentclass{article} \usepackage{empheq} \DeclareMathOperator{\MinMax}{Min/Max} \begin{document} \begin{empheq}[right=\enspace\empheqrbrace]{equation} \begin{alignedat}{2} \MinMax f_m (x)&, &\enspace & m=1,2,...,M; \\[1ex] \text{Subject to}& &...

Top 50 recent answers are included