From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/46612 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Looking for ConTeXt commands for ... Date: Sun, 4 Jan 2009 20:50:44 -0500 (EST) Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1231120415 31718 80.91.229.12 (5 Jan 2009 01:53:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2009 01:53:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 05 02:54:45 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1LJefx-0002Xg-2I for gctc-ntg-context-518@m.gmane.org; Mon, 05 Jan 2009 02:54:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6F051FBEF; Mon, 5 Jan 2009 02:53:23 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08365-05-2; Mon, 5 Jan 2009 02:52:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F5AE1FBAA; Mon, 5 Jan 2009 02:52:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DEA561FB8C for ; Mon, 5 Jan 2009 02:52:14 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 11243-01-2 for ; Mon, 5 Jan 2009 02:51:38 +0100 (CET) Original-Received: from hellskitchen.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.82]) by ronja.ntg.nl (Postfix) with ESMTP id 9D70F1FBAA for ; Mon, 5 Jan 2009 02:51:37 +0100 (CET) Original-Received: FROM [192.168.2.8] (c-71-234-195-113.hsd1.ct.comcast.net [71.234.195.113]) BY hellskitchen.mr.itd.umich.edu ID 496167A7.D9B7A.5765 ; 4 Jan 2009 20:51:36 -0500 In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:46612 Archived-At: On Mon, 5 Jan 2009, Mohamed Bana wrote: > I'am trying to convert a doc to ConTeXt, and I'm also trying to make it as > close to the original as possible. How do the command below translate to > ConTeXt? > > 1. \geometry{a4paper, textwidth=5.5in, textheight=8.5in, marginparsep=7pt, > marginparwidth=.6in} For a4 paper use \setuppapersize[a4][a4] For setting geometry, see \setuplayout. > 2. \scriptsize => \tfxx? > > 3. \LARGE and \Large > > 4. \Huge and \HUGE Semantically, \scriptsize = \tfxx, \Large et. al. are \tfa \tfb \tfc \tfd \tfe, but that may not give you visually the same appearance due to different defaults in Latex and Context. In Latex, these sizes are set as part of the documentclass, or size10.clo, size12.clo, etc. So, the most reliable way to reconstruct the visual appearance will be to figure out what sizes they correspond to in latex, and then set the context font environmet to match the latex values. Aditya ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________