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(x-ct)\bigr]+\frac{1}{2c}\int_{x-ct}^{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{eq-4}
\end{align*}
-
This is just a test to see whether I can copy and paste from LyX:
u(x, t) = \varphi(x-ct)+\phi(x+ct)-\intop_{x-ct}^{x+ct}g(y)dy
-
This is just a test to see whether I can copy and paste from LyX:
u(x, t) = \varphi(x-ct)+\phi(x+ct)-\intop_{x-ct}^{x+ct}g(y)dy
Yes, you can but need to switch on math (inline or display respectively)
$u(x, t) = \varphi(x-ct)+\phi(x+ct)-\intop_{x-ct}^{x+ct}g(y)dy$
$u(x, t) = \varphi(x-ct)+\phi(x+ct)-\intop_{x-ct}^{x+ct}g(y)dy$
$$u(x, t) = \varphi(x-ct)+\phi(x+ct)-\intop_{x-ct}^{x+ct}g(y)dy$$
$$u(x, t) = \varphi(x-ct)+\phi(x+ct)-\intop_{x-ct}^{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_{t-s_1}W_{t-s_2}})+
(1-\alpha)(S_{t-1} + T_{t-1})$$
$$trend\ \qquad T_t = \gamma (S_t - S_{t-1}) + (1-\gamma)T_{t-1}$$
$$seasonality\ 1 \ \qquad D_t = \delta (\dfrac{X_t}{S_t W_{t-s_2}}) + (1-\delta)D_{t-S_1}$$
$$seasonality\ 2 \ \qquad W_t = \omega (\dfrac{X_t}{S_t D_{t-S_1}}) + (1-\omega)W_{t-s_2}$$
$$\hat{X_t} = (S_t + kT_t)D_{t-s_1+k}W_{t-s_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.