如何写库玛

发布于 2024-08-21 23:20:32 字数 334 浏览 7 评论 0原文

我想开始在子句和句子末尾使用问号。为了表明这一点,我想使用一个问号,下面有一个逗号,我想称之为 quomma。

这种非常规标点符号似乎没有 Unicode 代码点,那么最适合 Web 的方法是什么?

  • 组合变音标记似乎在我尝试过的任何地方都不起作用:?̦(尽管有一些东西可以防止重叠ʔ̦,因为看起来几乎像无点问号(ʔ)的声门停止标记似乎确实有效,因为你刚刚看到了!)
  • SVG 支持并不广泛,无论如何这都需要每个字体的 SVG。
  • 光栅图像似乎有点糟糕。
  • 有没有一些厚颜无耻但又不那么老套的 HTML/CSS?
  • 还有其他想法吗?

I'd like to start using question marks at the end of clauses as well as sentences. To indicate this I would like to use a question mark with a comma underneath, which I'd like to call a quomma.

There doesn't seem to be a Unicode code point for this unconventional punctuation, so what is the most Web-friendly way of doing this?

  • The combining diacritical mark doesn't seem to work anywhere I've tried it: ?̦ (Though is there something which prevents overlappingʔ̦ because the glottal stop mark, which looks almost like a dotless question mark (ʔ) does seem to work, as you just saw!)
  • SVG support is not widespread, and this would require a per-font SVG anyway.
  • A raster image seems a bit of a crap solution.
  • Is there some cheeky but not-too-hacky HTML/CSS?
  • Any other ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

-残月青衣踏尘吟 2024-08-28 23:20:32

查看组合变音符号(图表),特别是 U+0326(下面组合逗号)。

HTML ʔ̦ 生成:

ʔ̦

由于这不太可能是任何现有语言中使用的字素,因此它是否适用于您的浏览器可能取决于许多与 Unicode 和字体支持相关的因素。

Have a look at the combining diatrics (charts), in particular U+0326 (COMBINING COMMA BELOW).

The HTML ʔ̦ produces:

ʔ̦

Since this is unlikely to be a grapheme used in any existing language, whether that works or not on your browser may depend on a number of factors related to Unicode and font support.

2024-08-28 23:20:32

这个是内联工作的;甚至 IE 也可以处理跨度元素上的内联块显示:

<p>Some text with a quomma in it <span class="quomma">?<span class="c">,</span></span> and some more text</p>

CSS:

span.quomma {
    display: inline-block;
    position: relative;
}

span.quomma .c {
    display: block;
    position: absolute;
    left: .1em;
    top: 0;
}

This one works inline; even IE can handle inline-block displays on span-elements:

<p>Some text with a quomma in it <span class="quomma">?<span class="c">,</span></span> and some more text</p>

CSS:

span.quomma {
    display: inline-block;
    position: relative;
}

span.quomma .c {
    display: block;
    position: absolute;
    left: .1em;
    top: 0;
}
淡笑忘祈一世凡恋 2024-08-28 23:20:32

也许不是一个令人满意的答案,但您不需要为此使用特殊符号。只需使用问号并像逗号一样继续句子:

你想要一些吗? b更符合你的口味吗?或者c怎么样?

就像,我在商场?我看到这个人了?他对我微笑?我当时就觉得天哪!

   – 迈克·丹尼尔斯

我不确定它的历史或它是否曾经是主流,但我有时看到它被清楚地使用。  我怀疑任何风格手册全心全意地认可它,甚至根本不认可它?您准备好生成自己的标点符号,这似乎并不是一个大问题。  曾经,指示分句符不是很常见特别?或不?  这样的指示难道不会消除quomma吗?还是仍然需要它?  (我可以再保持下去吗?  不可以。)

Perhaps not a satisfactory answer, but you don't need a special symbol for this.  Simply use a question mark and continue the sentence as if it were a comma:

Would you prefer some of a? is b more to your taste? or how about c?

Like, I was at the mall? and I saw this guy? and he smiled at me? and I was like OMG!

    – Mike Daniels

I'm not sure of the history or whether it was ever mainstream, but I have seen it, on occasion, used clearly.  I doubt any style manual endorses it whole-heartedly—or even at all?—but since you're up for generating your own punctuation, that doesn't seem a huge concern.  At one time, wasn't it common to indicate sentence breaks specially? or not?  Wouldn't such indication obviate the quomma? or is there still a need for it?  (Can I keep that up any longer?  Nope.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文