mirror of
https://github.com/LCPQ/QUESTDB_website.git
synced 2024-12-25 05:43:46 +01:00
Update excitationType detection with standard LaTeX
This commit is contained in:
parent
4900ad296a
commit
2aa6088405
@ -96,13 +96,13 @@ class excitationBase {
|
||||
this.type = this.type | excitationType.Doublet
|
||||
}
|
||||
const finalts = finalt.split(",").map(x => x.trim())
|
||||
if (initialts.includes("n") && finalts.includes(String.raw`\pis`)) {
|
||||
if (initialts.includes("n") && finalts.includes(String.raw`\pi^\star`)) {
|
||||
this.type = this.type | excitationType.PiPis
|
||||
} else if (initialts.includes(String.raw`\pi`) in initialts && finals.includes(String.raw`\pis`)) {
|
||||
} else if (initialts.includes(String.raw`\pi`) in initialts && finals.includes(String.raw`\pi^\star`)) {
|
||||
this.type = this.type | excitationType.PiPis
|
||||
} else if (ty.includes(String.raw`\Ryd`)) {
|
||||
} else if (ty.includes(String.raw`\pi^\star`)) {
|
||||
this.type = this.type | excitationType.RYDBERG
|
||||
} else if (ty.includes(String.raw`\Val`)) {
|
||||
} else if (ty.includes(String.raw`\mathrm{V}`)) {
|
||||
this.type = this.type | excitationType.VALENCE
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user