Scoping ID to highlight type variables

This should fix #10
This commit is contained in:
Arne Keller 2021-07-09 12:46:24 +02:00
parent 1b70e374ac
commit e2c874de5f

View File

@ -78,6 +78,8 @@ public class LatexCreatorType implements TypeVisitor {
// this class is used in frontend/src/mathjax-setup.js // this class is used in frontend/src/mathjax-setup.js
latex.append("\\class{typicalc-type typicalc-type-") latex.append("\\class{typicalc-type typicalc-type-")
.append(variable.hashCode()) .append(variable.hashCode())
.append("-")
.append(variable.getUniqueIndex())
.append("}{"); .append("}{");
} }
latex.append(name); latex.append(name);