Template::Plugin::GoogleLaTeX - Render LaTeX equations using Google's Chart API
Version 0.02
Generates an image tag to render the given LaTeX equation using Google's chart API. See http://code.google.com/apis/chart/docs/gallery/formulas.html.
[%- USE GoogleLaTeX -%] <p>[%- FILTER latex alt = '[ Utility maximization ]', title = 'Utility maximization', class = 'display', style = 'border:3px outset #dde; padding:16px;', id = 'umax', height = 100, color = 'fa1111', fill = 'bg,lg,20,ddddee,1,1111ff,0' -%] \begin{eqnarray} \max U(x,y) & = & \ln x + \ln y \\ \mathrm{s.t.} & & p_xx + p_yy = I \\ & & x \geq 0, y \geq 0 \end{eqnarray} [%- END -%] </p>
See http://search.cpan.org/perldoc/Template::Plugin::Filter#EXAMPLE
A. Sinan Unur, <nanis at cpan.org>
<nanis at cpan.org>
Please report any bugs or feature requests to bug-template-plugin-googlelatex at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Template-Plugin-GoogleLaTeX. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-template-plugin-googlelatex at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Template::Plugin::GoogleLaTeX
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Template-Plugin-GoogleLaTeX
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Template-Plugin-GoogleLaTeX
CPAN Ratings
http://cpanratings.perl.org/d/Template-Plugin-GoogleLaTeX
Search CPAN
http://search.cpan.org/dist/Template-Plugin-GoogleLaTeX/
Thank you Andy Wardley and all contributors to Template-Toolkit.
Copyright 2010 A. Sinan Unur.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Template::Plugin::GoogleLaTeX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Plugin::GoogleLaTeX
CPAN shell
perl -MCPAN -e shell install Template::Plugin::GoogleLaTeX
For more information on module installation, please visit the detailed CPAN module installation guide.