ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	Yatskovsky <yatskovsky@gmail.com>
Subject: Re: Dummy question about \externalfigure
Date: Sat, 28 Apr 2007 20:46:10 +0200	[thread overview]
Message-ID: <20070428204610.17046169.schuster.wolfgang@googlemail.com> (raw)
In-Reply-To: <8810009078.20070428145519@gmail.com>

On Sat, 28 Apr 2007 14:55:19 +0300
Vyatcheslav Yatskovsky <yatskovsky@gmail.com> wrote:

> Hello,
> 
> Sorry for dummy question, but why there is always no blank line BEFORE, but  there exists a blank line AFTER the \externalfigure?
> Even leaving a blank paragraph before and omitting it after the figure doesn't change anything. :( 
> 
> What is I want the opposite -- a blank line before and tight spacing after?
> 
> Best,
> Vyatcheslav

Hi Vyatcheslav,

there is currently no option AFAIK to control the space before a figure
but you can define your own command to include your figures. A simple
one is:

\def\myfigure
  {\blank
   \dodoubleempty\externalfigure}

and you it in the following way:

\myfigure[test-1]

\myfigure[test-2][width=3cm]

The blank line is more a problem with the low level beviour of TeX as
seen in my next example.

\showgrid

\starttext

text

\ruledvbox to 2cm{\hsize8cm Text}

text

\stoptext

It has something to do with the lineheight of text.

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


      reply	other threads:[~2007-04-28 18:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1177754405.3087.ntg-context@ntg.nl>
2007-04-28 11:50 ` Boxed text on the same line as a figure Vyatcheslav Yatskovsky
2007-04-28 12:42   ` Thomas A. Schmitz
2007-04-28 11:55 ` Dummy question about \externalfigure Vyatcheslav Yatskovsky
2007-04-28 18:46   ` 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=20070428204610.17046169.schuster.wolfgang@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    --cc=yatskovsky@gmail.com \
    /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).