Tag Info

New answers tagged math-mode

0

It is my personal taste, you might not agree with me. Here is my rule of thumb. We know that the first line of all items of "list" (enumerate, itemize, etc) are left aligned. So if the item starts with a multi-line aligned equation, use aligned environment (plus t passed to its optional argument) rather than align*. See my the second item in my example ...

0

This is somewhat similar to Werner's suggestion but with the additional use of \mathclap and \smash: \documentclass{article} \usepackage{mathtools} \begin{document} $A \stackrel{\mathclap{\scriptscriptstyle\smash{(\triangle)}}}{=} B$ From $\triangle$ we see that $A = B$. \end{document}

0

The problem is simply that you can't use align inside equation (and LaTeX will show you an error message that should tell you something is wrong with this). Just delete the $$and$$ lines. This should work fine: \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \mathbf{x_{t}=f_{t}(x_{t-1},u_{t})}\\ ...

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

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

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

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

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

3


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

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

3

Since you mention "inline", I will point out that \verb will not break across lines. However, if that is needed, then this approach, using \detokenize could work if you don't have unbalanced braces, and if you don't need to print % or # signs in the string. \documentclass{article} \usepackage[T1]{fontenc} \begin{document} \texttt{\detokenize{$This is a ... 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.

1


2

You can have them with the MinionPro package, and (PDF)LaTeX both in usual and in French style: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{MinionPro} \begin{document} $\varbeta^{2} + \varkappa^{2} = \upvarbeta^{2} + \upvarkappa^{2}$% \end{document} The same is probably true with MyriadPro. Not ...

Top 50 recent answers are included