ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Christian Prim <christian.prim@gmx.ch>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \startfloattext ... \stopfloattext
Date: Mon, 9 Sep 2013 20:13:18 +0200	[thread overview]
Message-ID: <CA+9XOxqBD342ZQxYgKC52r1WzPiVnuEHRrO-Ui6u-bMm-ZH7nQ@mail.gmail.com> (raw)
In-Reply-To: <522DDB7E.20602@wxs.nl>


[-- Attachment #1.1: Type: text/plain, Size: 3414 bytes --]

Thanks, Hans

that was exactly what I needed.

Christian


2013/9/9 Hans Hagen <pragma@wxs.nl>

> On 9/9/2013 2:38 PM, Christian Prim wrote:
>
>> What is the context way to place text near a table (or another float) in
>> an enumeration-environment?
>>
>> I just want to have the text "just this...." right to the table. The
>> second item "2)" should be below the table.
>>
>> In the (not so) MWE all is fine, but the table is not indented.
>>
>> When I use \placetable the text is indented, but the second item is
>> placed near the table on the right. (I could insert a \blank[xycm] but I
>> don't think it's the way to solve my problem.)
>>
>> Thanks for all comments
>>
>> Christian
>>
>> \starttext
>> \startitemize[n,packed,**joinedup][stopper=)]
>> \item Abhängigkeit der Beschleunigung von der Wagenmasse $m$:
>> \blank
>> $M=$ \hl[5] \unit{kg}
>> \blank
>> \starttabletext[left,high,**none]{}{
>> %\placetable[left,high,none]{}**{
>> \starttable[|l|l|]
>> \HL
>> \VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR
>> \HL
>> \VL \qquad \VL \qquad \VL\AR
>> \VL \VL \VL\AR
>> \HL
>> \VL \VL \VL\AR
>> \VL \VL \VL\AR
>> \HL
>> \VL \VL \VL\AR
>> \VL \VL \VL\AR
>> \HL
>> \stoptable}
>> Just this text near the table!
>> \stoptabletext
>> \item second item ...
>> \stoptext
>>
>
> one of the solution is to use paired boxes:
>
> \starttext
>
> \definepairedbox
>   [mylegend]
>   [location={right,top}] % width=10cm
>
> \startitemize[n,packed,**joinedup][stopper=)]
>     \startitem
>         some introduction text \blank and some more \blank
>         \startplacemylegend
>             \startcontent
>                 \starttable[|l|l|]
>                     \HL \VL foo     \VL bar \VL \NR \HL
>
>                     \VL \VL \VL \AR \VL \VL \VL \AR \HL
>                     \VL \VL \VL \AR \VL \VL \VL \AR \HL
>                     \VL \VL \VL \AR \VL \VL \VL \AR \HL
>                 \stoptable
>             \stopcontent
>             \startcaption
>                 \input ward
>             \stopcaption
>         \stopplacemylegend
>     \stopitem
>     \startitem
>         and even more
>     \stopitem
> \stopitemize
>
> \stoptext
>
> I patched the beta a bit so that for a horizontal variant the hsize is
> calculated automatically.
>
> Hans
>
> ------------------------------**------------------------------**-----
>                                           Hans Hagen | PRAGMA ADE
>               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
>     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
>                                              | www.pragma-pod.nl
> ------------------------------**------------------------------**-----
> ______________________________**______________________________**
> _______________________
> 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 <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/<http://foundry.supelec.fr/projects/contextrev/>
> wiki     : http://contextgarden.net
> ______________________________**______________________________**
> _______________________
>

[-- Attachment #1.2: Type: text/html, Size: 4626 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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:[~2013-09-09 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-09 12:38 Christian Prim
2013-09-09 14:30 ` Hans Hagen
2013-09-09 18:13   ` Christian Prim [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=CA+9XOxqBD342ZQxYgKC52r1WzPiVnuEHRrO-Ui6u-bMm-ZH7nQ@mail.gmail.com \
    --to=christian.prim@gmx.ch \
    --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).