From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/56213 Path: news.gmane.org!not-for-mail From: Bernhard Rosensteiner Newsgroups: gmane.comp.tex.context Subject: Re: Example markup Date: Fri, 12 Feb 2010 18:59:18 +0100 Message-ID: References: <4B7587E6.3080207@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1265997581 18017 80.91.229.12 (12 Feb 2010 17:59:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Feb 2010 17:59:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Feb 12 18:59:38 2010 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 1Nfznm-0002DE-8z for gctc-ntg-context-518@m.gmane.org; Fri, 12 Feb 2010 18:59:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6E23C9D2F; Fri, 12 Feb 2010 19:01:35 +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 BGhNVihMADVr; Fri, 12 Feb 2010 19:01:33 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0FA63C9CF1; Fri, 12 Feb 2010 19:01:33 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6AF0C9CF1 for ; Fri, 12 Feb 2010 19:01:30 +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 Ct5w4QSe+VLV for ; Fri, 12 Feb 2010 19:01:19 +0100 (CET) Original-Received: from mail-fx0-f223.google.com (mail-fx0-f223.google.com [209.85.220.223]) by balder.ntg.nl (Postfix) with ESMTP id 9993FC9CE1 for ; Fri, 12 Feb 2010 19:01:19 +0100 (CET) Original-Received: by fxm23 with SMTP id 23so2695827fxm.2 for ; Fri, 12 Feb 2010 09:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=3yFNkYGC5Jy44RmRqF79TrqEG6plePBH5eCgaGhTMac=; b=Fg9IpqRudUgkTe+WXVkTTtRteM0cvP2pxTTliYgB+xwVUndGeSo75EcxTliLwf2ybq LxwKXK78iecA5JJYIIdVeMWOy6hlgpOlXk2qWYxBelXkp7BjT5cZoL98utO6jWuvVHUy SjVpY4eugy96hPOMz7uIfB0VWWY6iY4mKx2eQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=xmW5IRfi22gQDr6FhwWBkYIPm9IFebRAIzRO86XQNOo+YVDr3w1IrwOFmA7n1VS2CU uXFPNFe72gUyT2TLBNWemRaKPE2K+40kuTnQhTtKPI3iMXYke7mHYRIx98vK3Ux7nESo +ydlrBRdPGScXf2U6Hpj4ffH5E4Pb1b5WTiM0= Original-Received: by 10.87.63.4 with SMTP id q4mr3248426fgk.59.1265997559839; Fri, 12 Feb 2010 09:59:19 -0800 (PST) Original-Received: from ?78.142.86.196? ([78.142.86.196]) by mx.google.com with ESMTPS id 13sm1853103fxm.1.2010.02.12.09.59.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Feb 2010 09:59:19 -0800 (PST) In-Reply-To: <4B7587E6.3080207@gmail.com> X-Mailer: Apple Mail (2.1077) 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:56213 Archived-At: > Hello, > > There are examples (usually one paragraph long) in my lecture text, and I want them to be typeset in smaller font (\tfx). An excerpt: > > > The entities in question fall into two broad categories: {\em endogenous} (intrinsic to the SUI itself) and {\em exogenous} (belonging to a system's environment). > > \example{All processes that take place inside Earth (and other planets) are considered endogenous. These processes make the continents migrate, push the mountains up, trigger earthquakes and volcanism, and are driven by the warmth that is produced in the core of Earth.} > > > More text... > > > > I hesitate about how to define \example. I know about \definedescription and \defineenumeration, but they seem not much logically suitable to me. What could you advise? > > > Regards, > Vyatcheslav Hi, maybe you mean something like that: \define[1]\example{\tfx#1\tfa} \starttext \input tufte \example{\input tufte} \input tufte \stoptext best regards Bernhard ___________________________________________________________________________________ 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 ___________________________________________________________________________________