# Tag Info

9


7


7

The equation is way to wide. \maxdimen is 16383.99998 pt = 1073741823 sp = (230 - 1) sp≈ 5.76 m. I can fit the equation to \maxdimen only, if the font size is reduced dramatically: \documentclass[12pt]{article} \usepackage{fix-cm}% to provide smooth tiny font sizes \usepackage{amsmath,mathtools} \usepackage[ paperwidth=\maxdimen,% normal paper ...

5

Figured it out thanks to the comment by Sigur. \verb#$# \verb#$# or alternatively, thanks to Sigur as well, \verb++. I read this question previously, which seemed to suggest to me that I always needed to use texttt, but it looks like I was wrong.

4

\documentclass{article} \usepackage{mathtools} \begin{document} \boldmath \begin{align} \begin{aligned} x_t &= f_t(x_{t-1},u_t)\\ y_t &= g_t(x_t,v_t) \end{aligned}\label{eq:state-space&obs-equ} \end{align} \unboldmath \begin{align} x_t &= f_t(x_{t-1},u_t) & y_t &= g_t(x_t,v_t) \end{align} \end{document} However, it is not a ...

4

\documentclass[border=12pt,preview]{standalone} % change it back to your document class \usepackage{mathtools} \begin{document} \section*{side-by-side} \begin{align} x_{t} &= f_{t}(x_{t-1},u_{t}) & y_{t} &=g_{t}(x_{t},v_{t}) \label{eq:label1} \end{align} Please see equation~\ref{eq:label1} on page~\pageref{eq:label1}. \section*{split with ...

4


1

I suggest using the empheq package for a simpler syntax, with option overload. It loads mathtools, which in turn loadsamsmath. I also usenccmath` for its mediumsized fractions, that look better here, in my opinion: \documentclass{article} \usepackage[overload]{empheq} \usepackage{nccmath} \begin{document} \begin{align*}[left = \empheqlbrace] a^{3} + ...

1

The column separation specification @{<stuff>} inserts <stuff> between the columns, so the result is as expected in your case. If you want a 2.5pt gap, then you need to insert @{\hspace{2.5pt}}. However, if your main aim is to align the parts at the = sign, then you can use \documentclass{article} \usepackage{amsmath} \begin{document} ...

1

kpfonts has a nomath option for precisely this purpose. It will load all Kepler text fonts, but not modify any mathematics fonts. The \usepackage[math]{blindtext} and \blindmathpaper in the example are just for some sample text with mathematics; they are not needed for your actual document. Code: \documentclass{article} \usepackage[nomath]{kpfonts} % load ...

1

% arara: pdflatex \documentclass{article} \usepackage{blkarray} \newcommand{\mLabel}[1]{\mbox{$\scriptstyle{#1}$}} \begin{document} \begin{blockarray}{c@{}ccc@{\hspace{4pt}}cl} & \mLabel{C_1} & \mLabel{C_2} & \mLabel{C_3} & & \\ \begin{block}{[c@{\hspace{5pt}}ccc@{\hspace{5pt}}c]l} & 1 & 2 & 7 & & ... 1 If you need it only for the 2x3 matrix: \documentclass{article} \usepackage{array} \let\SC\scriptstyle \def\Biggg#1{\makebox(0,0){\put(0,-20){\bigg#1}}} \begin{document}  \begin{array}{r@{\kern5pt}ccc@{}l>{\SC}l} & \SC C_1 &\SC C_2 &\SC C_3\\ \Biggg[ & 1 & 2 & 7 & \Biggg] & R_1 \\ & 2 ... 1 It may be nice for your readers if you state the substitution steps one by one. Using the idea suggested in @egreg's answer to use a dedicated environment -- called substitutions, say -- that lists the steps one at a time, one might typeset your equation as follows: \documentclass{article} \usepackage{amsmath} % provides 'aligned' environment ... 1 As I suggest idb here is meant to be a three-character variable. If this is the case you can write it in math mode as follows: \mathit{idb} Then you get the correct spacing because LaTex assumes idb is just i times db here and db is treated as a differential term. If you mean the multiplication just write it as follows: idb An image is provided for ... 1 The stackengine package has a parameter \def\useanchorwidth{} that when set to T, ignores the stacked-on or -under content when determining the width of the stack. The optional argument provides the stacking gap. A {}={} had to be used to get the stacked equal sign to act as a math relation. \documentclass{article} \usepackage{stackengine} \stackMath ... 1 Less is sometimes more. Consider this merely a suggestion: \documentclass{article} \begin{document} It is obvious that \[ LHS \stackrel{*}{=} RHS where $\stackrel{*}{=}$ denotes an equality based on the fact that $t = x^n\!$. \end{document}

1

It's never a good idea to use two consecutive display math environments with nothing in between (because the spacing will be wrong). Using align, the alignment characters can go before the beginning of the bmatrix environments. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} &\begin{bmatrix} -1 & 0 & -1 ...

1

Here is another solution using tikz package with math fonts also: \documentclass[tikz]{standalone} \usetikzlibrary{positioning} \begin{document} \sffamily \begin{tikzpicture}[node distance=.5ex,every node/.style={align=center}] \node (con) at (0,0) {Node\\power\\consumption}; \node (eq) [right=of con]{$=$}; \node (dy) [right=of eq]{dynamic\\consumption}; ...

1

Teh stackengine package helps doing that without having to compute whatever with the Centerstack command: \documentclass{article} \usepackage{stackengine} \setstackEOL{\\} \begin{document} $\Centerstack{Node power\\consumption} = \Centerstack{dynamic\\consumption} + \Centerstack{static\\consumption}$ \end{document}

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