Blocked 2

0 Members and 1 Guest are viewing this topic.

VLSroulette

  • Guest
Hello guys,

Just compiled the required CGI to enable [TEX] tag at our forum's parser, so fellow math-oriented friends can insert formulas into posts the proper way with MimeTeX :thumbsup:

For those who aren't familiar with this implementation it is simply a language used to generate formula images, like this:

[tex]x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}[/tex]

Displays:

[tex]x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}[/tex]

You gotta love the flexibility of this tag, from simple Square root:

[tex]c=\sqrt{a^2+b^2}[/tex]

[tex]c=\sqrt{a^2+b^2}[/tex]

To more complex:

[tex]\large f(x)={\Large\frac1{\sigma\sqrt{2\pi}}} \int_{\small-\infty}^xe^{-\small\frac{(t-\mu)^2}{2\sigma^2}}dt[/tex]

[tex]\large f(x)={\Large\frac1{\sigma\sqrt{2\pi}}} \int_{\small-\infty}^xe^{-\small\frac{(t-\mu)^2}{2\sigma^2}}dt[/tex]

And very complex:

[tex]\normalsize \left(\large\begin{array}{GC+23} \varepsilon_x\\\varepsilon_y\\\varepsilon_z\\\gamma_{xy}\\ \gamma_{xz}\\\gamma_{yz}\end{array}\right)\ {\Large=} \ \left[\begin{array}{CC} \begin{array}\frac1{E_{\fs{+1}x}} &-\frac{\nu_{xy}}{E_{\fs{+1}x}} &-\frac{\nu_{\fs{+1}xz}}{E_{\fs{+1}x}}\\ -\frac{\nu_{yx}}{E_y}&\frac1{E_{y}}&-\frac{\nu_{yz}}{E_y}\\ -\frac{\nu_{\fs{+1}zx}}{E_{\fs{+1}z}}& -\frac{\nu_{zy}}{E_{\fs{+1}z}} &\frac1{E_{\fs{+1}z}}\end{array} & {\LARGE 0} \\ {\LARGE 0} & \begin{array}\frac1{G_{xy}}&&\\ &\frac1{G_{\fs{+1}xz}}&\\&&\frac1{G_{yz}}\end{array} \end{array}\right] \ \left(\large\begin{array} \sigma_x\\\sigma_y\\\sigma_z\\\tau_{xy}\\\tau_{xz}\\\tau_{yz} \end{array}\right)[/tex]

[tex]\normalsize \left(\large\begin{array}{GC+23} \varepsilon_x\\\varepsilon_y\\\varepsilon_z\\\gamma_{xy}\\ \gamma_{xz}\\\gamma_{yz}\end{array}\right)\ {\Large=} \ \left[\begin{array}{CC} \begin{array}\frac1{E_{\fs{+1}x}} &-\frac{\nu_{xy}}{E_{\fs{+1}x}} &-\frac{\nu_{\fs{+1}xz}}{E_{\fs{+1}x}}\\ -\frac{\nu_{yx}}{E_y}&\frac1{E_{y}}&-\frac{\nu_{yz}}{E_y}\\ -\frac{\nu_{\fs{+1}zx}}{E_{\fs{+1}z}}& -\frac{\nu_{zy}}{E_{\fs{+1}z}} &\frac1{E_{\fs{+1}z}}\end{array} & {\LARGE 0} \\ {\LARGE 0} & \begin{array}\frac1{G_{xy}}&&\\ &\frac1{G_{\fs{+1}xz}}&\\&&\frac1{G_{yz}}\end{array} \end{array}\right] \ \left(\large\begin{array} \sigma_x\\\sigma_y\\\sigma_z\\\tau_{xy}\\\tau_{xz}\\\tau_{yz} \end{array}\right)[/tex]

Plus everything in between:

[tex]\Large\overbrace{a,...,a}^{\text{k a^,s}}, \underbrace{b,...,b}_{\text{l b^,s}}\hspace{10} \large\underbrace{\overbrace{a...a}^{\text{k a^,s}}, \overbrace{b...b}^{\text{l b^,s}}}_{\text{k+l elements}}[/tex]

[tex]\Large A\ =\ \large\left( \begin{array}{c.cccc}&1&2&\cdots&n\\ \hdash1&a_{11}&a_{12}&\cdots&a_{1n}\\ 2&a_{21}&a_{22}&\cdots&a_{2n}\\ \vdots&\vdots&\vdots&\ddots&\vdots\\ n&a_{n1}&a_{n2}&\cdots&a_{nn}\end{array}\right)[/tex]

[tex]\Large\begin{array}{rccclBCB} &f&\longr[75]^{\alpha:{\normalsize f\rightar~g}}&g\\ \large\gamma&\longd[50]&&\longd[50]&\large\gamma\\ &u&\longr[75]_\beta&v\end{array}[/tex]

[tex]\Large\hspace{5}\unitlength{1} \picture(175,100){~(50,50){\circle(100)} (1,50){\overbrace{\line(46)}^{4$\;\;a}} (52,50){\line(125)}~(50,52;115;2){\mid}~(52,55){\longleftar[60]} (130,56){\longrightar[35]}~(116,58){r}~(c85,50;80;2){\bullet} (c85,36){3$-q}~(c165,36){3$q} (42,29){\underbrace{\line(32)}_{1$a^2/r\;\;\;}}~}[/tex]

[tex]\small\hspace{10}\unitlength{.75} \picture(120,220){~(60,200){\circle(120,40)}~(0,20){\line(0,180)} (5,189;0,-30){\pict(110,20){(c20,10;70;2){ \pict(40,20){(20,10){\circle(40,20)}(c10,10)+(c30,10)-}}~}~} (119,20){\line(0,180)}~(60,20){\circle(120,40;34)}}[/tex]

[tex]\red\large\displaystyle e^x=\sum_{n=0}^\infty\frac{x^n}{n!}[/tex] [tex]\blue\Large e^x=\sum_{n=0}^\infty\frac{x^n}{n!}[/tex] [tex]\reverse\opaque \LARGE e^x=\sum_{n=0}^\infty\frac{x^n}{n!}[/tex] [tex]\Large e^x=\lim_{n\to\infty} \left(1+\frac~xn\right)^n[/tex]

[tex]\large f^\prime(x)\ = \lim_{\Delta x\to0}\frac{f(x+\Delta x)-f(x)}{\Delta x}[/tex]



MimeTex tutorial is found here:

http://www.forkosh.com/mimetextutorial.html

Remember, where it says:

../cgi-bin/mimetex.cgi?

Can be replaced by our compiled CGI url:

http://vlsroulette.com/cgi-bin/mimetex.cgi?

For instance, it says:

Quote
../cgi-bin/mimetex.cgi?f(x)=\int_{-\infty}^xe^{-t^2}dt
You should use:

http://vlsroulette.com/cgi-bin/mimetex.cgi?f(x)=\int_{-\infty}^xe^{-t^2}dt

It displays resulting image for your personal tests before including into posts enclosing query within [TEX][/TEX] tags.



Hoping this moves our board forward as this is a very sweet improvement and a keeper.
Victor

(P.S. Later this post is to be moved to Reference Area)

Tangram

  • Guest
Nice work Victor.  :thumbsup:

Tangram

  • Guest
Can anyone see a problem here?

Under each formula the subject (title) of the thread is repeated.
You can also see it in Victor's first post in this thread.

[tex]\frac{a+b}{c+d}[/tex]

[tex]\sqrt{abcd}[/tex]

VLSroulette

  • Guest
I'll nail it, more likely on the 28th as there will be adjustments made to the server.

Regards.