##// END OF EJS Templates
Backport PR #5716: Add booktabs package to latex base.tplx...
Backport PR #5716: Add booktabs package to latex base.tplx Trivial fix to include the booktabs package in the base.tplx which is required for tables created with pandoc > 1.12.2 (see [releases](http://johnmacfarlane.net/pandoc/releases.html#pandoc-1.12.2-2013-12-07)) - fixes #5690

File last commit:

r15846:6c00b9d8
r16630:29d3c96b
Show More
mathjax.tpl
22 lines | 868 B | application/vnd.groove-tool-template | SmartyLexer
{%- macro mathjax() -%}
<!-- Load mathjax -->
<script src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
<!-- MathJax configuration -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true,
processEnvironments: true
},
// Center justify equations in code and markdown cells. Elsewhere
// we use CSS to left justify single line equations in code cells.
displayAlign: 'center',
"HTML-CSS": {
styles: {'.MathJax_Display': {"margin": 0}},
linebreaks: { automatic: true }
}
});
</script>
<!-- End of mathjax configuration -->
{%- endmacro %}