Re: [NTG-context] vertical alignment in the header text
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 ___
Re: [NTG-context] vertical alignment in the header text
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 ___
[NTG-context] vertical alignment in the header text
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 ___