From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/42855 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Figures and Captions Date: Wed, 30 Jul 2008 15:49:14 +0200 Message-ID: <115224fb0807300649t113255efk4789e20a452b804d@mail.gmail.com> 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" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1217425881 16759 80.91.229.12 (30 Jul 2008 13:51:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Jul 2008 13:51:21 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Wed Jul 30 15:52:11 2008 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 1KOC63-0003HW-Eg for gctc-ntg-context-518@m.gmane.org; Wed, 30 Jul 2008 15:52:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8BF5E1FCB1; Wed, 30 Jul 2008 15:51:10 +0200 (CEST) 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 23754-04-5; Wed, 30 Jul 2008 15:50:27 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C3DAC1FC43; Wed, 30 Jul 2008 15:50:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AB99B1FC0B for ; Wed, 30 Jul 2008 15:49:56 +0200 (CEST) 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 24167-05-10 for ; Wed, 30 Jul 2008 15:49:18 +0200 (CEST) Original-Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.247]) by ronja.ntg.nl (Postfix) with ESMTP id CF3FE1FB77 for ; Wed, 30 Jul 2008 15:49:15 +0200 (CEST) Original-Received: by an-out-0708.google.com with SMTP id c8so3651ana.14 for ; Wed, 30 Jul 2008 06:49:14 -0700 (PDT) Original-Received: by 10.100.144.11 with SMTP id r11mr12799707and.140.1217425754694; Wed, 30 Jul 2008 06:49:14 -0700 (PDT) Original-Received: by 10.100.109.20 with HTTP; Wed, 30 Jul 2008 06:49:14 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:42855 Archived-At: On Wed, Jul 30, 2008 at 3:39 PM, Ernesto Schirmacher wrote: > Dear ConTeXt experts, > > I would like to achieve the following effect when placing figures and > tables: > > ***Start example*** > > FIGURE 1.2 Effect of Monotone Transformations > > (a pdf-file containing the graphic goes here) > > Caption text at the bottom of the figure > > ***Stop example*** > > Currently I'm using the following code (that puts the figure title and > caption together) > > \placeFIGURE > [here][fig:sml] > {\figTitle{Effect of monotone transformations.} The left-hand panel > shows $20$ points $(x_i,y_i)$ sampled at random from a bivariate > standard normal > distribution. The points on the right-hand panel are given by the > monotone transformation > $(x_i,y_i) \mapsto (\exp(x_i), \exp(2 y_i))$.} > {\startcombination[2*1] > {\externalfigure[sml1a-id-sca][width=0.4\textwidth]}{} > {\externalfigure[sml1a-tr-sca][width=0.4\textwidth]}{} > \stopcombination} > > Any suggestions on how to set up figure titles at the top of the figure and > caption text at the bottom of the figure? > > Thank you very much for any suggestions, \setupcaption[figure][location=top] \starttext \placefigure {Example figure} {\placelegend {\blackrule[width=4cm,height=4cm]} {further explanations to the figure}} \stoptext Regards, Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________