ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Two line head
@ 2003-03-28 13:37 Nagy Bence
  2003-03-28 15:34 ` Patrick Gundlach
  0 siblings, 1 reply; 5+ messages in thread
From: Nagy Bence @ 2003-03-28 13:37 UTC (permalink / raw)


Hi all,

I want to make a twoline header in a framed box:

\setupheads[sectionnumber=no]
\define[1]\Sectioncommand{\framed[frame=off,bottomframe=on]{#1}}
\definehead[Section][section]
\setuphead[Section][textcommand=\Sectioncommand]

\Section{first line\crlf second line}

I want to get something of the kind

  first line
  second line
-------------

but my result is

  first linesecond line
-----------------------

The contents seems to be good, the two lines appear.

Greetings

Bence

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

* Re: Two line head
  2003-03-28 13:37 Two line head Nagy Bence
@ 2003-03-28 15:34 ` Patrick Gundlach
  2003-03-28 19:14   ` Willi Egger
  2003-03-29 10:33   ` Nagy Bence
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Gundlach @ 2003-03-28 15:34 UTC (permalink / raw)


Nagy Bence <gimb@freemail.hu> writes:

Hello Bence,

> \define[1]\Sectioncommand{\framed[frame=off,bottomframe=on]{#1}}
\define[1]\Sectioncommand{\framed[frame=off,bottomframe=on,align=lohi]{#1}}

(puts the material in a vbox) 


Patrick

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

* Re: Re: Two line head
  2003-03-28 15:34 ` Patrick Gundlach
@ 2003-03-28 19:14   ` Willi Egger
  2003-03-28 19:49     ` Patrick Gundlach
  2003-03-29 10:33   ` Nagy Bence
  1 sibling, 1 reply; 5+ messages in thread
From: Willi Egger @ 2003-03-28 19:14 UTC (permalink / raw)


> Nagy Bence <gimb@freemail.hu> writes:
>
> Hello Bence,
>
> > \define[1]\Sectioncommand{\framed[frame=off,bottomframe=on]{#1}}
>
\define[1]\Sectioncommand{\framed[frame=off,bottomframe=on,align=lohi]{#1}}
>
> (puts the material in a vbox)
>

Try \framedtext[...]{...}


Willi

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

* Re: Two line head
  2003-03-28 19:14   ` Willi Egger
@ 2003-03-28 19:49     ` Patrick Gundlach
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick Gundlach @ 2003-03-28 19:49 UTC (permalink / raw)


"Willi Egger" <w.egger@boede.nl> writes:

Hello Willi,

>> > \define[1]\Sectioncommand{\framed[frame=off,bottomframe=on]{#1}}
>>
> \define[1]\Sectioncommand{\framed[frame=off,bottomframe=on,align=lohi]{#1}}
>>
>> (puts the material in a vbox)
>>
>
> Try \framedtext[...]{...}

Uh, didn't think about that. I hardly ever use framedtext. It gives a
different layout, though. 


Patrick

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

* Re: Re: Two line head
  2003-03-28 15:34 ` Patrick Gundlach
  2003-03-28 19:14   ` Willi Egger
@ 2003-03-29 10:33   ` Nagy Bence
  1 sibling, 0 replies; 5+ messages in thread
From: Nagy Bence @ 2003-03-29 10:33 UTC (permalink / raw)


> \define[1]\Sectioncommand{\framed[frame=off,bottomframe=on,align=lohi]{#1}}
> 
> (puts the material in a vbox) 
Thanks, it works fine!

Greetings,

Bence Nagy

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

end of thread, other threads:[~2003-03-29 10:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-28 13:37 Two line head Nagy Bence
2003-03-28 15:34 ` Patrick Gundlach
2003-03-28 19:14   ` Willi Egger
2003-03-28 19:49     ` Patrick Gundlach
2003-03-29 10:33   ` Nagy Bence

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