Two Plus Two Publishing LLC Two Plus Two Publishing LLC
 

Go Back   Two Plus Two Poker Forums > >

Notices

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

Reply
 
Thread Tools Display Modes
Old 06-17-2009, 03:05 PM   #1
jason1990
old hand
 
Join Date: Sep 2004
Posts: 1,876
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
jason1990 is offline   Reply With Quote
Old 09-10-2009, 12:56 PM   #2
jason1990
old hand
 
Join Date: Sep 2004
Posts: 1,876
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:
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:
  • 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:
    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.
jason1990 is offline   Reply With Quote
Old 09-13-2009, 10:24 PM   #3
jason1990
old hand
 
Join Date: Sep 2004
Posts: 1,876
Re: How to include LaTeX images in your posts

Quote:
Originally Posted by jason1990 View Post
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:
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):
jason1990 is offline   Reply With Quote
Old 08-27-2010, 12:32 AM   #4
minu
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,..
minu is offline   Reply With Quote
Old 01-16-2016, 09:26 AM   #5
keerioh
newbie
 
Join Date: Jan 2016
Posts: 17
Re: How to include LaTeX images in your posts

is the entire LaTeX-command set or only a subset available?
keerioh is offline   Reply With Quote

Reply
      

Thread Tools
Display Modes

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 Off


Forum Jump


All times are GMT -4. The time now is 10:24 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Search Engine Optimisation provided by DragonByte SEO v2.0.33 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright ę 2008-2010, Two Plus Two Interactive
 
 
Poker Players - Streaming Live Online