我正在阅读一个教程,它使用了 x hat 和 y hat。我无法在本地创建这些字符,并且它们没有出现在我看到的 unicode 字符列表中。通常我会\xhat创建 unicode 字符,但在这种情况下似乎又不存在。
键入x\\hat并按tab即可获得您想要的内容。您还可以在 Julia REPL 中搜索该字符:
help?> x\xcc\x82\n"x\xcc\x82" can be typed by x\\hat<tab>\nRun Code Online (Sandbox Code Playgroud)\n请注意,在这种情况下,该序列由两个字符组成:
\njulia> collect("x\xcc\x82")\n2-element Vector{Char}:\n \'x\': ASCII/Unicode U+0078 (category Ll: Letter, lowercase)\n \'\xcc\x82\': Unicode U+0302 (category Mn: Mark, nonspacing)\nRun Code Online (Sandbox Code Playgroud)\n其中第二个是组合变音符号。
\n