From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37544 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: typesetting a formula as a figure Date: Sun, 25 Nov 2007 09:45:04 +0100 Message-ID: <20071125094504.f7c143c9.schuster.wolfgang@googlemail.com> References: <9FEF9143-F69E-40D2-B339-192D2607D360@mac.com> 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 1195983436 16217 80.91.229.12 (25 Nov 2007 09:37:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2007 09:37:16 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 25 10:37:21 2007 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 1IwDvU-0006HG-GG for gctc-ntg-context-518@m.gmane.org; Sun, 25 Nov 2007 10:37:20 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F30461FDFB; Sun, 25 Nov 2007 10:36:53 +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 04286-03-5; Sun, 25 Nov 2007 10:36:13 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A02C81FE10; Sun, 25 Nov 2007 10:36:13 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 22B011FDD1 for ; Sun, 25 Nov 2007 10:35:59 +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 07122-05-16 for ; Sun, 25 Nov 2007 10:35:37 +0100 (CET) Original-Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by ronja.ntg.nl (Postfix) with ESMTP id 9B8EE1FDD6 for ; Sun, 25 Nov 2007 10:35:29 +0100 (CET) Original-Received: by mu-out-0910.google.com with SMTP id i2so484795mue for ; Sun, 25 Nov 2007 01:35:29 -0800 (PST) Original-Received: by 10.82.171.16 with SMTP id t16mr3713886bue.1195983329223; Sun, 25 Nov 2007 01:35:29 -0800 (PST) Original-Received: from rover ( [62.180.200.232]) by mx.google.com with ESMTPS id z34sm418654ikz.2007.11.25.01.35.26 (version=SSLv3 cipher=OTHER); Sun, 25 Nov 2007 01:35:28 -0800 (PST) In-Reply-To: <9FEF9143-F69E-40D2-B339-192D2607D360@mac.com> X-Mailer: Sylpheed 2.4.7 (GTK+ 2.10.14; i686-pc-mingw32) 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:37544 Archived-At: On Sat, 24 Nov 2007 14:56:30 +0900 Jeong Dalyoung wrote: > Dear Idris, > > I have used buffers and \plcadefigures to display formula and figure > together. Here is my short sample file. > > \startbuffer[one] > \startformula \startmatrix > \NC \NC e_1 \NC e_2 \NC e_3 \NC e_5 \NC e_5 \NR > \NC u \NC 0 \NC 1 \NC 1 \NC 0 \NC 1 \NR > \NC v \NC 1 \NC 0 \NC 1 \NC 0 \NC 0 \NR > \NC w \NC 1 \NC 1 \NC 0 \NC 1 \NC 0 \NR > \NC x \NC 0 \NC 0 \NC 1 \NC 0 \NC 1 \NR > \NC y \NC 1 \NC 0 \NC 0 \NC 1 \NC 0 \NR > \stopmatrix \stopformula > \stopbuffer > > \starttext > > \placefigure[here][fig:test]{Test of buffers} > {\startcombination[2*2] > {\externalfigure[7starmagic1][width=.25\makeupwidth]}{G} > {\externalfigure[one.tmp]}{AA} > {\externalfigure[one.tmp]}{BB} > {\externalfigure[one.tmp]}{CC} > \stopcombination} > > \stoptext > > Then, I got a strange output(fig 1: wide blank spaces between > columns). If I use \getbuffer instead of \externalfigure, I got > somewhat proper output(fig 2), but the figure is located much higher > than the matrix(horizontal alignment is bad). > > What is wrong in my sample? Is there any option for \startcombination? \placefigure[here][fig:test]{Test of buffers} {\startcombination[2*2] {\vcenter{\externalfigure[7starmagic1][width=.25\makeupwidth]}}{G} {\getbuffer[one]}{AA} {\getbuffer[one]}{BB} {\getbuffer[one]}{CC} \stopcombination} 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 ___________________________________________________________________________________