6

Converting to gather* works just fine out of the box and does not have the large spacing between items that $$...$$ comes with ($$...$$ should never be used in LaTeX) \documentclass{beamer} \mode<presentation> { \usetheme{Madrid}} \usepackage{mathrsfs} \usepackage{tabularx} \usepackage{booktabs} % just if you are not using the nav bar \...


4

Using my new tokcycle package (https://www.ctan.org/pkg/tokcycle )...I find the result pleasingly legible, when read audibly via the Adobe Reader. This MWE relies on you having a new enough LaTeX installation to support the new \expanded primitive. If not, you can, for the time being, change the \tcremap[x] in the \speakifytext definition to \tcremap[1] ...


4

You can use alignedat. \documentclass{article} \usepackage{amsmath} % Change the multiplication symbol to a centered dot. \let\xtimes\times \let\times\cdot \begin{document} \begin{equation} \begin{alignedat}{5} \mathrm{LNEP} = -0&.23 \times \mathrm{LNEER} &{} + 1&.21 \times \mathrm{LNCOST} &{} + 1&.50 \times \...


4

You get ! Package amsmath Error: \tag not allowed here. See the amsmath package documentation for explanation. Only use amsmath environments to split equations across lines or to align them. Never use eqnarray. In this case, multline is the appropriate one. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{multline} 2x+3y+4z+2u+7o+8k+...


3

You should use \\ in the column vectors to separate entries (& separates entries in the same row). Besides, \begin{equation}\end{equation} is out of place. I suggest to use pmatrix, rather than array. My personal preference for matrices is bmatrix, though. For unnumbered equations use equation*, for numbered ones use equation. \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 ...


2

Note that the tabu package is currently not maintained and its use is, for now, discouraged. This being said, there are two things you can/should do: put the redefinition of \extrarowheight in a group in order to restrict its effect; reset the \setstretch in display math (see e.g. How to decrease vertical spacing in cases environment?) Implementing these ...


2

Keep together the coefficient and the accuracy. This allows for making the parentheses having zero width. Between the coefficient and the variable I added a thin space for better clarity. \documentclass{article} \usepackage{amsmath} \newcommand{\cfac}[2]{% coefficient with accuracy \begingroup\renewcommand{\arraystretch}{0.7}% \begin{array}[t]{@{}r@{}}#...


2

Your forgot that n alignment points require 2n–1 ampersands. I propose a solution with alignedat{5}, and another, simpler, with stackengine, which requires no alignment points: \documentclass{article} \usepackage{geometry} \usepackage{mathtools} \usepackage[usestackEOL]{stackengine} \newcommand{\mystackunder}[2] {\stackMath\stackunder{#1}{\mathclap{#2}}} \...


2

It is possible to use also the environment multlined with a different aspect. \documentclass[a4paper,12pt]{article} \usepackage{mathtools,amssymb,cancel} \begin{document} \[ \begin{multlined} = \sigma^2 \Bigl(\cancel{\left(X^TX\right)^{-1}}\cancel{X^T X}\left(X^TX\right)^{-1} + \left(X^T X\right)^{-1}X^TD^T\\ + D X \left(X^TX\right)^{-1} +DD^T\Bigr)= \end{...


1

You can not have linebreaks between the \left and \right delimiters, because they define a group. With \right. and \left. you can get line breaks as pointed out by koleygr and M. Al Jumaily, but the parenthesis might have different size. I recommend this solution to get brackets with automatically matching sizes (works even with nested parenthesis).


1

So what you can do is to use \left. for opening a left brace that is not visible as well as \right. for a hidden right brace. So before you add \\, add \right. Then, add \left. as soon as you start the next line. \documentclass{article} \usepackage{amsmath, cancel} \begin{document} \begin{align*} &= \sigma^2 \left( \cancel{\left(X^TX\right)^{-1}}\...


1

Lessons learned: always enclose the arguments of subscripts and superscripts in braces use the commands from amsmath to format text inside equations (e.g. \mathsf instead of \textsf, \mathbf instead of \textbf,...) Thank you for your help, campa.


1

The use of \setstretch has adverse effects also on array, which cases is based on. I suggest to patch array by setting \arraystretch to the inverse of the stretch factor. \documentclass{article} \usepackage{tabu} \usepackage{longtable} \usepackage{amsmath} \usepackage{setspace} \usepackage{etoolbox} \setstretch{1.435} \pretocmd{\array}{\renewcommand{\...


1

If you use the tag \nonumber, then the equation number doesn't print, please remove that command in your tag and then try, the modified tag is: \begin{eqnarray} \tag{A8} 2x+3y+4z+2u+7o+8k+90l+43+56+45p+33h \\ &+& 89n+90m+34j+23a+45b+56f = 0\nonumber \end{eqnarray} Also, note that eqnarray is one of the older environment, please try with align ...


1

I wanted to add that surrounding, say, an equal sign with empty braces (i.e. \phantom{{}={}}) to get the right alignment does not work if the equal sign is followed by an operator. What does work, however, is using \mathrel{\phantom{=}}. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align*} &\phantom{{}={}} \sin(x) \\ &=...


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{...


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