It’s easy to install our JavaScript LaTeX equation render engine to phpBB 3.0.x. Please remember that you will install this script only one time and run it forever. Once you have installed the renderer, the user can post the LaTeX equation with TEX BBCode, e.g.,
- Code: Select all
[tex]f(x)=\int_{-\infty}^xe^{-t^2}dt[/tex]
and the output should be
f(x)=\int_{-\infty}^xe^{-t^2}dt
How to embed the render to phpBB 3.0.x forums
- From Administrator Control Panel, go to Styles->Style components->Templates->prosilver->Edit
- Select template file overall->overall_footer.html to edit
- Please get jsTeXrender JavaScript from http://yourequations.com
- Add the render JavaScript before </body> tag (see below figure)Please see the below figure for the demonstration

How to enable BBCode
- From Administrator Control Panel, go to Posting->BBCodes->Add a new BBCode
- Add to the BBCode usage with this code
- Code: Select all
[tex]{TEXT}[/tex]
and add to the HTML replacement with this code
- Code: Select all
<pre lang="eq.latex">{TEXT}</pre>
Please see the below figure for the demonstration

Optional
- You can use any custom BBCode instead of
- Code: Select all
[tex]...[/tex]
e.g.,
- Code: Select all
[eq]...[/eq]
or
- Code: Select all
[math]...[/math]
- You can use CODE instead of PRE tag as state the difference in docs.
- You can select Settings->Display on posting page to add BBCode Command Button to editor.
- You can edit Help line. This field contains the mouse over text of the BBCode.
If you are using phpBB 2.0.x forums, please see this instruction.
Please read more Tutorials
–
[...] Display Equations on World Wide Web « How to install jsTeXrender for WordPress blogs How to install jsTeXrender for phpBB 3.0.x forums [...]
I noticed that for \inline option the equations are not align. They are a bit lower than the actual line. How could I fix this?
Thanks for creating such a useful Renderer System
Hello Chunny,
Internally, the outputs generated by our jsTeXrender are images enclosed with tag. Although its appearance is \inline style, however, it will not be exactly \inline as in real LaTeX document. Because, it does not know how to manage the surrounding text. It is a one of imperfect features of our software which is needed to be further developed. Sorry for inconvenience.
I’m using phpBB3 and just installed your LaTeX code. Works great, with one problem–equations always appear on a separate line in the final posting. Tried \w \inline to no avail. Either I’m using \inline incorrectly or there’s something else I’m missing. Otherwise it’s great. Thanks.
Just wanted to say hello all. This is my first post.
I came to learn a ton here.
@oneofmany
Internally, we use
<pre>tag to enclose the rendered equations. Therefore, it is expected to be a block not inline as in LaTeX. This should be improved in near future.Just become a member in few minutes. Wanna send you guys a warm hello!
Glad to be here with you!!
hey,
this is great and very easy to implement, but is it possible to get the equations in white? for a dark background? or do i have to have a white background?
thanks !