ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Tom" <Tom@tuxedo-press.com>
To: <ntg-context@ntg.nl>
Subject: Figure not placed at margin
Date: Wed, 3 Feb 2010 12:56:46 -0500	[thread overview]
Message-ID: <004301caa4fa$41164c00$c342e400$@com> (raw)

The following code fragment places the desired graphic at the beginning of
the chapter but indents it to the right a quarter or 3/8 of an inch. The
text (parameter #2, the chapter title) prints to the right of the figure but
sometimes extends into the right margin. Other times, it wraps down to
following lines as it should. The text begins right against the graphic (in
a blank space) as it should, but the whole thing, graphic and text, are
offset to the right rather than being aligned with the left margin. All
other figures in the document are where they are supposed to be. Any ideas?

\def\Myheader#1#2{
  \setupfloats[offset=none,margin=0 in]
  \startfiguretext
   [left]
   [fig:graphic]
   {none}
   {\externalfigure[graphic][frame=off]} 
     {\switchtobodyfont[26pt] {\ss\bf\sl #1}}
      \godown[.5in] 
     {\ss\bf #2}
   \stopfiguretext}

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey





___________________________________________________________________________________
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:[~2010-02-03 17:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-03 17:56 Tom [this message]
2010-02-03 18:49 ` Hans Hagen

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='004301caa4fa$41164c00$c342e400$@com' \
    --to=tom@tuxedo-press.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).