Skip to content


Subversion checkout URL

You can clone with
Download ZIP
LaTeX-style formula plugin for Redmine
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test Update test_case.
init.rb Add LICENSE file. Update year of license.


wiki_gchart_formula (LaTeX-style formula plugin for Redmine)


  • This Redmine plugin enables Redmine to render LaTeX-style formula images in Wiki.
  • This plugin uses Google Chart API, so it works without any other software, such as latex or dvips.
  • You can use curly braces in formula.

How to write in Redmine Wiki

You can write formula in LaTeX style as follows:


For example,


is shown as .

formula can include curly braces, ‘{’ and ‘}’.

If you need more information about formula, please refer to Google Chart API and LaTeX commands.


  • {{latex(\textstyle\sum_{k=1}^n k^2)}} is shown as .
  • {{latex(\displaystyle\sum_{k=1}^n k^2)}} is shown as .
  • {{latex(\displaystyle\sum_{k=1}^n k^3 = \left(\frac{1}{2}n(n+1)\right)^2)}} is shown as .
  • {{latex(\displaystyle A=\left(\begin{matrix} 1 & 2 & 3 \\ 4 & 5 & 6 \\ 7 & 8 & 9 \end{matrix}\right))}} is shown as .


  • This plugin regards the sequence ‘)}}’ as an end of the LaTeX formula, so you should write ‘) }}’ instead of ‘)}}’ to output ‘)}}’.
  • Too long formula cannot be shown, because of Google Chart API restriction.
    If you need to output long formula, you should consider using another plugin, such as redmine-wiki_latex_plugin.
  • This plugin uses Google Chart API, so the formula you input is sent to Google.
    If you are nervous about the privacy, you should use another plugin instead of this plugin.
  • You can use curly braces in formula, such as {{latex(\sum_{k=1}^n k^2)}}, because this plugin does not use Redmine::WikiFormatting::Macros but has own processing method, inline_wiki_gchart_formula.
    If you would like to know more, please refer to wiki_gchart_formula_patch.rb.
  • class attribute, “gchart_formula”, is added to the image tag of formula.


You can use this plugin under the MIT License.
This plugin uses Google Chart API, so you have to obey Terms of Service of Google Chart Tools.

Change Logs

Version 0.0.1

Initial commit.

Version 0.0.2

Add “title” attribute to image tag of formula.

Version 0.0.3

Bug fix about ‘ampersand’ error.
Thank you for your report, Yoav HaCohen!

Version 0.0.4

Support Redmine 1.2.X.

Version 0.0.5

Bug fix about conflicts with some plugins.
Thank you for your report, Ryan Edwards!

Something went wrong with that request. Please try again.