From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/51186 Path: news.gmane.org!not-for-mail From: Xan Newsgroups: gmane.comp.tex.context Subject: Re: startcombination alignment problem Date: Wed, 10 Jun 2009 18:59:41 +0200 Message-ID: <4A2FE67D.5020202@telefonica.net> References: <4A2FDEA8.9060901@telefonica.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; Format="flowed" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1244653256 22189 80.91.229.12 (10 Jun 2009 17:00:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Jun 2009 17:00:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 10 19:00:52 2009 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 1MERAR-0007lm-S0 for gctc-ntg-context-518@m.gmane.org; Wed, 10 Jun 2009 19:00:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DF8DF1FADF; Wed, 10 Jun 2009 19:00:50 +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 26677-02; Wed, 10 Jun 2009 19:00:08 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2329B1FA41; Wed, 10 Jun 2009 19:00:08 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9F7071FA41 for ; Wed, 10 Jun 2009 19:00:05 +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 15348-09 for ; Wed, 10 Jun 2009 18:59:48 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by ronja.ntg.nl (Postfix) with ESMTP id 2F6421FA2B for ; Wed, 10 Jun 2009 18:59:48 +0200 (CEST) Original-Received: from ctsmtpout2.frontal.correo (outmailhost.telefonica.net [213.4.149.242]) by filter3-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n5AA4ILE006001 for ; Wed, 10 Jun 2009 12:04:19 +0200 Original-Received: from [172.26.0.4] (83.58.163.247) by ctsmtpout2.frontal.correo (7.2.056.6) (authenticated as dxpublica) id 4A1E4E5F002D321B for ntg-context@ntg.nl; Wed, 10 Jun 2009 18:59:42 +0200 User-Agent: Thunderbird 2.0.0.21 (X11/20090318) In-Reply-To: <4A2FDEA8.9060901@telefonica.net> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.4.149.242; country=ES; region=29; city=Madrid; latitude=40.4000; longitude=-3.6833; http://maps.google.com/maps?q=40.4000,-3.6833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 240936439 - e48302f0f80e - 20090610 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:51186 Archived-At: Hey, I know now: Nested combinations: combination[1*2] combination[2*1] combination[1*1] (this is only a sketch) Thanks, Xan. En/na Xan ha escrit: > Hi, > > I want to put three graphics by this way: > > [graphic 1] [graphic 2] > [graphic 3] > > where graphic 3 is centered. > > I use combination, but graphic 3 puts me in left > [graphic 1] [graphic 2] > [graphic 3] > > How can I solve that? > Thanks in advance, > Xan. > > PS: Please, CCme. I put the code: > > \placefigure > [here] > [figura-area] > {Camins sobre $w$} > {\startcombination[2*1] > { \starttikzpicture[scale=3D1] > % Els punts > \filldraw (0,-4) circle (2pt); > \filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo = > ({3*sin(\t r)},{4*cos(\t r)}); a t =3D 0.141 > \filldraw (-0.4216,3.9603) circle (2pt); % primer punt: avaluo = > ({3*sin(\t r)},{4*cos(\t r)}); a t =3D -0.141 > > % Les l=EDnies entre els punts > \draw (-0.4216,3.9603) -- (0.4216,3.9603); > \draw plot[domain=3D-3.141:-0.141,smooth,variable=3D\t] ({3*sin(\t = > r)},{4*cos(\t r)}); > \draw plot[domain=3D0.141:3.141,smooth,variable=3D\t] ({3*sin(\t = > r)},{4*cos(\t r)}); > \filldraw (0,-4) circle (2pt); % perqu=E8 me quedi el punt damunt. > > % Els combings > % Dibuixo: > % amb y la l=EDnia recta que uneix els dos punts, directament > % per x faig un funci=F3 del sinus (sin nx + ax =3D k) > \draw plot[domain=3D0:0.4216,smooth,variable=3D\t] ({-0.857727*\t -sin = > (7.31228*\t r) },{18.8812*\t -4 }); > \draw plot[domain=3D0:0.4216,smooth,variable=3D\t] ({+0.857727*\t +sin = > (7.31228*\t r) },{18.8812*\t -4 }); > > % el sentit d'omega > \draw[decorate,decoration=3D{markings,mark=3Dat position .9 with = > {\arrow[blue,line width=3D1mm]{<}}}] = > plot[domain=3D-3.141:3.141,smooth,variable=3D\t] ({3*sin(\t r)},{4*cos(\t = > r)}); > > % Els punts de les cel=B7les > % Calcul els combings per a y=3D 0 i y=3D1 > \filldraw (-1.181475, 0) circle (2pt); > \filldraw (1.181475, 0) circle (2pt); > %\filldraw (1.161048, 1) circle (2pt); > %\filldraw (-1.161048, 1) circle (2pt); > > % Els noms > \draw (0, -4.3) node {$1 \in G$}; > \draw (2.5, -3) node {$w$}; > \draw (-1.8, -0.3) node {$\sigma_{i+1}(j)$}; > \draw (1.65, -0.3) node {$\sigma_i(j)$}; > > % Els noms dels camins > %\draw (1, 0.3) node {$a$}; > %\draw (3, 0.3) node {$b$}; > %\draw (3.7, 1) node {$c$}; > %\draw (3, 1.7) node {$d$}; > %\draw (1, 1.7) node {$e$}; > %\draw (0.3, 1) node {$f$}; > %\draw (2.3, 1) node {$g$}; > > % PROVES > %\draw[out=3D45,in=3D-45] (0,0) to (0.5,8); > %\draw[color=3Dblue,->] (0,0) .. controls (0.1,2) .. (0.2,3) .. controls = > (0.3,4) and (0.4,6) .. (0.5,8); > %\draw (0,0) arc (-90:90:3 and 4); > %\draw (0,0) arc (270:90:3 and 4); > %\draw[color=3Dgreen] plot[domain=3D-3.141:3.141,smooth,variable=3D\t] = > ({4*sin(\t + (.1 * rand) r)},{4*cos(\t r)}); > %\draw (0,0) arc (-90:81.82:2 and 4); > %\draw[decorate,decoration=3D{random steps,segment length=3D2mm, = > amplitude=3D2pt}] (0,0) arc (-90:97.18:3.5 and 4); > % \draw[very thin,color=3Dgray] (-5.1,-5.1) grid [step=3D1] (5.9,5.9); > % \draw[->] (-5.2,0) -- (6.2,0) node[right] {$x$}; > % \draw[->] (0,-5.2) -- (0,5.2) node[above] {$y$}; > % r =3D \frac{-1}{3} x + 3 > %\filldraw (3,2) circle (2pt); > %\filldraw (-3,4) circle (2pt); > %\draw (-6,5) -- (6,1); > %\draw (1, 3.5) node {$r$}; > \stoptikzpicture} {Les seccions de $\pi(w(i))$.} > { \starttikzpicture[scale=3D1] > % Els punts > \filldraw (0,-4) circle (2pt); > \filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo = > ({3*sin(\t r)},{4*cos(\t r)}); a t =3D 0.141 > \filldraw (-0.4216,3.9603) circle (2pt); % primer punt: avaluo = > ({3*sin(\t r)},{4*cos(\t r)}); a t =3D -0.141 > > % Les l=EDnies entre els punts > \draw (-0.4216,3.9603) -- (0.4216,3.9603); > \draw plot[domain=3D-3.141:-0.141,smooth,variable=3D\t] ({3*sin(\t = > r)},{4*cos(\t r)}); > \draw plot[domain=3D0.141:3.141,smooth,variable=3D\t] ({3*sin(\t = > r)},{4*cos(\t r)}); > \filldraw (0,-4) circle (2pt); % perqu=E8 me quedi el punt damunt. > > % Els combings > % Dibuixo: > % amb y la l=EDnia recta que uneix els dos punts, directament > % per x faig un funci=F3 del sinus (sin nx + ax =3D k) > \draw plot[domain=3D0:0.4216,smooth,variable=3D\t] ({-0.857727*\t -sin = > (7.31228*\t r) },{18.8812*\t -4 }); > \draw plot[domain=3D0:0.4216,smooth,variable=3D\t] ({+0.857727*\t +sin = > (7.31228*\t r) },{18.8812*\t -4 }); > > % el sentit d'omega > \draw[decorate,decoration=3D{markings,mark=3Dat position .9 with = > {\arrow[blue,line width=3D1mm]{<}}}] = > plot[domain=3D-3.141:3.141,smooth,variable=3D\t] ({3*sin(\t r)},{4*cos(\t = > r)}); > > % Els punts de les cel=B7les > % Calcul els combings per a y=3D 0 i y=3D1 > \filldraw (-1.181475, 0) circle (2pt); > \filldraw (1.181475, 0) circle (2pt); > %\filldraw (1.161048, 1) circle (2pt); > %\filldraw (-1.161048, 1) circle (2pt); > > % Els noms > \draw (0, -4.3) node {$1 \in G$}; > \draw (2.5, -3) node {$w$}; > \draw (-1.8, -0.3) node {$\sigma_{i+1}(j)$}; > \draw (1.65, -0.3) node {$\sigma_i(j)$}; > > % Els noms dels camins > %\draw (1, 0.3) node {$a$}; > %\draw (3, 0.3) node {$b$}; > %\draw (3.7, 1) node {$c$}; > %\draw (3, 1.7) node {$d$}; > %\draw (1, 1.7) node {$e$}; > %\draw (0.3, 1) node {$f$}; > %\draw (2.3, 1) node {$g$}; > \stoptikzpicture} {El cam=ED $\theta_{i,j}$.} > \stopcombination > > \startcombination[1*1] > { \starttikzpicture[scale=3D1] > % Els punts > \filldraw (0,-4) circle (2pt); > \filldraw (0.4216,3.9603) circle (2pt); % primer punt: avaluo = > ({3*sin(\t r)},{4*cos(\t r)}); a t =3D 0.141 > \filldraw (-0.4216,3.9603) circle (2pt); % primer punt: avaluo = > ({3*sin(\t r)},{4*cos(\t r)}); a t =3D -0.141 > > % Les l=EDnies entre els punts > \draw (-0.4216,3.9603) -- (0.4216,3.9603); > \draw plot[domain=3D-3.141:-0.141,smooth,variable=3D\t] ({3*sin(\t = > r)},{4*cos(\t r)}); > \draw plot[domain=3D0.141:3.141,smooth,variable=3D\t] ({3*sin(\t = > r)},{4*cos(\t r)}); > \filldraw (0,-4) circle (2pt); % perqu=E8 me quedi el punt damunt. > > % Els combings > % Dibuixo: > % amb y la l=EDnia recta que uneix els dos punts, directament > % per x faig un funci=F3 del sinus (sin nx + ax =3D k) > \draw plot[domain=3D0:0.4216,smooth,variable=3D\t] ({-0.857727*\t -sin = > (7.31228*\t r) },{18.8812*\t -4 }); > \draw plot[domain=3D0:0.4216,smooth,variable=3D\t] ({+0.857727*\t +sin = > (7.31228*\t r) },{18.8812*\t -4 }); > > % el sentit d'omega > \draw[decorate,decoration=3D{markings,mark=3Dat position .9 with = > {\arrow[blue,line width=3D1mm]{<}}}] = > plot[domain=3D-3.141:3.141,smooth,variable=3D\t] ({3*sin(\t r)},{4*cos(\t = > r)}); > % el sentit de \tau_i > \draw[decorate,decoration=3D{markings,mark=3Dat position .4 with = > {\arrow[green,line width=3D1mm]{<}}}] = > plot[domain=3D0:0.4216,smooth,variable=3D\t] ({-0.857727*\t -sin = > (7.31228*\t r) },{18.8812*\t -4 }); > \draw[decorate,decoration=3D{markings,mark=3Dat position .6 with = > {\arrow[green,line width=3D1mm]{>}}}] = > plot[domain=3D0:0.4216,smooth,variable=3D\t] ({+0.857727*\t +sin = > (7.31228*\t r) },{18.8812*\t -4 }); > > % Els punts de les cel=B7les > % Calcul els combings per a y=3D 0 i y=3D1 > %\filldraw (-1.181475, 0) circle (2pt); > %\filldraw (1.181475, 0) circle (2pt); > %\filldraw (1.161048, 1) circle (2pt); > %\filldraw (-1.161048, 1) circle (2pt); > %\filldraw [top color=3Dyellow] plot[domain=3D0:0.4216,smooth,variable=3D= \t] = > ({+0.857727*\t +sin (7.31228*\t r) },{18.8812*\t -4 }); > > % Els noms > \draw (0, -4.3) node {$1 \in G$}; > \draw (2.5, -3) node {$w$}; > \draw (1.5,0) node {$\tau_i$}; > \draw (-0.8,4.5) node {$\sigma_{i+1}(\frac{\lvert w \rvert}{2})$}; > \draw (0.8,4.5) node {$\sigma_i(\frac{\lvert w \rvert}{2})$}; > %\draw (-1.8, -0.3) node {$\sigma_{i+1}(j)$}; > %\draw (1.65, -0.3) node {$\sigma_i(j)$}; > > % Els noms dels camins > %\draw (1, 0.3) node {$a$}; > %\draw (3, 0.3) node {$b$}; > %\draw (3.7, 1) node {$c$}; > %\draw (3, 1.7) node {$d$}; > %\draw (1, 1.7) node {$e$}; > %\draw (0.3, 1) node {$f$}; > %\draw (2.3, 1) node {$g$}; > \stoptikzpicture} {El cam=ED $\tau_i$} > > \stopcombination > > > } > > ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________