ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Johannes Hüsing" <hannes@ruhrau.de>
Subject: Re: funny looking character
Date: Thu, 30 May 2002 13:04:27 +0200	[thread overview]
Message-ID: <20020530130427.A933@ruhrau.de> (raw)
In-Reply-To: <20020530095145.1E990D3345@firebird.planetinternet.be>

On Thu, May 30, 2002 at 09:51:44AM +0000, Kris Hermans wrote:
> Hi,
> 

Ahoj,

> in my document (an html manual), I want to type source code as verbatim, so
> I use \starttyping \stoptyping. Also I want to have this in a sans serif
> font (I am using CMR).
> 

That is cmss then.

> % typeset verbatim text with sans serif 
> % a convention popularized by the context manuals

No, ConTeXt uses a typewriter font, not a sans serif font. Typewriter fonts
are normally not classified into serif and sans serif fonts, although some
of them have little strokes that resemble serif (cmtt, courier for instance) and
some of them don't (orator, ocrb).

> \setuptyping[letter=\ss]
> 

This sets up cmss as the main font for typing ...

> But when I compile my document, some characters look funny, especially the
> < and >

... which doesn't include the "<" and ">" signs. That's because cmss is designed 
for texts, and the creator of cmss considers the "less than" or "greater than" 
mathematical symbols, and does not include them in the cmss font. 

You might consider using cmtt for monospace text when mixing it with Computer 
Modern. It fits into the rest very well (x-height, overall greyness) and 
consumes little space compared with eg courier.

> 
> I include a simple document, which demonstrates this.
> 

Please don't, these attachments enlarge the disk space I need for mails.

Greetings

Johannes
-- 
Johannes Hüsing   There is something fascinating about science. One gets
hannes@ruhrau.de  such wholesale returns of conjecture from such a 
                  trifling investment of fact.                Mark Twain


      reply	other threads:[~2002-05-30 11:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-23 18:42 Kris Hermans
2002-05-30 11:04 ` Johannes Hüsing [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020530130427.A933@ruhrau.de \
    --to=hannes@ruhrau.de \
    --cc=johannes.huesing@ruhrau.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).