Skip to content

Commit 0e30e0f

Browse files
eschnettstevengj
andauthored
Support superscript small q (#59544)
Co-authored-by: Steven G. Johnson <[email protected]>
1 parent ba9f47b commit 0e30e0f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

stdlib/REPL/src/latex_symbols.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ const latex_symbols = Dict(
191191
"\\^n" => "",
192192
"\\^o" => "",
193193
"\\^p" => "",
194+
"\\^q" => "𐞥",
194195
"\\^r" => "ʳ",
195196
"\\^s" => "ˢ",
196197
"\\^t" => "",

stdlib/REPL/test/replcompletions.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1522,7 +1522,8 @@ end
15221522
@test "⁽¹²³⁾ⁿ" in test_complete("\\^(123)n")[1]
15231523
@test "" in test_complete("\\^n")[1]
15241524
@test "" in test_complete("\\^gamma")[1]
1525-
@test isempty(test_complete("\\^(123)nq")[1])
1525+
@test "⁽¹²³⁾ⁿ𐞥" in test_complete("\\^(123)nq")[1]
1526+
@test isempty(test_complete("\\^(123)nQ")[1])
15261527
@test "₍₁₂₃₎ₙ" in test_complete("\\_(123)n")[1]
15271528
@test "" in test_complete("\\_n")[1]
15281529
@test "" in test_complete("\\_gamma")[1]

0 commit comments

Comments
 (0)