?>
Who's still around?
GTX0 NewestRepliesHottestMy Active
NIFE UpdatesRoadmapRequests | HelpDiscuss Game Worlds


LaTeX support added
Posted: Posted March 18th, 2015
Edited March 18th, 2015 by Xhin
View Source Report Thread Views

Evidently you use backslashes for everything (Is this a latex-specific thing, or a mathjax-specific thing?)



Turns into

\[
\left( \sum_{k=1}^n a_k b_k \right)^{\!\!2} \leq
\left( \sum_{k=1}^n a_k^2 \right) \left( \sum_{k=1}^n b_k^2 \right)
\]

Inline LaTeX

You can use LaTeX inside of a paragraph as well by surrounding it by $$<latex>$$.

The quick brown fox $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ jumps over the lazy red dog.

turns into

The quick brown fox $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$ jumps over the lazy red dog.

Conclusion

If there's anything I'm leaving out (likely) let me know!

There are 52 Replies
Load all posts On page: 1 2 ... 5 6
  settingsSettings

You are an Angel of the Lord. {O:-)} Thank you for your kindness, Xhin. We truly appreciate this.

About your first question, yes, the command \ [ ... \ ] are used in LaTeX. In fact I use it all the time. Other times I use the double dollars $ you mentioned. When I want a displayed equation to be numbered I use the environment variable:

\ begin{equation}
.... Equation goes here ...
\ end{equation}

Hey that worked!

Edited March 18th, 2015 by The Fly
View Source Quote Report

Interesting...

Posted March 18th, 2015 by GHOW
View Source Quote Report
GHOW
 

Oh neat, I didn't think about spacing out the backslashes. That's good! I used the `` trick for the $$ thing (after a little tweak to get it to render as <em></em> instead of literally nothing).

Posted March 18th, 2015 by Xhin
View Source Quote Report
Xhin
Sky's the limit

Yeah, I had to put a space after the \ since it did work otherwise!

Let me test ... $\pi^{-1/2}$. So one dollar doesn't work. So it needs more money two dollars! $$\pi^{-1/2}$$

Yup! Worked! I see you TeXed the Cauchy-Schwartz inequality!

We're gonna teach the people of GT to do some TeXing here. You said it! This is gonna be TeXan land from now on! ;-)

Edited March 18th, 2015 by The Fly
View Source Quote Report

Yeah it doesn't work with single dollar signs. And you wouldn't want it to, really..

Posted March 18th, 2015 by Xhin
View Source Quote Report
Xhin
Sky's the limit

This is a t$$\epsilon$$st.

This is a t$\epsilon$st.

This is a t\[\epsilon\]st.

$$\tau \epsilon \Sigma \tau$$

Edited March 18th, 2015 by EN
View Source Quote Report
EN

I've got the mathjax showing up on the left now where it belongs.

Posted March 18th, 2015 by Xhin
View Source Quote Report
Xhin
Sky's the limit

When I've used other Latex supporting sites like stackexchange, single dollar signs let you do inline code, while double dollar signs gives you a separate centered paragraph. Any chance we could get that sort of inline functionality?

Posted March 18th, 2015 by EN
View Source Quote Report
EN

Also my OP was wrong about inline math. You apparently just use the backslash syntax for it.

there are two solutions to \(ax^2 + bx + c = 0\).

Edited March 18th, 2015 by Xhin
View Source Quote Report
Xhin
Sky's the limit

Yeah inline math is supported by default really..

Posted March 18th, 2015 by Xhin
View Source Quote Report
Xhin
Sky's the limit
Next page Load rest of pages On page: /
Reply to: LaTeX support added
Enter your message here

Site Rules | Complaints Process | Give Feedback Facebook Page
GTX0 © 2009-2019 Xhin GameTalk © 1999-2008 lives on
You are not forgotten, Kevin, Liane, Norma, Jason, and Garrett