English 中文(简体)
How to write a quomma
原标题:

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?
问题回答

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.

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;
}

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.)





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签