From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/8096 Path: main.gmane.org!not-for-mail From: =?iso-8859-1?Q?Johannes_H=FCsing?= Newsgroups: gmane.comp.tex.context Subject: Re: funny looking character Date: Thu, 30 May 2002 13:04:27 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <20020530130427.A933@ruhrau.de> References: <20020530095145.1E990D3345@firebird.planetinternet.be> Reply-To: johannes.huesing@ruhrau.de NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035398531 24758 80.91.224.250 (23 Oct 2002 18:42:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:42:11 +0000 (UTC) Original-To: ntg-context@ntg.nl In-Reply-To: <20020530095145.1E990D3345@firebird.planetinternet.be> Xref: main.gmane.org gmane.comp.tex.context:8096 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:8096 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