From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65104 Path: news.gmane.org!not-for-mail From: Philipp Gesang Newsgroups: gmane.comp.tex.context Subject: Re: Computer Modern Typewriter Proportional Date: Mon, 10 Jan 2011 09:36:55 +0100 Message-ID: <20110110083654.GA3431@aides> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0653961046==" X-Trace: dough.gmane.org 1294648637 674 80.91.229.12 (10 Jan 2011 08:37:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 Jan 2011 08:37:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 10 09:37:10 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PcDFR-0006wr-4m for gctc-ntg-context-518@m.gmane.org; Mon, 10 Jan 2011 09:37:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4FFE5CA96E; Mon, 10 Jan 2011 09:37:04 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZdquOQe0HevT; Mon, 10 Jan 2011 09:37:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 938D7CAA76; Mon, 10 Jan 2011 09:37:01 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AAA33CAA76 for ; Mon, 10 Jan 2011 09:37:00 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id HMcB1zlsYvjv for ; Mon, 10 Jan 2011 09:36:58 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 6FF63CA96E for ; Mon, 10 Jan 2011 09:36:58 +0100 (CET) Original-Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0A8avj3015600 for ; Mon, 10 Jan 2011 09:36:58 +0100 Original-Received: from ix.urz.uni-heidelberg.de (cyrus-portal.urz.uni-heidelberg.de [129.206.100.176]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p0A8au2j009259 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 10 Jan 2011 09:36:56 +0100 Original-Received: from extmail.urz.uni-heidelberg.de (extmail.urz.uni-heidelberg.de [129.206.100.140]) by ix.urz.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id p0A8aueC022358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 10 Jan 2011 09:36:56 +0100 Original-Received: from localhost (mnhm-5f75ff21.pool.mediaWays.net [95.117.255.33]) (authenticated bits=0) by extmail.urz.uni-heidelberg.de (8.13.4/8.13.1) with ESMTP id p0A8asNi013667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 10 Jan 2011 09:36:55 +0100 In-Reply-To: X-Operating-System: Linux aides 2.6.36-ARCH X-Polite-Request: "Please try to be nice, don't send html mail." User-Agent: Mutt/1.5.20 (2009-06-14) X-Bayes-Prob: 0.5 (Score 0, tokens from: ) X-CanIt-Geo: ip=129.206.210.211; country=DE; region=01; city=Heidelberg; latitude=49.4167; longitude=8.7000; http://maps.google.com/maps?q=49.4167,8.7000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eDRIAV9r - a141fe165bc1 - 20110110 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:65104 Archived-At: --===============0653961046== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2011-01-09 <19:31:24>, Raymond LeClair wrote: > Does anyone know how the "Computer Modern Typewriter Proportional" font w= ould be specified in ConTeXt? >=20 > In Latex is is specified as follows: >=20 > \usepackage[T1]{fontenc} > \renewcommand*\ttdefault{cmvtt} > \renewcommand*\familydefault{\ttdefault} %% Only if the base font of the = document is to be typewriter style >=20 > See: http://www.tug.dk/FontCatalogue/cmvtt/ >=20 > Any help would be appreciated! Hello Raymond, there=E2=80=99s two ways I know of: 1. for *latin* modern, use the typescript =E2=80=9Cmodern-variable=E2=80=9D; 2. for *cm unicode*, redefine= the mono typefaces. (Of course, if yow need exactly cm then this might not help you at all, sorry.) Here=E2=80=99s an example to demonstrate both. =C2=B7=C2=B7=C2=B7=C2=B7=C2=B78<=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7 \usetypescriptfile[type-cmu] \unprotect \starttypescript [\s!mono] [computer-modern-unicode] % by default cmu does = not define the variable width mono faces \setups[\s!font:\s!fallback:\s!mono] \definefontsynonym [\s!Mono] [CMUTypewriter-Variable] [= \s!features=3D\s!default] \definefontsynonym [\s!MonoItalic] [CMUTypewriter-VariableItalic] [= \s!features=3D\s!default] \stoptypescript \protect \usetypescript [computer-modern-unicode] % for cmu \usetypescript [modern-variable] % for lm %\usetypescript [modern-variable-light] % alternative for lm \setupbodyfont [computer-modern-unicode] \starttext {\tt\input knuth\par} % testing cmu {\tt\italic\input knuth\par} % testing cmu-it {\switchtobodyfont[modernvariable]\tt\input knuth\par} % testing lm \stoptext =C2=B7=C2=B7=C2=B7=C2=B7=C2=B78<=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2= =B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7=C2=B7= =C2=B7 Regards, Philipp Btw, modern-variable causes different line breaks than ordinary lm-tt but it does not appear to be as proportional as the cmu version. Did I do something wrong? > _________________________________________________________________________= __________ > If your question is of interest to others as well, please add an entry to= the Wiki! >=20 > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-co= ntext > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > _________________________________________________________________________= __________ --=20 () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk0qxSYACgkQ02lYlJYWs9KuTACePciDTk4TOBhKwUUhrM3Y/J4O EJMAn0Ccels7PJunP6zkVfI2chGSopYl =p4Ru -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- --===============0653961046== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0653961046==--