Tag Info

Hot answers tagged

8

Your code, which is of the form \begin{equation} $$ <math-mode material> $$ \end{equation} is guaranteed to produce two sets of errors, both very serious: The equation environment acts as a carefully designed "wrapper" around TeX's $$ ... $$ device for generating displayed equations. The instruction \begin{equation} (eventually) executes a $$ ...


5

empheq and mathtools to the rescue \documentclass[a4paper]{memoir} \usepackage{empheq,mathtools} \begin{document} \begin{empheq}[left=\empheqlbrace]{align} \begin{rcases} ax+by=c \\ ax + by =c \end{rcases} \\ \begin{rcases} x(0)=x0 \\ y(0)=y0 \end{rcases} \end{empheq} \end{document}


5

Example, how this can be typeset: \documentclass[a5paper]{article} \usepackage{amsmath} \newcommand*{\transpose}{\mathrm{T}} \newcommand*{\vc}[1]{\mathhbf{#1}} % \vec and \vector are already defined \begin{document} \begin{equation} \label{q-def} \vc{q} = (\mu_1, \mu_2, \dots, \mu_{n-1}, \mu_{n})^\transpose \end{equation} Equation~\eqref{q-def} ...


4

You can use align* and multlined (which requires mathtools); for the explanations and keeping the alignment, use \intertext. I provided a better definition of \braket that doesn't place the asterisk at random places; use \braket[*]{x|y} for having a superscript asterisk. Also a better notation for the differential has been added and an abbreviation for the ...


4

You want to use \systeme*, which doesn't do alignment. For the second, you also have to declare 0 as a variable. In the ones with the fraction I added a supplementary vertical spacing. \documentclass{amsart} \usepackage{systeme} \begin{document} \begin{align*} &\systeme*{y = qx + b_{1}, y = mx} \\ &\systeme*[var=x,y,0]{0 = (q - m)x + b_{1}, y = ...


3

Environment align aligns equation systems. After the first system the next & goes to the left part of the second system. Therefore you need two ampersands. However align also sets space between the systems, that looks odd in this case, therefore the example uses alignat: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{alignat*}{2} ...


3

you should really have posted these as two separate questions, instead of adding on to the first. but you could try \documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \mathbf{q}=(\mu_1, \mu_2, \ldots ,\mu_{n-2}, \mu_n )^{\text{T}} \label{2} \end{equation} and \begin{equation} L = \log(l) = ...


3

Is this what you want: \documentclass{article} \usepackage{amsmath} \newcommand{\pd}[2]{\frac{\partial {#1}}{\partial {#2}}} \begin{document} \begin{align} \begin{split} \pd{EU}{\alpha} &= d(\theta) U'(\pi_{1}) [G_{\alpha}(\alpha, \theta, \epsilon) - \bar{P} C_{\alpha}(\alpha, \theta)] \\ &\quad+ (1-d(\theta)) U'(\pi_{0}) [G_{\alpha}(\alpha, ...


3

here's an approach that should give you the result you're looking for. \documentclass{article} \usepackage{amsmath} \newcommand{\pd}[2]{\frac{\partial {#1}}{\partial {#2}}} \begin{document} \setcounter{equation}{3} \begin{align} \begin{split}\smash[b]{\pd{EU}{\alpha}} &= d(\theta) U'(\pi_{1}) [G_{\alpha}(\alpha, \theta, \epsilon) - \bar{P} ...


2

The easiest way for adding some text whilst not reserving space for it is to use \makebox[0pt][l]{...} which makes a box of zero width, with the text starting from the left margin of the box, so it will stick to the right but, as far as TeX is concerned, it takes no space. So your code should be \documentclass[11pt]{article} \usepackage{amsmath} ...


2

Use \nonumber (or \notag) to avoid numbering a specific equation inside an align, otherwise it will be numbered (and you can \label-\ref it): \documentclass{article} \usepackage{amsmath,mathabx} \newcommand{\pd}[2]{\frac{\partial #1}{\partial #2}} \begin{document} \begin{align} \pd{EU}{\alpha} &= d(\theta) U'(\pi_{1}) \bigl[G_{\alpha}(\alpha, ...


1

Since \qquad inserts 36mu of horizontal whitespace, 11 consecutive \qquad directives can be written more succinctly as \mkern396mu. Here's a solution that uses a single align* environment, along with a couple of \intertext directives and three \mkern396mu instructions. I use \allowdisplaybreaks as well, just in case a page break needs to occur. I also ...


1

The symbol's command is \Lightning, not \lightning. Here I show a way: \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{marvosym} \begin{document} \begin{alignat*}{2} u(2-t, 1, 3-t) & < (2,1,3) \\ 1 & < 1 & &\text{\qquad \Lightning} \end{alignat*} \end{document}


1

Instead of using four systeme environments, you could use four array environments embedded in an align* environment. \documentclass{amsart} \begin{document} \begin{align*} &\bigg\{ \begin{array}{r @{{}={}} l} y & qx + b_{1}\\y & mx \end{array},\\ &\bigg\{ \begin{array}{r @{{}={}} l} 0 & (q - m)x + b_{1}\\y & mx \end{array},\\ ...


1

Here's a pretty fun non-complete solution. I've taken the \binom command and removed the parentheses. The elements are not completely unmoving though. We can probably tweak the command some more. I will look into it more later. After @LoopSpace's kind encouragement I made a new attempt and solved it. The good thing about \binom is as @LoopSpace was ...


1

Inspired by some of the tweaking found here, I've come up with the following solution : \documentclass[8pt,xcolor=dvipsnames,compress]{beamer} \begin{document} \begin{frame} $\uncover<2->{\int} \phi(\lambda) \uncover<2->{T(\lambda) \lambda d \lambda} \uncover<3->{\above 0.4pt} \uncover<3->{\int \phi_{S}(\lambda) T(\lambda) \lambda d ...



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