From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16853 Path: main.gmane.org!not-for-mail From: "Patrick Gundlach" Newsgroups: gmane.comp.tex.context Subject: Re: side-by-side Date: 31 Oct 2004 13:16:17 +0100 Organization: chaos Message-ID: References: <3.0.5.32.20041030122513.008d8bc0@mail.northcoast.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099225190 23894 80.91.229.6 (31 Oct 2004 12:19:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 12:19:50 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Oct 31 13:19:38 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1COEgL-0003d5-00 for ; Sun, 31 Oct 2004 13:19:37 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2D3401278A; Sun, 31 Oct 2004 13:19:37 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02482-02; Sun, 31 Oct 2004 13:19:37 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2326512796; Sun, 31 Oct 2004 13:16:12 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BA38212796 for ; Sun, 31 Oct 2004 13:16:10 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02357-02 for ; Sun, 31 Oct 2004 13:16:10 +0100 (CET) Original-Received: from lilly.ping.de (unknown [83.97.42.2]) by ronja.ntg.nl (Postfix) with SMTP id 0D3971278A for ; Sun, 31 Oct 2004 13:16:09 +0100 (CET) Original-Received: (qmail 5709 invoked from network); 31 Oct 2004 12:16:09 -0000 Original-Received: (ofmipd 83.97.40.212); 31 Oct 2004 12:15:47 -0000 Original-To: ntg-context@ntg.nl X-Lieblings-Musik: the_capricorns In-Reply-To: <3.0.5.32.20041030122513.008d8bc0@mail.northcoast.com> (David Arnold's message of "Sat, 30 Oct 2004 12:25:13 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (darwin) X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16853 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16853 Hi David, [...] > I'd like to arrange this on my slide side-by-side, the code to the left, > the image to the right. If I we're doing this in Latex, I would probably > use minipage environments for this. > Can someone hint at the Context Way of doing this? I'd like my code > vertically centered on the left, the image on the right. Is this what you want? \starttext \startbuffer >> x=linspace(-2,4); >> y=x.^2-2*x-3; >> plot(x,y) >> xlabel('x') >> ylabel('y') >> title('y = x^2 -2x -3') >> grid on \stopbuffer \placesidebyside{% \framed[align={lohi,right},frame=off]% {\typebuffer}} {\externalfigure [cow] [width=.5\textwidth]} \stoptext Patrick -- ConTeXt wiki: http://contextgarden.net