Skip to content

Commit 5e4e7fa

Browse files
authored
remove unnecessary \up (upright) from some latex abbrevs (e.g. \upMu -> \Mu) (#50925)
Closes #50911. Closes #50913. There were a few oddball symbols prefixed with `\up` (for "upright") for no reason that I can tell, ala the LaTeX "upgreek" package, even though we don't use an `\up` prefix for other upright Greek letters (e.g. we have `\alpha`, not `\upalpha`, even though it isn't italicized — we have `\italpha` for italic alpha). Not breaking since this is just a UI thing. (In practice, I doubt many people use these symbols. e.g. `\upMu` is `Μ`, which looks a lot like the Latin `M`. But there is no reason to have the `\up` prefix here. It seems to have just been an automated abbreviation-import snafu. And [`\upkoppa 'ϟ'` (U+O3DF)](https://www.compart.com/en/unicode/U+03DF) is visually quite distinctive though I've never seen it used in math, not to mention lowercase — it's definitely goofy to have an `\up` prefix for it.)
1 parent e9b0fa1 commit 5e4e7fa

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

stdlib/REPL/src/latex_symbols.jl

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -984,17 +984,16 @@ const latex_symbols = Dict(
984984
"\\droang" => "̚", # left angle above (non-spacing)
985985
"\\wideutilde" => "̰", # under tilde accent (multiple characters and non-spacing)
986986
"\\not" => "̸", # combining long solidus overlay
987-
"\\upMu" => "Μ", # capital mu, greek
988-
"\\upNu" => "Ν", # capital nu, greek
989-
"\\upOmicron" => "Ο", # capital omicron, greek
990-
"\\upepsilon" => "ε", # rounded small epsilon, greek
991-
"\\upomicron" => "ο", # small omicron, greek
992-
"\\upvarbeta" => "ϐ", # rounded small beta, greek
993-
"\\upoldKoppa" => "Ϙ", # greek letter archaic koppa
994-
"\\upoldkoppa" => "ϙ", # greek small letter archaic koppa
995-
"\\upstigma" => "ϛ", # greek small letter stigma
996-
"\\upkoppa" => "ϟ", # greek small letter koppa
997-
"\\upsampi" => "ϡ", # greek small letter sampi
987+
"\\Mu" => "Μ", # capital mu, greek
988+
"\\Nu" => "Ν", # capital nu, greek
989+
"\\Omicron" => "Ο", # capital omicron, greek
990+
"\\omicron" => "ο", # small omicron, greek
991+
"\\varbeta" => "ϐ", # rounded small beta, greek
992+
"\\oldKoppa" => "Ϙ", # greek letter archaic koppa
993+
"\\oldkoppa" => "ϙ", # greek small letter archaic koppa
994+
"\\stigma" => "ϛ", # greek small letter stigma
995+
"\\koppa" => "ϟ", # greek small letter koppa
996+
"\\sampi" => "ϡ", # greek small letter sampi
998997
"\\tieconcat" => "", # character tie, z notation sequence concatenation
999998
"\\leftharpoonaccent" => "", # combining left harpoon above
1000999
"\\rightharpoonaccent" => "", # combining right harpoon above

0 commit comments

Comments
 (0)