![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/ecffc5c1eb6692198d091ee98e921822.jpg?s=120&d=mm&r=g)
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 -----------------------------------------------------------------
participants (2)
-
Hans Hagen
-
Jeong Dalyoung