* vertical alignment in the header text
@ 2012-06-14 10:31 Jeong Dalyoung
2012-06-14 10:52 ` Hans Hagen
0 siblings, 1 reply; 3+ messages in thread
From: Jeong Dalyoung @ 2012-06-14 10:31 UTC (permalink / raw)
To: ntg-context
Dear all,
In the following sample, header text located at the top of the header.
But, I'd like to align the header text in vertical center.
I tried \dontleavehmode, \vfill, top=\vss, etc, but I couldn't succeed.
%%%%%%%%
\setuplayout[header=1cm, width=18cm, backspace=1.5cm]
\setupbackgrounds[header][text][bottomframe=on,topframe=on]
\setupheadertexts[][header\hfill header\hfill header]
\setuppagenumbering[location=footer]
\starttext
\input knuth
\stoptext
%%%%%%%%
How to control the vertical alignment in the header?
Thank you.
Best regards,
Dalyoung
___________________________________________________________________________________
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] 3+ messages in thread
* Re: vertical alignment in the header text
2012-06-14 10:31 vertical alignment in the header text Jeong Dalyoung
@ 2012-06-14 10:52 ` Hans Hagen
2012-06-14 12:35 ` Jeong Dalyoung
0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2012-06-14 10:52 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Jeong Dalyoung
On 14-6-2012 12:31, Jeong Dalyoung wrote:
> \setuplayout[header=1cm, width=18cm, backspace=1.5cm]
> \setupbackgrounds[header][text][bottomframe=on,topframe=on]
> \setupheadertexts[][header\hfill header\hfill header]
> \setuppagenumbering[location=footer]
> \starttext
> \input knuth
> \stoptext
\setupheader[before=\vfil,after=\vfil]
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 3+ messages in thread
* Re: vertical alignment in the header text
2012-06-14 10:52 ` Hans Hagen
@ 2012-06-14 12:35 ` Jeong Dalyoung
0 siblings, 0 replies; 3+ messages in thread
From: Jeong Dalyoung @ 2012-06-14 12:35 UTC (permalink / raw)
To: Hans Hagen, ntg-context
Dear Hans,
Thank you for your solution.
I tried \dontleavehmode\vfill infront of the header text which invoked an error.
I didn't think about \setupheader.
Thank you again.
Best regards,
Dalyoung
2012. 6. 14., 오후 7:52, Hans Hagen 작성:
> On 14-6-2012 12:31, Jeong Dalyoung wrote:
>> \setuplayout[header=1cm, width=18cm, backspace=1.5cm]
>> \setupbackgrounds[header][text][bottomframe=on,topframe=on]
>> \setupheadertexts[][header\hfill header\hfill header]
>> \setuppagenumbering[location=footer]
>> \starttext
>> \input knuth
>> \stoptext
>
> \setupheader[before=\vfil,after=\vfil]
>
>
> --
>
> -----------------------------------------------------------------
> Hans Hagen | PRAGMA ADE
> Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
> tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
> | www.pragma-pod.nl
> -----------------------------------------------------------------
>
>
___________________________________________________________________________________
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] 3+ messages in thread
end of thread, other threads:[~2012-06-14 12:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-14 10:31 vertical alignment in the header text Jeong Dalyoung
2012-06-14 10:52 ` Hans Hagen
2012-06-14 12:35 ` Jeong Dalyoung
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).