Tag Info

Hot answers tagged

9

An empty line in TeX should never be used just to arrange the source. It is an instruction exactly the same as the command \par which ends a paragraph and starts TeX's line breaking algorithm to split a paragraph into lines. So it is not allowed in display math and it should never be used on the line before display math either, in that position it does not ...


4

Not sure quite what you want but this runs without error \documentclass[a4paper,oneside,abstracton]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} %Schriftsatz Dokument \usepackage{lmodern} %use this package in combination with [T1]{fontenc} wo have vector-graphics letters instead of pixelated ...


4

The following solution uses two drcases environments (provided by the mathtools package) inside an align* environment. \documentclass[a4paper,oneside,abstracton]{scrartcl} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[english]{babel} \usepackage{mathtools} \newcommand\DB{\text{\textbf{Dark}[Bias]}} ...


4

Something like this? \documentclass{article} \usepackage{amsmath} \begin{document} \begin{subequations} \begin{gather} \min z_1 = \sum_{i=1}^{m} \sum_{j=1}^{n} \sum_{k=1}^{l} \tilde{c}_{ijk}x_{ijk} \\ \min z_2 = \sum_{i=1}^{m} \sum_{j=1}^{n} \sum_{k=1}^{l} \tilde{t}_{ijk}y_{ijk} \\ \intertext{subject to,} \sum_{j=1}^n\sum_{K=1}^l x_{ijk} \leq a_i, \qquad ...


3

Your question is a bit unclear in stating what you actually want aligned, but here you go: If you only want your 'small' and 'long' formulae centered horizontally in 1 equation, I presume it's easiest to use an array environment instead of an aligned environment. Maybe aligned could be possible as well but (though this comes close: ...


3

You can use \nonumber (or \notag) or aligned as below. \documentclass{article} \usepackage{amsmath} \usepackage{showframe} %% for demo \begin{document} \begin{flalign} \lambda &= \lambda_1 + \lambda_2 &\notag\\ &= \Lambda &\\ &= \Lambda_1 + \Lambda_2 & \notag \end{flalign} \begin{flalign} ...


3

The matrix environment requires \usepackage{amsmath} in the document preamble. The error is not issued at \begin{matrix} because, for historical reasons, the command \matrix is defined in the LaTeX kernel. However your usage of matrix is not the best for the case at hand; the cases environment is better. \documentclass{article} \usepackage{amsmath} ...


2

This is quite easy using \tag: \documentclass{article} \usepackage{amsmath} \newcommand{\ovl}{\overline} \begin{document} We can even refer to equation~\eqref{ovl87} below: \begin{multline}\label{ovl87} \dfrac{B_1(\ovl{Q}_1, L)}{\sqrt{a}} + n(r_1)\ovl{A}_7 + n(r_2) \ovl{A}_2(\ovl{A}_1, L) = \\ \dfrac{1}{2} \left\{\sqrt{t_s^5 G_s^2 + 4 t_s G_s ...


2

With the alphalph package, after 26 equations, they become AA, AB, AC, etc. If one uses \alphalph, the letters are in lowercase. \documentclass{article} \usepackage{alphalph} \def\theequation{\AlphAlph{\value{equation}}} \begin{document} \begin{equation} y=x \end{equation} \begin{equation} y=x^2 \end{equation} \begin{equation} y=x^3 \end{equation} ...


1

You shouldn't be using \intertext to start the display. And you're better using \shortintertext in the second case, in order to reduce the vertical spacing. \documentclass[12pt,a4paper,twoside]{scrbook} \usepackage{amsmath} \usepackage{mathtools} \usepackage{amssymb} \usepackage{lipsum} \begin{document} \lipsum[1-3] \newpage \lipsum[1-3] \newpage ...



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