Test the new LaTeX markdown in this Sandbox question!

Purpose of question

We now have $\LaTeX$ support through MathJax! Now, instead of writing equations like this:

w0 = 1 / sqrt(L * C)


we can write:

$\displaystyle \omega_0 = \frac{1}{\sqrt{LC}}$

Beautiful! However, TeX has a steep learning curve, and it will take some time to figure out how to use this feature. This question is a sandbox in which to practice its use.

Documentation

You'll see in the right sidebar, when writing a question, the line:

MathJaX[sic] equations $sin^2\theta$

and a link to generic TeX help. I find that the math mode section is most helpful. The special symbols article is particularly useful:

 \alpha \beta \mu \Omega \omega \theta 

Note that not all of TeX is included; you'll get this message if you try to include a module that's not in MathJax, such as Tabular:

$\begin{tabular}1 & 2\\3 & 4\end{tabular}$

How did they do that?

You can always get at the source by right-clicking an equation. A MathJax context menu will come up, like the following:

and "Show Source" will bring up a window with the source for the equations. Just drop the text contained $between a pair of escaped dollar signs!$ Or, you can $$surround it with two dollar signs for centering.$$

This question should be community wiki (No one should get rep from it, and it should be easy to edit), so you can also see the source that way.

Begin $\LaTeX$ Sandbox

The markdown for a question should be identical to what you get from an answer, but I'll leave the rest of this question for testing more TeX in case that assumption is mistaken.

-

migrated from electronics.stackexchange.comMar 9 '11 at 4:50

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.

It also works in comments: $\Rightarrow \LaTeX$ $\Rightarrow \LaTeX$ – Kevin Vermeer Mar 8 '11 at 22:20
By the way, it will take a second to render in preview while editing and in normal view, especially once this page starts filling up. Give it time. – Kevin Vermeer Mar 8 '11 at 22:23
What is meant by "module" in TeX context? I don't think there is such a thing in TeX anyway. – AndreKR Mar 9 '11 at 2:07
This kinda sucks having a meta question on the main site, but TeX isn't enabled on meta, so not sure what to do. – Nick T Mar 9 '11 at 3:18
and now it's moved to meta, so it doesn't work :( – Martin Thompson Mar 9 '11 at 16:04
@Martin - I tried to rectify that problem with this question – Kevin Vermeer Mar 9 '11 at 16:20
$100 test$60... – Earlz Mar 13 '11 at 17:28
It says "misplaced on the main site" – Brian Carlton Mar 17 '11 at 14:39
Well, MathJax server responds really slow and prevents the page from starting to load. I am guessing that this problem can be solved by putting the MathJax requests at the bottom of the html body? – abdullah kahraman Jun 12 '12 at 13:35
@abdullahkahraman - It is. First, the raw text loads, then the MathJax requests fire. What do you see? – Kevin Vermeer Jun 12 '12 at 15:27
@KevinVermeer well, I see nothing on the page while "MathJax server loading bla bla" on the status bar, then it finishes loading and then page loads up instantly. In other words, it hangs the load of the page. – abdullah kahraman Jun 12 '12 at 17:02
It works in chat too! – jippie May 24 '13 at 16:37

Yes, I've been shopping around in various (upvoted) answers, but how about a ...

CHEAT SHEET

To use a formula like $\frac{Math}{Jax}$ inline with the text of an answer, surround it with $, like this: $\frac{Math}{Jax}$ To create a formula centered \frac{Math}{Jax} within the article, surround the formula with , like this: \frac{Math}{Jax}  \begin{array}{|c|c|} \text{What you want}&\text{How it is done} \\\hline \\\text{Plain text}&\text{text{Plain text}} \\V_{AC}&\text{V_{AC}} \\Text\ with\ spaces&\text{Text\ with\ spaces} \\\boldsymbol{Bold}&\text{\boldsymbol{Bold}} \\\style{color:green;font-size:300%}A&\text{\style{color:green;font-size:300%}A} \\\alpha&\text{\alpha} \\\beta&\text{\beta} \\\chi&\text{\chi} \\\delta&\text{\delta} \\\Delta&\text{\Delta} \\\epsilon&\text{\epsilon} \\\varepsilon&\text{\varepsilon} \\\eta&\text{\eta} \\\gamma&\text{\gamma} \\\Gamma&\text{\Gamma} \\\digamma&\text{\digamma} \\\varGamma&\text{\varGamma} \\\kappa&\text{\kappa} \\\lambda&\text{\lambda} \\\Lambda&\text{\Lambda} \\\varLambda&\text{\varLambda} \\\mu&\text{\mu} \\\nu&\text{\nu} \\\omega&\text{\omega} \\\Omega&\text{\Omega} \\\varOmega&\text{\varOmega} \\\phi&\text{\phi} \\\Phi&\text{\Phi} \\\varphi&\text{\varphi} \\\varPhi&\text{\varPhi} \\\pi&\text{\pi} \\\Pi&\text{\Pi} \\\varpi&\text{\varpi} \\\varPi&\text{\varPi} \\\psi&\text{\psi} \\\Psi&\text{\Psi} \\\varPsi&\text{\varPsi} \\\rho&\text{\rho} \\\varrho&\text{\varrho} \\\sigma&\text{\sigma} \\\Sigma&\text{\Sigma} \\\varsigma&\text{\varsigma} \\\varSigma&\text{\varSigma} \\\tau&\text{\tau} \\\theta&\text{\theta} \\\Theta&\text{\Theta} \\\varTheta&\text{\varTheta} \\\upsilon&\text{\upsilon} \\\Upsilon&\text{\Upsilon} \\\varUpsilon&\text{\varUpsilon} \\\vartheta&\text{\vartheta} \\\xi&\text{\xi} \\\Xi&\text{\Xi} \\\varXi&\text{\varXi} \\\zeta&\text{\zeta} \\\infty&\text{\infty} \\\approx&\text{\approx} \\\neq&\text{\neq} \\A \oplus B&\text{A \oplus B} \\\%&\text{\%} \\\pm&\text{\pm} \\\triangle&\text{\triangle} \\\Rightarrow&\text{\Rightarrow} \\\Leftarrow&\text{\Leftarrow} \\\rightarrow&\text{\rightarrow} \\\leftarrow&\text{\leftarrow} \\\cos(\varphi)&\text{\cos(\varphi)} \\(j\omega t)^2&\text{(j\omega t)^2} \\R_{max}^2&\text{R_{max}^2} \\R_{max}{}^2&\text{R_{max}{}^2} \\e^{j\omega t+\phi}&\text{e^{j\omega t+\phi}} \\I=\frac{U}{R}&\text{I=\frac{U}{R}} \\P=U\times I&\text{P=U\times I} \\\sqrt{2}&\text{\sqrt{2}} \\I=\sqrt{\frac{P}{R}}&\text{I=\sqrt{\frac{P}{R}}} \\\frac{\partial E}{\partial t}&\text{\frac{\partial E}{\partial t}} \\\sum_{x=1}^{\infty} \frac{1}{x}&\text{\sum_{x=1}^{\infty} \frac{1}{x}} \\1.2\cdot10^{-6}&\text{1.2\cdot10^{-6}} \\\require{cancel} \cancel{2-2}&\text{\require{cancel} \cancel{2-2}} \\\overline{\text{RESET}}&\text{\overline{\text{RESET}}} \\\underline{\text{this}}\text{ is important}&\text{\underline{\text{this}}\text{ is important}} \end{array} The difference between (notice dfrac vs. frac ) $\dfrac{Math}{Jax}$ and $\frac{Math}{Jax}$ gets clear when used in a text paragraph. The difference between$\dfrac{Math}{Jax}$and$\frac{Math}{Jax}$gets clear when used in a text paragraph. To create a table like the one above: \begin{array}{|c|c|} \text{What you want}&\text{How it is done} \\\hline \\V_{AC}&\text{V_{AC}} \end{array}  - Entering Units:$Because TeX just jams everything together$, $Because TeX just jams everything together$ ...in order to use units well, you need to use the power of the \text{} e.g.: ugly: P_{max} = \frac{V_{max}{}^2}{4R_{sink}} = \frac{(150 volts)^2}{4 \times 10 k\Omega} = 9/16 watts P_{max} = \frac{V_{max}{}^2}{4R_{sink}} = \frac{(150 volts)^2}{4 \times 10 k\Omega} = 9/16 watts less ugly: P_{max} = \frac{V_{max}{}^2}{4R_{sink}} = \frac{(150 \text{ volts})^2}{4 \times 10\text{ k}\Omega} = 9/16 \text{ watts} P_{max} = \frac{V_{max}{}^2}{4R_{sink}} = \frac{(150 \text{ volts})^2}{4 \times 10\text{ k}\Omega} = 9/16 \text{ watts} I don't really like having to put the \Omega outside of the text though, but if it's inside, then it doesn't parse it... Using \mathrm instead of \text makes commands like \Omega work, but means that spaces must be written as \ : alternative: P_\mathrm{max} = \frac{V_\mathrm{max}{}^2}{4R_\mathrm{sink}} = \frac{(150\ \mathrm{volts})^2}{4 \times 10\ \mathrm{k\Omega}} = 9/16\ \mathrm{watts} P_\mathrm{max} = \frac{V_\mathrm{max}{}^2}{4R_\mathrm{sink}} = \frac{(150\ \mathrm{volts})^2}{4 \times 10\ \mathrm{k\Omega}} = 9/16\ \mathrm{watts} (The technical explanation is that \text switches the TeX parser from "math mode" to "text mode", where the parsing works differently, while \mathrm simply changes the font while staying in math mode.) Ps. {\rm watts} will also work instead of \mathrm{watts}. Those two commands are basically equivalent, just with different syntax. (\rm is a basic TeX command, while \mathrm is LaTeX. That's pretty much the only difference.) - You can put only the space in the mbox: \rightarrow 10\mbox{ }k\Omega \rightarrow 10\mbox{ }k\Omega – Kevin Vermeer Mar 17 '11 at 2:02 @reem, your italicized k looks strange. – Nick T Mar 17 '11 at 2:18 Hm, looks pretty similar to me. Test: 10\mbox{ k}\Omega\mbox{ vs. }10\mbox{ }k\Omega \rightarrow 10\mbox{ k}\Omega\mbox{ vs. }10\mbox{ }k\Omega – Kevin Vermeer Mar 17 '11 at 13:17 @reem, it's not italicized? I can see it, but it's even more glaring with longer units; e.g. 10\mbox{ }volts 10\mbox{ }volts versus 10\mbox{ volts} 10\mbox{ volts} – Nick T Mar 18 '11 at 12:10 Still no difference: i.imgur.com/YdYba.png – Kevin Vermeer Mar 18 '11 at 14:23 It's better to use \text instead of \mbox, since \mbox behaves oddly e.g. in super/subscripts (compare$V_\mbox{max}$with$V_\text{max}$). Also, \mathrm (or just plain old \rm) is IMO even better suited for typesetting units. – Ilmari Karonen Mar 4 '12 at 17:59 @IlmariKaronen good to know, I am a total TeX noob, it was just the first thing I happened across that (sort of) worked. – Nick T Mar 24 '12 at 22:45 @IlmariKaronen: en.wikipedia.org/wiki/Wikipedia:Manual_of_Style/Mathematics/… "The more important reason is that it misleads people about the correct use of \mbox when LaTeX is used in the normal way, as opposed to the way it's used on web pages. Vast numbers of people seem to have learned this from Wikipedia and taken it to other internet forums, since it continued to be suggested at WP:MOSMATH for years after it was no longer needed." Also, tex.stackexchange.com/q/19502/5773. Also, only variables should be italic, not labels. – endolith Oct 25 '12 at 14:26 Do we have siunitx package support? Test:$5V$vs$\si{5}{\volt}$– Ben Voigt Jan 1 '13 at 17:17 Subscripts and Superscripts Easy enough: •$R_{max} = 42$• R_{max} = 42 •$e^{i\pi} = -1$• e^{i\pi} = -1 What if you want$R_{max}$squared? •$R_{max}^2$• R_{max}^2 perhaps not what you wanted, with the subscript and superscript lining up. If you want the superscript to start at the end of the subscript you can jam and empty field(?) to separate them, e.g.: •$R_{max}{}^2$• R_{max}{}^2 -$\style{font-size: 1000%; color:red}U \style{font-size: 1000%; color:orange}N \\ \style{font-size: 1000%; color:yellow}I \\ \style{font-size: 1000%; color:green}C \\ \style{font-size: 1000%; color:blue}O\style{font-size: 1000%; color:purple}R \\ \style{font-size: 1000%; color:magenta}N \\ \style{font-size: 1000%; color:pink}S$– Nick T Jun 10 '12 at 8:05 Ideally, it would be$R_\mathrm{max}$(R_\mathrm{max}), not$R_{max}$(R_{max}), since "max" is a text label, not a variable (or semantically, 3 variables in a row). physics.nist.gov/cuu/Units/checklist.html – endolith Oct 25 '12 at 14:54$\triangledown \cdot E = \frac{\rho}{\epsilon_0}\triangledown \cdot B = 0\triangledown \times E = - \frac{\partial B}{\partial t}\triangledown \times B = \mu_0 J + \mu_0 \epsilon_0 \frac{\partial E}{\partial t}$Pretty sweet... -$\frac{1}{2}$... – drxzcl Mar 8 '11 at 23:24 hmm ..$e^{x^{2}}$– JustJeff May 9 '11 at 1:19 Tables Inline math doesn't work for tables: $begin{array}...\end{array}$ produces the array on one line: Apparently, something's changed since this answer was originally written, and tables now work just fine in inline math:$ \begin{array}{ccc}x&S(n,x)&x^n \log\left(\frac{x}{x-1}\right)\\-5&-1780484.04&-1780483.95\\-3&-16987.42&-16987.34\\2&709.598&709.783\\ 4&301656.39&301656.52\\6&1.102428722 \times 10^7&1.102428734 \times 10^7\end{array} For arrays, equation arrays, matrices, piecewise equations, aligned equations, and other multi-line constructs, you no longer need to use the displayed math .. delimiter set, which places the equation on its own line(s):  \begin{eqnarray} f_p(x) & = & \sum_{j=0}^{n} c_j \phi(||x - x_j||) \\ & = & \sum_{j=0}^{n} c_j \phi_j(x) \\ & = & c_0 \phi_0(x) + c_1 \phi_1(x) + \cdots + c_n \phi_n(x) \end{eqnarray}  - I pulled the fix for this example from meta.quant.stackexchange.com/q/143/989. Make sure you check the other SE sites with TeX for examples! We're all on basically the same engine. – Kevin Vermeer Jun 16 '11 at 11:53 @Kevin, I pulled that example that didn't work from math.SE, where it does work. math.stackexchange.com/questions/15008/sum-of-series-fracxkn-k/… – W5VO Jun 16 '11 at 19:29 It's surrounded by double dollar signs there: link to source – Kevin Vermeer Jun 16 '11 at 20:24 @Kevin - wait... so this whole "no other site uses " argument was bogus? – W5VO Jun 17 '11 at 2:03 I'm not sure what argument you're referring to. All sites on the SE network, and many off of it, use .. as the displayed math delimiters. MathJax recommends against using .. as the inline delimiters, but many sites (including most of the SE network) do. – Kevin Vermeer Jun 18 '11 at 12:18 Ooh, and if you don't like the serif font, use the sans-serif font (sounds logically, doesn't it?): \mathsf{ C_6H_{12}O_6\ instead\ of\ }C_6H_{12}O_6$$\mathsf{ C_6H_{12}O_6\ instead\ of\ }C_6H_{12}O_6$(Also notice the escape \ to create a space in LaTeX's math-mode!) - Yes I know, this belongs on the Chemistry Meta. – Camil Staps Mar 20 '13 at 16:03 This chip costs$$1.21$, but an alternative is only$$0.88$. One complaint about using dollar signs is that prices are used too often in electronics questions. Can we at least change it to double-dollar on each end? Using normal  signs is no longer a problem. The above sentence looked like this when we used  ..  as the delimiters: This chip costs$1.21, but an alternative is only $0.88. but this has been fixed. Just use normal dollar signs: This chip costs 1.21, but an alternative is only 0.88. If something funny happens to your prose, you've probably got an unmatched delimiter in your equations somewhere. Make sure that $ only appears around equations.

-
See this question and the MathJax documentation for more about this issue. – Kevin Vermeer May 16 '11 at 12:41
Other SE sites, like Math and TeX, use the single dollar signs. Jeff has said "we don't want different basic usage of MathJax across the network; that would be like Markdown changing essentials like "how to bold" on a site by side basis." Therefore, it's essentially a closed issue. Use $ for now. – Kevin Vermeer May 16 '11 at 12:43 And if you want to draft/sandbox your MathJax equations on your own PC, Julian Bucknall has a blog post here on how to create an HTML page to do this. It works a treat. Just remember you don't need the$ delimiters. - $\style{font-size:700%}\Theta_\style{font-size:700%}\alpha\style{font-size:700%}(\style{font-size:700%}z\style{font-size:700%}) \style{font-size:700%}= \style{font-size:700%}\sum\limits_{n=0,1,2..m}^\infty what\space ? \space \style{color:green;font-size:400%}W? ...$profit! - $sin^2*\sqrt(5)$ – user924 Jun 10 '12 at 3:03 Equation numbers ($$, $$) not supported $$$y=x$$$ I see no number Can't make equations in bold by surrounding with asterixes:- $Y_{bold}\neq X_{bold}$ Aha! use \boldsymbol instead $\boldsymbol{Y_{bold} = X_{bold}}$ - Mike, do you have a workaround for the equation numbering? – stevenvh Oct 16 '12 at 11:20 @stevenvh I realize this is like a way old comment, but in case anyone else sees this: use the \tag{1} to label an equation as equation 1. – apnorton May 29 '13 at 1:31 $$H_{C_1}(s) = \frac {1} {C_1s}$$ $$H_{R_1}(s) = \frac {T_1s + 1} {C_1s}$$ $$H_{C_2}(s) = \frac {T_1s + 1} {C_2T_1s^2 + (C_2 + C_1)s}$$ $$H_{R_2}(s) = \frac {T_1T_2s^2 + (T_1 + T_2 + C_1R_2)s + 1} {T_1C_2s^2 + (C_1 + C_2)s}$$ $$H_{C_3}(s) = \frac {T_1T_2s^2 + (T_1 + T_2 + C_1R_2)s + 1} {T_1T_2C_3s^3 + ((T_1 + T_2)C_3 + T_1C_2 + C_1R_2C_3)s^2 + (C_1 + C_2 + C_3)s}$$ $$H_{R_3}(s) = \frac {T_1T_2T_3s^3 + ((T_1 + T_2)T_3 + T_1C_2R_3 + T_3C_1R_2 + T_1T_2)s^2 + (T_1 + T_2 + T_3 + R_3C_2 + R_2C_1 + R_3C_1)s + 1} {T_1T_2C_3s^3 + ((T_1 + T_2)C_3 + T_1C_2 + C_1R_2C_3)s^2 + (C_1 + C_2 + C_3)s}$$ $$H_{C_4}(s) = \frac {T_1T_2T_3s^3 + ((T_1 + T_2)T_3 + T_1C_2R_3 + T_3C_1R_2 + T_1T_2)s^2 + (T_1 + T_2 + T_3 + R_3C_2 + R_2C_1 + R_3C_1)s + 1} {T_1T_2T_3C_4s^4 + ((T_1 + T_2)T_3C_4 + T_1T_2(C_3 + C_4) + T_1C_2R_3C_4 + T_3C_1R_2C_4)s^3 + ((T_1 + T_2)(C_3 + C4) + T_1C_2 + T_3C_4 + C_1R_2C_3 + R_3C_2C_4 + R_2C_1C_4 + R_3C_1C_4)s^2 + (C_1 + C_2 + C_3 + C_4)s}$$ Wow, this is just great! First time I was an online page that could print this big (i mean the last one) of a Latex expression. I'm impressed. But, it is difficult to write. The preview pane flashes between Latex code and Latex images as I type my text. Try editing this message and see for yourself. Matrices and Alignment Simple Alignment  $\begin{matrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{matrix}$  $\begin{matrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{matrix}$ A Matrix  $\begin{bmatrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{bmatrix}$  $\begin{bmatrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{bmatrix}$ Some Other Matrix Notations  $\begin{pmatrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{pmatrix}$  $\begin{pmatrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{pmatrix}$  $\begin{Bmatrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{Bmatrix}$  $\begin{Bmatrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{Bmatrix}$ Norm  $\begin{Vmatrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{Vmatrix}$  $\begin{Vmatrix} 11 & 12 & 13\\ 21 & 22 & 23 \end{Vmatrix}$ Partial Expressions  $f(x) = \left\{\begin{matrix} x; & x \leq 0\\ 0; & otherwise \end{matrix}\right.$  $f(x) = \left\{\begin{matrix} x; & x \leq 0\\ 0; & otherwise \end{matrix}\right.$ Multiple Line Alignment  \begin{align} f(x, y, z) = & & x^3 & + & 2x^2 & + & x & + & 3 \\ & + & 4y^3 & & & + & 5x & - & 1 \\ & & & - & z^2 & - & 2z & + & 2 \end{align}  \begin{align} f(x, y, z) = & & x^3 & + & 2x^2 & + & x & + & 3 \\ & + & 4y^3 & & & + & 5x & - & 1 \\ & & & - & z^2 & - & 2z & + & 2 \end{align} Usage of Matrices and Alignment in Practice  $$H(s) = \frac{\sum_{i=0}^{n-1} b_is^i}{s^n + \sum_{i=0}^{n-1} a_is^i} = \frac{b_{n-1}s^{n-1} + b_{n-2}s^{n-2} + b_{n-3}s^{n-3} + \dots + b_0} {s^n + a_{n-1}s^{n-1} + a_{n-2}s^{n-2} + \dots + a_0}\\ \ \\ \begin{matrix} \mathbf{\dot{x}} & = & A\mathbf{x} + Bu(t)\\ y(t) & = & C\mathbf{x} + Du(t) \end{matrix}\\ \ \\ \begin{matrix} \begin{bmatrix} \dot{x}_1\\ \dot{x}_2\\ \dot{x}_3\\ \vdots \\ \dot{x}_n \end{bmatrix} & = & \begin{bmatrix} -b_{n-1} & -b_{n-2} & -b_{n-3} & -b_{n-4} & \cdots & -b_0 \\ 1 & 0 & 0 & 0 & \cdots & 0 \\ 0 & 1 & 0 & \vdots & \cdots & 0 \\ 0 & 0 & 1 & 0 & \cdots & 0 \\ \vdots & \vdots & 0 & \ddots & 0 & \vdots\\ 0 & 0 & 0 & 0 & 1 & 0 \end{bmatrix} \begin{bmatrix} x_1\\ x_2\\ x_3\\ \vdots \\ x_n \end{bmatrix} + \begin{bmatrix} 1\\ 0\\ 0\\ \vdots \\ 0 \end{bmatrix} u(t) \\ y(t) & = & \begin{bmatrix} 1 & 0 & 0 & \cdots & 0 \end{bmatrix} \begin{bmatrix} x_1\\ x_2\\ x_3\\ \vdots \\ x_n \end{bmatrix} \end{matrix}$$  Notice that I used nested matrices. $$H(s) = \frac{\sum_{i=0}^{n-1} b_is^i}{s^n + \sum_{i=0}^{n-1} a_is^i} = \frac{b_{n-1}s^{n-1} + b_{n-2}s^{n-2} + b_{n-3}s^{n-3} + \dots + b_0} {s^n + a_{n-1}s^{n-1} + a_{n-2}s^{n-2} + \dots + a_0}\\ \ \\ \begin{matrix} \mathbf{\dot{x}} & = & A\mathbf{x} + Bu(t)\\ y(t) & = & C\mathbf{x} + Du(t) \end{matrix}\\ \ \\ \begin{matrix} \begin{bmatrix} \dot{x}_1\\ \dot{x}_2\\ \dot{x}_3\\ \vdots \\ \dot{x}_n \end{bmatrix} & = & \begin{bmatrix} -b_{n-1} & -b_{n-2} & -b_{n-3} & -b_{n-4} & \cdots & -b_0 \\ 1 & 0 & 0 & 0 & \cdots & 0 \\ 0 & 1 & 0 & \vdots & \cdots & 0 \\ 0 & 0 & 1 & 0 & \cdots & 0 \\ \vdots & \vdots & 0 & \ddots & 0 & \vdots\\ 0 & 0 & 0 & 0 & 1 & 0 \end{bmatrix} \begin{bmatrix} x_1\\ x_2\\ x_3\\ \vdots \\ x_n \end{bmatrix} + \begin{bmatrix} 1\\ 0\\ 0\\ \vdots \\ 0 \end{bmatrix} u(t) \\ y(t) & = & \begin{bmatrix} 1 & 0 & 0 & \cdots & 0 \end{bmatrix} \begin{bmatrix} x_1\\ x_2\\ x_3\\ \vdots \\ x_n \end{bmatrix} \end{matrix}$$ It crashes if you play with big expressions too much! It crashed several times until I finish my post. (My browser: Google Chrome 19.0.1084.56 m) However, the good thing is, Stack Exchange fully and successfully recovers the lost message after every crash. - OK, you got me there! I tried to pinch your matrix to add it to 'my' Cheat Sheet, but I cant get the formatting correct in the right column. +1 – jippie Jun 19 '12 at 21:13 Need a new sandbox -- one without cat poop. (Testing comments w/o bugging authors.) Does this work? Testingtestingtesting $\infty$ $\delta_s = \frac{1}{Re\{j\omega \sqrt{\mu \epsilon}\}}$ - $Al^{2+}_{0}$ – tyblu Dec 18 '11 at 21:42 $\frac{1}{2}$ – tyblu Dec 18 '11 at 21:46 $L = \frac{area R_s}{\Delta V}$ – tyblu Dec 18 '11 at 21:53 $V_{inductor} = L \frac{dI}{dt}$ – tyblu Dec 18 '11 at 21:53 $\infty$ 5 more to go... – tyblu Mar 4 '12 at 1:22 Here's my try:$50 \mbox{ }\Omega$. But that was too short. - @Brian, see my thing about attaching units – Nick T Mar 9 '11 at 3:04 $\LaTeX$ is superset of $\TeX$ -100 <- Testing dollar

Your transformer will convert 120$V_{ac}$ to 12$V_{ac}$. So you'll need to regulate it to 5$V_{dc}$.

• $I_{ce}$ = $I_{be}$ * HFE

• $V_{ceo}$ $I_{c}MAX$

• ASCII:
16 - log((5 - 0)/(5 - 4))/log(2) = 13.68

• TeX:
$16 - \frac{log\frac{(5 - 0)}{(5 - 4)}}{log 2} = 13.68$

• $I_{F_{max}} = 30mA$

• $V_{F_{typ}} = 1.7V$
• $V_{F_{max}} = 2.1V$
• $V_{R_{max}} = 5V$
-
These are all things that being able to get the source from would be valuable. – Kortuk May 10 '11 at 3:32
@Kortuk - Just right-click the equation and MathJax will populate your context menu with a "Show Source" option. Or, this is CW and it's been edited, so anyone can view the post source. – Kevin Vermeer Sep 27 '11 at 12:35

Nested dfracs: $\dfrac{ \dfrac{\alpha \beta ^{j2 \pi f t}}{j \omega} }{ \dfrac{\gamma \delta}{\Omega \Phi} }$ these are meant to create inline equations without resizing them to the size of a single line of text. The line is in effect streched to contain the full equation becoming much higher :)

-

And you can use Unicode when typing your maths:

$$A = πr^2$$

A better way of doing what he did:

$$P_{max} = \frac{V_{max}{}^2}{4R_{sink}} = \frac{(150 \text{ volts})^2}{4 \times 10\text{ kΩ}} = 9/16 \text{ watts}$$

$$P_{max} = \frac{V_{max}{}^2}{4R_{sink}} = \frac{(150 \text{ volts})^2}{4 \times 10\text{ kΩ}} = 9/16 \text{ watts}$$

-
Yeah, but that requires to insert the Omega character, not really handy – clabacchio Mar 17 '12 at 9:43
Unless you use AutoKey or something similar. :) – Andres Riofrio Mar 17 '12 at 21:46

Sets of equations:

$\begin{cases} V_6 = \dfrac{R3}{R3+R4} (V_O - V_{IN}) + V_{IN} \\ \\ \\ V_O - V_2 = I_{R2} R2 \\ \\ \\ I_{R2} = j \omega \text{ } C1 (V_2 - V_5) \end{cases}$

(The extra "\\" are for more vertical spacing)

Over- and underbraces:

$z = \overbrace{ \underbrace{x}_\text{real} + \underbrace{iy}_\text{imaginary} }^\text{complex number}$

-

Wikipedia has a nice summary for displaying a formula

Including a truth table:

\begin{array}{|c|c||c|} a & b & S \\ \hline 0&0&1\\ 0&1&1\\ 1&0&1\\ 1&1&0\\ \end{array}

    \begin{array}{|c|c||c|} a & b & S \\
\hline
0&0&1\\
0&1&1\\
1&0&1\\
1&1&0\\
\end{array}


And I figured out how to align and number formula's:

\begin{align} I&=\frac{U}{R}&(1)\\ P & = U×I&(2)\\ & = U × \frac{U}{R}&(3)\\ & = \frac{U^2}{R}&(4) \end{align}

    \begin{align}
I&=\frac{U}{R}&(1)\\
P & = U×I&(2)\\
& = U × \frac{U}{R}&(3)\\
& = \frac{U^2}{R}&(4)
\end{align}


A simpler way is

$$P=U×I \tag{1}$$

$$P=U×I \tag{1}$$

-

This is a test for a bug over on PPCG.

$foo bar baz$


$foo bar baz$

-