X-双条的 Unicode
我正在寻找 X-double 栏的 HTML 代码。
我知道单个条形的代码:
x-bar = x̄
或 x̄
(十六进制)
但是它的用途是什么X-双杠?
I am looking for the HTML code for the X-double bar.
I know the code for a single bar:
x-bar = x̄
or x̄
(hex)
But what is it for the X-double bar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
接受的答案是不正确的。
U+035E
COMBINING DOUBLE MACRON
旨在遍历两个代码点。它是双重的,只是因为它会遍历其后面的代码点和前面的代码点,这与仅计算其后面的代码点不同。比较 U+0360COMBINING DOUBLE TILDE
,它执行相同的操作。“a\x{35e}e”
是a͞e
,而“a\x{360}e”
是a͠e
代码>.您想要的代码点是 U+033F
COMBINING DOUBLE OVERLINE
。“x\x{33f}”
是x̿
。以下是所有组合宏,使用 uninames 工具:
以下是组合半标记:
这些就是他们所说的:
你可以这样测试它们:
The accepted answer is incorrect.
U+035E
COMBINING DOUBLE MACRON
is meant to go over two code points. It is double only in the sense that it goes over both the code point it follows and the one it precedes, unlike normal marks that only count for the one they follow. Compare U+0360COMBINING DOUBLE TILDE
, which does the same thing."a\x{35e}e"
isa͞e
, while"a\x{360}e"
isa͠e
.The code point you want is U+033F
COMBINING DOUBLE OVERLINE
."x\x{33f}"
isx̿
.Here are all the combining macrons, using the uninames tool:
and here are the combining half marks:
And these are, well, what they say they are:
You can test them this out way:
对于要在上面放置条形的任何字符,请在其后添加
̄
。例如,如果您想要 x 双条 (x̄̄),则 HTML 代码为
x̄̄
。如果您想制作 x 三重条 (x̄̄̄),请编写x̄̄̄
。以下是 HTML 代码示例:
这也适用于任何角色。例如,对于 y 三重小节 (ş̄̄),它将是
ȳ̄̄
。For whichever character you want to put bars above, add
̄
after it.So for example if you want x double bar (x̄̄) the HTML code is
x̄̄
. If you want to make an x triple bar (x̄̄̄) then writex̄̄̄
.Here's a code sample in HTML:
This also works for any character. For example, for y triple bar (ȳ̄̄), it will be
ȳ̄̄
.U+0304 是组合宏宏。 U+033F 处有一个“组合双上划线”可能适合您,U+035E 处有一个“组合双宏宏”。在我的浏览器中,这两个看起来都不像双栏。但如果它们适合您,代码将类似于
̿x
,呈现为 ̿x 或͞x
,呈现为 ͞x (这是 HTML 标记,而不是 Unicode。)另请注意,组合字符应位于与其组合的字符之前,而不是之后。另请参阅 http://www.fileformat.info/info/unicode/block /combining_diaritic_marks/list.htm
U+0304 is the combining macron. There is a "combining double overline" at U+033F which might work for you, and a "combining double macron" at U+035E. Neither of these looks very clearly like a double bar in my browser. But if they work for you, the code would be something like
̿x
which renders as ̿x or͞x
which renders as ͞x (This is HTML markup, not Unicode.) Note also that the combining character should go before the character it combines with, not after.See also http://www.fileformat.info/info/unicode/block/combining_diacritical_marks/list.htm