Toronto Math Forum
General Category => General Discussion => Technical Questions => Topic started by: Victor Ivrii on September 18, 2012, 11:59:02 PM

Testing how MathJax was hooked up
\begin{align*}
u(x,t)= &\underbracket{\frac{1}{2}\bigl[ g(x+ct)+g(xct)\bigr]+\frac{1}{2c}\int_{xct}^{x+ct} h(y)\,dy}_{=u_2}+\\[3pt]
&\underbracket{\frac{1}{2c}
\iint_{\Delta (x,t)} f(x',t' )\,dx\,d t' }_{=u_1}.
\label{eq4}
\end{align*}

This is just a test to see whether I can copy and paste from LyX:
u(x, t) = \varphi(xct)+\phi(x+ct)\intop_{xct}^{x+ct}g(y)dy

This is just a test to see whether I can copy and paste from LyX:
u(x, t) = \varphi(xct)+\phi(x+ct)\intop_{xct}^{x+ct}g(y)dy
Yes, you can but need to switch on math (inline or display respectively)
$u(x, t) = \varphi(xct)+\phi(x+ct)\intop_{xct}^{x+ct}g(y)dy$
$u(x, t) = \varphi(xct)+\phi(x+ct)\intop_{xct}^{x+ct}g(y)dy$
$$u(x, t) = \varphi(xct)+\phi(x+ct)\intop_{xct}^{x+ct}g(y)dy$$
$$u(x, t) = \varphi(xct)+\phi(x+ct)\intop_{xct}^{x+ct}g(y)dy$$
Actually I never saw \intop (just \int) and double dollars are deprecated (see my code), but your example works

$x>b^2$, is it the same as latex?
$$local\ mean\ level\ \qquad S_t = \alpha(\dfrac{X_t}{D_{ts_1}W_{ts_2}})+
(1\alpha)(S_{t1} + T_{t1})$$
$$trend\ \qquad T_t = \gamma (S_t  S_{t1}) + (1\gamma)T_{t1}$$
$$seasonality\ 1 \ \qquad D_t = \delta (\dfrac{X_t}{S_t W_{ts_2}}) + (1\delta)D_{tS_1}$$
$$seasonality\ 2 \ \qquad W_t = \omega (\dfrac{X_t}{S_t D_{tS_1}}) + (1\omega)W_{ts_2}$$
$$\hat{X_t} = (S_t + kT_t)D_{ts_1+k}W_{ts_2+k}$$

$x>b^2$, is it the same as latex?
Yes  except MathJax neither is nor intended to be a complete LaTeX. See
http://www.math.toronto.edu/courses/apm346h1/20129/about_mathjax.html (http://www.math.toronto.edu/courses/apm346h1/20129/about_mathjax.html)
Note: If you have text snippet inside of math you should use \text{Your text} rather than format it as math as you did. You can also use \textrm{Your text}, \textit{Your text}.
Also DoubleDollars are deprecated in LaTeX, you use \[ \] or \begin{equation*} \end{equation*} (without * for a numbered version)
PS I disabled \( \) and \[ \] as they in the forum environment have funny side effects.