ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* hanging in captions
@ 2006-02-07 20:21 Peter Münster
  2006-02-08  8:21 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Münster @ 2006-02-07 20:21 UTC (permalink / raw)


Hello,
it seems, that hanging in captions does not work:

\starttext
\input tufte
\placefigure{\input tufte
}{\framed[width=\textwidth]{bla}}
\page
\usetypescript[serif,sans,mono,mm][hanging][normal]
\setupalign[hz,hanging]
\setupcaptions[align={hz,hanging}]
\definebodyfont[12pt][rm,ss,tt,mm][default]
\setupbodyfont[12pt]
\input tufte
\placefigure{\input tufte
}{\framed[width=\textwidth]{bla}}
\stoptext

Could someone help please?
Cheers, Peter

-- 
http://pmrb.free.fr/contact/

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

* Re: hanging in captions
  2006-02-07 20:21 hanging in captions Peter Münster
@ 2006-02-08  8:21 ` Taco Hoekwater
  2006-02-08 11:29   ` Adam Lindsay
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2006-02-08  8:21 UTC (permalink / raw)


Peter Münster wrote:
> \setupcaptions[align={hz,hanging}]

I don't believe that is supposed to work, but I do not
understand why the handling is reset inside the caption.

This works (but is unwieldy if you have lots of floats):

\placefigure%
   {\setupalign[hz,hanging]
    \input tufte }
   {\framed[width=\textwidth]{bla}}

Cheers, Taco

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

* Re: hanging in captions
  2006-02-08  8:21 ` Taco Hoekwater
@ 2006-02-08 11:29   ` Adam Lindsay
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Lindsay @ 2006-02-08 11:29 UTC (permalink / raw)


Taco Hoekwater wrote:
> Peter Münster wrote:
>> \setupcaptions[align={hz,hanging}]
> 
> I don't believe that is supposed to work, but I do not
> understand why the handling is reset inside the caption.
> 
> This works (but is unwieldy if you have lots of floats):
> 
> \placefigure%
>    {\setupalign[hz,hanging]
>     \input tufte }
>    {\framed[width=\textwidth]{bla}}

With the original poster's code, the 'hz' part is superfluous (with 
'normal' handling). Still, I spent a couple minutes with it last night, 
and it remained a mystery to me, too.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
  Lancaster University, InfoLab21        +44(0)1524/510.514
  Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2006-02-08 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-07 20:21 hanging in captions Peter Münster
2006-02-08  8:21 ` Taco Hoekwater
2006-02-08 11:29   ` Adam Lindsay

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