Two Plus Two Poker Forums How to include LaTeX images in your posts
 Register FAQ Search Today's Posts Mark Forums Read Video Directory TwoPlusTwo.com

 Notices 2013 Two Plus Two Party at South Point BET RAISE FOLD screening at 3PM in lounge next to poker room. July 6th Party registration at 5PM. Food served at 6PM

 Science, Math, and Philosophy Discussions regarding science, math, and/or philosophy.

 06-17-2009, 03:05 PM #1 old hand   Join Date: Sep 2004 Posts: 1,870 How to include LaTeX images in your posts See second post for use of LaTeX images and explanations Last edited by Zeno; 09-10-2009 at 11:33 PM. Reason: Post Superseded
 09-10-2009, 12:56 PM #2 old hand   Join Date: Sep 2004 Posts: 1,870 Re: How to include LaTeX images in your posts The following post supersedes the original post of this thread. In the following post, a typo was corrected and some formatting was modified. -------------------- To post LaTeX formulas as images in your posts, use the following syntax: [img]http://latex.codecogs.com/gif.latex?insert LaTeX code here[/img]For example, the LaTeX image: $\Phi(x) = \frac1{\sqrt{2\pi}} \int_{-\infty}^x e^{-u^2/2} \, du$is produced by the syntax: [img]http://latex.codecogs.com/gif.latex?\Phi(x) = \frac1{\sqrt{2\pi}} \int_{-\infty}^x e^{-u^2/2} \, du[/img]Here are some helpful hints to remember: It is okay to include spaces in your LaTeX code, but do not use carriage returns. For example, before posting the following LaTeX code: f(x) = \begin{cases} x^2 &\text{if $x \ge 0$},\\ 0 &\text{if $x < 0$}. \end{cases}the carriage returns must be removed. The required syntax is: [img]http://latex.codecogs.com/gif.latex? f(x) = \begin{cases} x^2 &\text{if $x \ge 0$},\\ 0 &\text{if $x < 0$}. \end{cases} [/img]which produces the following image: $f(x) = \begin{cases} x^2 &\text{if x \ge 0},\\ 0 &\text{if x < 0}. \end{cases}$ Some characters that are used in LaTeX code are not recognized by the forum software. These characters must be replaced by their URL Escape Codes. (A list of these codes can be found here: Percent-encoding on Wikipedia.) At the time of this writing, the only character we have found that requires a URL Escape Code is the asterisk, "*". Its URL Escape Code is %2A. For instance, the LaTeX image: $\Psi = \Phi\Phi^*$must be produced by the syntax: [img]http://latex.codecogs.com/gif.latex?\Psi = \Phi\Phi^%2A[/img] If you cannot see these LaTeX images, make sure that you have the right settings selected. Go to My 2+2 --> Edit Options, and make sure that "Show Images (including attached images and images in [IMG] code)" is checked. If you are new to LaTeX, you may want to see the LaTeX guide on Wikibooks. The Mathematics and Advanced Mathematics sections may be particularly useful. Last edited by Zeno; 09-10-2009 at 11:32 PM.
09-13-2009, 10:24 PM   #3
old hand

Join Date: Sep 2004
Posts: 1,870
Re: How to include LaTeX images in your posts

Quote:
 Originally Posted by jason1990 To post LaTeX formulas as images in your posts, use the following syntax: [img]http://latex.codecogs.com/gif.latex?insert LaTeX code here[/img]For example, the LaTeX image: $\Phi(x) = \frac1{\sqrt{2\pi}} \int_{-\infty}^x e^{-u^2/2} \, du$is produced by the syntax: [img]http://latex.codecogs.com/gif.latex?\Phi(x) = \frac1{\sqrt{2\pi}} \int_{-\infty}^x e^{-u^2/2} \, du[/img]
As I am writing this, the above LaTeX image is not visible. In fact, none of the LaTeX images which use this syntax are visible, because codecogs.com is down. Entire threads are now unreadable.

Of course, this is the risk we run when we rely on an outside site for our posting needs, instead of having a 2+2 owned LaTeX editor at our disposal.

FWIW, I have found another external LaTeX editor, which therefore gives us an alternative syntax:
[img]http://mathstat.uohyd.ernet.in/equationeditor/rawequation.php?insert LaTeX code here[/img]
This one seems to be working (at least for now):

 08-27-2010, 12:32 AM #4 stranger   Join Date: Aug 2010 Posts: 4 Re: How to include LaTeX images in your posts hi jason,... thanks for giving nice idea for How to include LaTeX images in your posts,.. its useful one,..

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is OffTrackbacks are Off Pingbacks are Off Refbacks are Off Forum Rules

All times are GMT -4. The time now is 07:07 PM.

 Contact Us - Two Plus Two Publishing LLC - Privacy Statement - Top