ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: query re placing a float
Date: Thu, 6 Apr 2017 14:27:55 -0400	[thread overview]
Message-ID: <CAFMOkGXYJb9yZK2rX-JedRureCNbK7pYUO5U=CTzw9dOGyJ4iQ@mail.gmail.com> (raw)


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

I have a paragraph of text and I would like to place a float to the left so
that there a some lines above the float, some beside, and some below. Is
there a way to do this?

What I have so far breaks the paragraph in two: one before the float and
one beside it (with a few lines below). If I invoke the float before the
paragraph, there are no lines above the float.

\starttext
Quisque facilisis erat a dui. Nam malesuada ornare dolor. Cras gravida,
diam sit amet rhoncus ornare, erat elit consectetuer erat, id egestas pede
nibh eget odio. Proin tincidunt, velit vel porta elementum, magna diam
molestie sapien, non aliquet massa pede eu diam. Aliquam iaculis. Fusce et
ipsum et nulla tristique facilisis. Donec eget sem sit amet ligula viverra
gravida.%
\startplacefigure[title={A cow},
location={here,left},
align=middle,
number=yes]
{\externalfigure[cow.pdf][width=.45\textwidth]}
\stopplacefigure
Fusce ultrices, neque id dignissim ultrices, tellus mauris dictum elit, vel
lacinia enim metus eu nunc. Quisque facilisis erat a dui. Nam malesuada
ornare dolor. Cras gravida, diam sit amet rhoncus ornare, erat elit
consectetuer erat, id egestas pede nibh eget odio. Proin tincidunt, velit
vel porta elementum, magna diam molestie sapien, non aliquet massa pede eu
diam. Aliquam iaculis. Fusce et ipsum et nulla tristique facilisis. Donec
eget sem sit amet ligula viverra gravida. Etiam vehicula urna vel turpis.
Suspendisse sagittis ante a urna. Morbi a est quis orci consequat rutrum.
Nullam egestas feugiat felis. Integer adipiscing semper ligula. Nunc
molestie, nisl sit amet cursus convallis, sapien lectus pretium metus,
vitae pretium enim wisi id lectus. Donec vestibulum. Etiam vel nibh. Nulla
facilisi. Mauris pharetra. Donec augue. Fusce ultrices, neque id dignissim
ultrices, tellus mauris dictum elit, vel lacinia enim metus eu nunc.

\stoptext

Alan

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

[-- Attachment #2: Type: text/plain, Size: 492 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2017-04-06 18:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-06 18:27 Alan Bowen [this message]
2017-04-06 19:13 ` Alan Bowen

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='CAFMOkGXYJb9yZK2rX-JedRureCNbK7pYUO5U=CTzw9dOGyJ4iQ@mail.gmail.com' \
    --to=bowenalan03@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).