ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Figure not placed at margin
@ 2010-02-03 17:56 Tom
  2010-02-03 18:49 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Tom @ 2010-02-03 17:56 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-03 18:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-03 17:56 Figure not placed at margin Tom
2010-02-03 18:49 ` Hans Hagen

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).