ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Henri Menke <henrimenke@gmail.com>
Subject: Re: Sidefloats inside framed
Date: Sun, 15 Sep 2019 10:10:54 +0200	[thread overview]
Message-ID: <9e0513e9-becf-589e-8b23-9e323a29993d@gmail.com> (raw)
In-Reply-To: <676bbecb-cd0a-c8d6-851b-1ead5815f572@gmail.com>

Henri Menke schrieb am 15.09.2019 um 05:05:
> Dear list,
>
> Is there a way to get sidefloats working inside a frame?  I'm currently
> designing a conference poster and I'm manually placing blocks using
> \setlayerframed where inside those blocks I'd like to have sidefloats.  MWE is
> below.
>
> Cheers, Henri
>
> ---
>
> \starttext
>
> \startplacefigure[location={none,right}]
>    \externalfigure[cow][width=.5\hsize]
> \stopplacefigure
> \samplefile{lorem}
>
> \startframed
>    [height=20\lineheight,
>     width=\hsize,
>     offset=0pt,
>     align=width]
>    \startplacefigure[location={none,right}]
>      \externalfigure[cow][width=.5\hsize]
>    \stopplacefigure
>    \samplefile{lorem}
> \stopframed
>
> \stoptext
\starttext

\startframed[align={width,tolerant},width=max,lines=20,offset=0pt]
     \starthanging{\externalfigure[dummy][width=.5\hsize]}
         \samplefile{lorem}
     \stophanging
\stopframed

\stoptext

Wolfgang

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      parent reply	other threads:[~2019-09-15  8:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-15  3:05 Henri Menke
2019-09-15  3:17 ` Aditya Mahajan
2019-09-15  8:10 ` Wolfgang Schuster [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=9e0513e9-becf-589e-8b23-9e323a29993d@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=henrimenke@gmail.com \
    --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).