Am 26.12.2009 um 22:41 schrieb Oliver Buerschaper:
>>> slowly getting to grips with layer etc. However, some vertical space at the
>>> top of my framed layer appears whenever the first element is a heading:
>>
>> you can find in the details manual better ways to set heading texts with a
>> layer
>
> Well, actually I don't want to get a fancy heading using layers but rather
> I'd like to use layers like DTP text frames and fill them with (unnumbered)
> headings, paragraphs, formulas etc. Just like small pages I can position on
> the parent page arbitrarily.
>
> The issue arises whenever a heading (say \subject) happens to be the first
> piece of material I put into a layer. Any ideas to get rid of the leading
> vertical space?
>
> Actually, instead of a true heading I'd probably be fine with another command
> that gives me consistent style, line space, alignment, leading and trailing
> vertical space etc. After all, I'm going to use this in a poster, so I won't
> need an entry in the TOC, nor any markers, anchors to the "heading" etc.
Why not just
\definedfont[TitleFont][Serif sa 3]
and
{\TitleFont
\startbuffer[test]
{\TitleFont Lorem ipsum dolor sit amet, consectetur, sadipisci\unknown\par}
\input zapf
\stopbuffer
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________