From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/3123 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Date: Mon, 30 Oct 2000 10:00:21 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <3.0.6.32.20001030100021.013a45a0@pop.wxs.nl> References: <3.0.6.32.20001029235036.0197aa80@pop.wxs.nl> <3.0.5.32.20001029133529.00a79300@mail.northcoast.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: main.gmane.org 1035393880 14474 80.91.224.250 (23 Oct 2002 17:24:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:24:40 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: David Arnold In-Reply-To: <3.0.5.32.20001029161928.00a7e400@mail.northcoast.com> Xref: main.gmane.org gmane.comp.tex.context:3123 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:3123 At 04:19 PM 10/29/00 -0800, you wrote: >Hans, > >There is also, around page 13, depending on the edition that is posted at >my site, the output from the meshgrid command. This is set with: > >\starttyping > X = > > -2 -1 0 1 2 > -2 -1 0 1 2 > -2 -1 0 1 2 > -2 -1 0 1 2 > -2 -1 0 1 2 >\stoptyping > >\starttyping > Y = > > -2 -2 -2 -2 -2 > -1 -1 -1 -1 -1 > 0 0 0 0 0 > 1 1 1 1 1 > 2 2 2 2 2 >\stoptyping > >Now, there is actually a pedagogical reason to stack these on top of each >other like this, because this is exactly the way they appear on the >computer screen. But, I can see how one might like to typeset them >side-by-side. How could I do that? \starttext \startbuffer[x] X = -2 -1 0 1 2 -2 -1 0 1 2 -2 -1 0 1 2 -2 -1 0 1 2 -2 -1 0 1 2 \stopbuffer \startbuffer[y] Y = -2 -2 -2 -2 -2 -1 -1 -1 -1 -1 0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 \stopbuffer \input tufte \start \setuptyping[before=,after=] \hsize=.5\textwidth \startcombination {\vbox{\typebuffer[x]}} {a} {\vbox{\typebuffer[y]}} {b} \stopcombination \stop \input tufte \placesidebyside {\hsize=.5\textwidth \typebuffer[x]} {\hsize=.5\textwidth \typebuffer[y]} \input tufte \starttabulate[|l|pl|pl|] \NC an error: \NC \typebuffer[x] \NC \typebuffer[y] \NC \NR \stoptabulate \input tufte \startbuffer[x] \setuptyping[before=,after=] \hsize=.5\textwidth \starttyping X = -2 -1 0 1 2 -2 -1 0 1 2 -2 -1 0 1 2 -2 -1 0 1 2 -2 -1 0 1 2 \stoptyping \stopbuffer \startbuffer[y] \setuptyping[before=,after=] \hsize=.5\textwidth \starttyping Y = -2 -2 -2 -2 -2 -1 -1 -1 -1 -1 0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 \stoptyping \stopbuffer \startcombination {\vbox{\getbuffer[x]}} {a} {\vbox{\getbuffer[y]}} {b} \stopcombination \input tufte \placesidebyside {\getbuffer[x]} {\getbuffer[y]} \input tufte \startcolumns \getbuffer[x] \getbuffer[y] \stopcolumns \input tufte \stoptext ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------