Add EmoSet training and evaluation
This commit is contained in:
38
share/jupyter/nbconvert/templates/base/mathjax.html.j2
Normal file
38
share/jupyter/nbconvert/templates/base/mathjax.html.j2
Normal file
@@ -0,0 +1,38 @@
|
||||
|
||||
{%- macro mathjax(url="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-AMS_CHTML-full,Safe") -%}
|
||||
<!-- Load mathjax -->
|
||||
<script src="{{url}}"> </script>
|
||||
<!-- MathJax configuration -->
|
||||
<script type="text/x-mathjax-config">
|
||||
init_mathjax = function() {
|
||||
if (window.MathJax) {
|
||||
// MathJax loaded
|
||||
MathJax.Hub.Config({
|
||||
TeX: {
|
||||
equationNumbers: {
|
||||
autoNumber: "AMS",
|
||||
useLabelIds: true
|
||||
}
|
||||
},
|
||||
tex2jax: {
|
||||
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
|
||||
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
|
||||
processEscapes: true,
|
||||
processEnvironments: true
|
||||
},
|
||||
displayAlign: 'center',
|
||||
messageStyle: 'none',
|
||||
CommonHTML: {
|
||||
linebreaks: {
|
||||
automatic: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
MathJax.Hub.Queue(["Typeset", MathJax.Hub]);
|
||||
}
|
||||
}
|
||||
init_mathjax();
|
||||
</script>
|
||||
<!-- End of mathjax configuration -->
|
||||
{%- endmacro %}
|
||||
Reference in New Issue
Block a user