diff --git a/content/multipledataset.html b/content/multipledataset.html index 8e711f08..35fa81db 100644 --- a/content/multipledataset.html +++ b/content/multipledataset.html @@ -75,35 +75,14 @@ draft: false $("
  • ").text(name).appendTo(vertkindtl) } for (const [name, value] of excitationTypes.All) { - var description = null - switch (Number(value)) { - case Number(excitationTypes.VALENCE): - description = name.toLowerCase() - break; - case Number(excitationTypes.RYDBERG): - const word = name - description = word.charAt(0).toUpperCase() + word.substring(1).toLowerCase() - break; - case Number(excitationTypes.Single): - description = name.toLowerCase() - break; - case Number(excitationTypes.Double): - description = name.toLowerCase() - break; - case Number(excitationTypes.Singlet): - description = name.toLowerCase() - break; - case Number(excitationTypes.Triplet): - description = name.toLowerCase() - break; - default: - description = null; - break; + var txt=value.description.string + if (value.description.isLaTeX) { + txt=LatexInline[0]+txt+LatexInline[1] } - $("
  • ").text(LatexInline[0] + value.LaTeX + LatexInline[1] + (description == null ? '' : ": " + description)).appendTo(extl) + $("
  • ").text(txt).appendTo(extl) var cbli = $("
  • ") $("", { type: "checkbox", id: "cb_" + name, name: name, value: Number(value) }).change(nestedCheckbox_change).appendTo(cbli); - $('