Hot answers tagged

4

You can use aligned or alignedat: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \begin{split}\label{mylabel} y &= a + b + c\\ &\quad \!\begin{alignedat}[t]{2} &+ (5 - 3) &&\times (10 - 5) \\ &+ (10 - 30) &&\times (10 - 1) \\ ...


3

I removed your tikz constructs and replaced them with something I found in another answer and everything worked fine by using the normal \underbrace \documentclass{scrreprt} \usepackage{amsmath,bm} \def\mykern{\kern-\fboxsep\kern-\fboxrule} \def\cfbox#1{\mykern\smash{\protect\fbox{#1}\mykern}} \fboxrule=1pt \begin{document} \begin{equation} \bm{Bu}= ...


3

Following solution uses your TikZ code but with some minor corrections. Now both matrices are inside the same figure and also the lower braces. To correctly align them inside the equation, (m1.west) is the baseline point. \documentclass{scrreprt} \usepackage{amsmath,bm} \usepackage{tikz} \usetikzlibrary{arrows,matrix,positioning,decorations.pathreplacing} ...


2

Perhaps the following is a starting point: \documentclass{article} \usepackage{amsmath} \newcommand{\HS}{\text{HS}} \begin{document} From~(1) and~(2) we obtain \begin{align*} \HS_{\text{opt}} &\leq (\HS_1 + \HS_2 + \dots + \HS_i) + \HS_i \times \bigl( (A\text{-taskarea}) \div \HS_i \bigr) \\ \Longrightarrow \HS_{\text{opt}} &\leq ...


2

Instead of juggling with \addtocounter{enumi} etc it's better to use enumitem and it's start=... option. The \getrefnumber{...} macro from refcount provides an aid to get the real 'number' of an reference -- \ref isn't expandable and will fail here. Please note: \getrefnumber{...} will yield anything as equation number here, i.e. something 1.A.5 would be ...


1

Here's a solution that uses a gather* environment instead of an align* environment. Just as @Werner does in his answer, I would recommend that you write variable names in an upright-text font face instead of a math-italic font face. I will admit to not being certain how the string "A-taskarea" should be typeset. In the code above, I've chosen to typeset ...


1

You can do that with the alignat* environment. Here are two layouts: \documentclass[a4paper, 11pt]{book} \usepackage[utf8]{inputenc} \usepackage{fourier, erewhon} \usepackage{mathtools} \DeclarePairedDelimiter\norm\lVert\rVert \begin{document} \begin{alignat*}{2} & \min\bigl(\norm{[\hat{w}(k)-\hat{y}(k)-{} & & M^P Δ\hat{u}^P (k)]-M ...



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