mirror of
https://gitlab.kit.edu/uskyk/typicalc.git
synced 2024-11-10 03:10:44 +00:00
change substitution sign to another arrow
This commit is contained in:
parent
1564c772d5
commit
fd00b47928
@ -1,7 +1,7 @@
|
|||||||
window.MathJax = {
|
window.MathJax = {
|
||||||
loader: {load: ['[tex]/bussproofs', '[tex]/html', '[tex]/action']},
|
loader: {load: ['[tex]/bussproofs', '[tex]/unicode']},
|
||||||
tex: {
|
tex: {
|
||||||
packages: {'[+]': ['bussproofs', 'html', 'action']},
|
packages: {'[+]': ['bussproofs', 'unicode']},
|
||||||
inlineMath: [['$', '$'], ['\\(', '\\)']]
|
inlineMath: [['$', '$'], ['\\(', '\\)']]
|
||||||
},
|
},
|
||||||
startup: {
|
startup: {
|
||||||
|
@ -69,7 +69,7 @@ public class LatexCreator implements StepVisitor {
|
|||||||
List<Substitution> substitutions = subs.unwrap();
|
List<Substitution> substitutions = subs.unwrap();
|
||||||
for (Substitution s : substitutions) {
|
for (Substitution s : substitutions) {
|
||||||
latex.append(new LatexCreatorType(s.getVariable()).getLatex());
|
latex.append(new LatexCreatorType(s.getVariable()).getLatex());
|
||||||
latex.append(RIGHT_ARROW);
|
latex.append(SUBSTITUTION_SIGN);
|
||||||
latex.append(new LatexCreatorType(s.getType()).getLatex());
|
latex.append(new LatexCreatorType(s.getType()).getLatex());
|
||||||
latex.append("\\\\");
|
latex.append("\\\\");
|
||||||
}
|
}
|
||||||
|
@ -34,6 +34,7 @@ public final class LatexCreatorConstants {
|
|||||||
protected static final String USER_VARIABLE = "\\tau";
|
protected static final String USER_VARIABLE = "\\tau";
|
||||||
protected static final String GAMMA = "\\Gamma";
|
protected static final String GAMMA = "\\Gamma";
|
||||||
|
|
||||||
|
protected static final String SUBSTITUTION_SIGN = "\\mathrel{\\unicode{x21E8}}";
|
||||||
protected static final String LAMBDA = "\\lambda";
|
protected static final String LAMBDA = "\\lambda";
|
||||||
protected static final String LATEX_SPACE = "\\ ";
|
protected static final String LATEX_SPACE = "\\ ";
|
||||||
protected static final String FOR_ALL = "\\forall";
|
protected static final String FOR_ALL = "\\forall";
|
||||||
|
Loading…
Reference in New Issue
Block a user