\multicolumn{3}{c}{\Tstrut {{ title }} } \\
{% for chemical_instance in instance_group %}
{{ chemical_instance.amount }} & {{ chemical_instance.id }} &
- {{ chemical_instance.chemical.name|latex_safe }} \\
+ {{ chemical_instance.chemical.name|latex_safe|safe }} \\
{% endfor %}
{% endif %}
{% endfor %}
\hline
\endhead{% for chemical_instance in chemical_instances %}
{{ chemical_instance.id }} &
- {{ chemical_instance.chemical.name|latex_safe }} &
+ {{ chemical_instance.chemical.name|latex_safe|safe }} &
{{ chemical_instance.amount }} &
{{ chemical_instance.chemical.health }} &
{{ chemical_instance.chemical.fire }} &
LATEX_REPLACEMENTS = [
- ('%', r'\%'), ('>', '$>$'), ('<', '$<$'), (u'\u2026', r'\ldots')]
+ ('%', r'\%'), ('>', '$>$'), ('<', '$<$'), (u'\u2026', r'\ldots'),
+ (u'\u22c5', '$\cdot$')]
_SUPERSCRIPT_CODEPOINTS = {1: 0x00B9, 2: 0x00B2, 3: 0x00B3}
for i in range(9):
subscript_codepoint = 0x2080 + i