ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ConTeXt <ntg-context@ntg.nl>
Subject: Re: figures
Date: Tue, 04 Jul 2000 08:48:15 +0200	[thread overview]
Message-ID: <3.0.6.32.20000704084815.00ad1e20@pop.wxs.nl> (raw)
In-Reply-To: <3960E36D.1FE43F20@gmx.net>

At 09:03 PM 7/3/00 +0200, Hraban wrote:
>There's no end...

Well, lucky me then, that I still have some answers and options in store.

>I tried the construction from "ConTeXt -- an excursion"
>to place two pictures side by side:
>
>\placefigure[here][symbols]{none}
>\startcombination[2*1]
>{\externalfigure[sym1]}{Text about Symbol 1}
>{\externalfigure[sym2]}{Text about Symbol 2}
>\stopcombination
>
>The pictures are rather small round logos,
>and their descriprion must be wider than them.
>How can I give more horizontal space to them?

How about something: 

\startbuffer
\setupcombinations[width=4cm]
\startcombination
 ...
\stopcombination

\placefigure[here][..]{none}{\getbuffer}

>
>SECOND:
>
>I'd like to use a logo like a letter and defined:
>
>\useexternalfigure[logo1][logofile][height=1em]
>\define\textlogo{\hbox{\externalfigure[logo1]}}
>
>I'm happy that it's auto-scaling with the "em",
>but it hangs a bit above the base line of the
>text, but should be on it. How must I change
>my definition? 

Something like: 

\def\koe{\sbox{\externalfigure[koe][height=\lineheight]}}

test test \koe\ test test test test \koe\ test test test
test \koe\ test test test test \koe\ test test test test
\koe\ test test test test \koe\ test test test test \koe\
test test

[so, \sbox does the trick, alternative: 

\hbox{\lower.2ex\hbox{your fig}}
-------------------------------------------------------------------------
                                                  Hans Hagen | PRAGMA ADE
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------


  reply	other threads:[~2000-07-04  6:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-03 19:03 figures Hraban
2000-07-04  6:48 ` Hans Hagen [this message]
2000-07-05 17:20   ` figures Hraban
2000-07-05 16:15     ` figures Hans Hagen
2012-06-14  7:56 figures Hans Hagen
2012-06-14  8:07 ` figures Steffen Wolfrum

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=3.0.6.32.20000704084815.00ad1e20@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --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).