TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: slashed zero in HTML code listings? From:Lin Sims <ljsims -dot- ml -at- gmail -dot- com> To:Robert Lauriston <robert -at- lauriston -dot- com> Date:Wed, 8 Jul 2009 16:24:09 -0400
On Wed, Jul 8, 2009 at 4:18 PM, Robert Lauriston<robert -at- lauriston -dot- com> wrote:
> One thing I've always wanted to do that I've never managed to achieve
> was to use a slashed zero in code listings in HTML and HTML-based
> online help.
>
> The only monofont generally available is Courier New, and it doesn't
> have that character.
>
> So far as I can find, there's no HTML entity for it, which makes
> sense: it's not a special character, it's just the way the zero is
> designed in some fonts.
>
> You can do 0̸ to overlay a zero with a slash, but that looks
> crappy, and doesn't seem to work within <code></code> or <pre></pre>
> tags.
There's a free TrueType font available called Envy Code R which is a
really nice monospaced font. It includes the slashed zero, and has
regular, bold, and italic (but no bold-italic) typefaces.
It's really nice. :D
I suppose you'd have to embed the font or something, since it's not
commonly available (as in, not well known or widely distributed).
--
Lin Sims
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Free Software Documentation Project Web Cast: Covers developing Table of
Contents, Context IDs, and Index, as well as Doc-To-Help
2009 tips, tricks, and best practices. http://www.doctohelp.com/SuperPages/Webcasts/
Help & Manual 5: The complete help authoring tool for individual
authors and teams. Professional power, intuitive interface. Write
once, publish to 8 formats. Multi-user authoring and version control! http://www.helpandmanual.com/
---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-