ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Fabrice <couvreur.fabrice@wanadoo.fr>
To: ntg-context@ntg.nl
Subject: Re: Text and figure side by side
Date: Fri, 25 Apr 2014 15:47:16 +0200	[thread overview]
Message-ID: <535A6764.70207@wanadoo.fr> (raw)
In-Reply-To: <CACyK-eqDOHYUajz=YPvweK85bju0afO0CL_Ssgh3mM-mVhRiJQ@mail.gmail.com>

May be a solution, but why all the text is not in the left column and 
the single figure in the right column?

> \setuppapersize[A4]
> \setuplayout[
>         backspace=15mm,
>         width=middle,
>         topspace=15mm,
>         height=middle,
>         header=0pt,
>         footer=0pt,
>             ]
> \mainlanguage[fr]
>
> \usemodule[tikz]
> \usetikzlibrary[calc]
> \starttext
> \blank[small]
> \leftaligned{\bf Partie A}
> \blank[small]
> \startitemize[n][stopper=),style=bold]
> \item \input knuth
> \item \input knuth
> \stopitemize
> \startcolumns
> \blank[small]
> \leftaligned{\bf Partie B}
> \blank[small]
> \startitemize[n][stopper=),style=bold]
> \item
> \item
> \item
> \startitemize[a][stopper=),style=bold]
> \item \input knuth
> \item
> \stopitemize
> \stopitemize
> \column
> \starttikzpicture[level 1/.style={level distance=30mm,sibling 
> distance=40mm},level 2/.style={level distance=25mm,sibling 
> distance=25mm},grow=right]
> \node{}
> child{node[blue]{$B$}
> child{node[blue]{$B$}
> edge from parent
> node[below=0.2cm]{$0,75$}}
> child{node[red]{$R$}
> edge from parent
> node[above=0.2cm]{$0,25$}}
> edge from parent
> node[below=0.2cm]{$0,75$}}
> child{node[red]{$R$}
> child{node[blue]{$B$}
> edge from parent
> node[below=0.2cm]{$0,75$}}
> child{node[red]{$R$}
> edge from parent
> node[above=0.2cm]{$0,25$}}
> edge from parent
> node[above=0.2cm]{$0,25$}};
> \stoptikzpicture
> \stopcolumns
> \stoptext

___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


      reply	other threads:[~2014-04-25 13:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24 14:20 Fabrice Couvreur
2014-04-25 13:47 ` Fabrice [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=535A6764.70207@wanadoo.fr \
    --to=couvreur.fabrice@wanadoo.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).