Re: [NTG-context] Setting header texts (second)
Jilani Khaldi wrote: > Hi All, > > Having set this header text: > > \setupheadertexts > [\vbox{\hbox{AAA}} > \hbox{BBB}}}] > [{CCC}] > > the result is: > AAA in the top left corner, > BBB just under AAA > CCC in the top right corner > with the page number in the center > > What I want to have is: > 1. AAA = the title of the chapter > 2. BBB = the title of the section > 3. CCC in the top right corner but containing the page number You already got the answer to this one I guess, just to sum it up: \setupheadertexts [{\framed[align=flushleft,frame=off,offset=0pt]{\getmarking[chapter]\crlf\getmarking[section]}}] [pagenumber] % or empty % and one of the two commands: %- % this one overwrites the second argument above %\setuppagenumbering[location={header,right}] % this one only removes page number from the center %\setuppagenumbering[location=] > 4. Just below all this a long line to separate the page header from its > content \setupbackgrounds[header][text][frame=off,bottomframe=on] (You probably have to adjust some parameters in \setuplayout: header height and distance between header and text.) Mojca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Setting header texts (second)
Hi All, Having set this header text: \setupheadertexts [\vbox{\hbox{AAA}} \hbox{BBB}}}] [{CCC}] the result is: AAA in the top left corner, BBB just under AAA CCC in the top right corner with the page number in the center What I want to have is: 1. AAA = the title of the chapter 2. BBB = the title of the section \getmarking{chapter} etc 3. CCC in the top right corner but containing the page number \pagenumber 4. Just below all this a long line to separate the page header from its content I tried to apply the tips but now I have the page number on both the center and the right, without having the name of the chapter and the section in the left. Could you please be more precise. Where can I find info about "\getmarking"? Thanks. jk -- // Jilani KHALDI http://www.archsf.org ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Setting header texts (second)
Jilani Khaldi wrote: Hi All, Having set this header text: \setupheadertexts [\vbox{\hbox{AAA}} \hbox{BBB}}}] [{CCC}] the result is: AAA in the top left corner, BBB just under AAA CCC in the top right corner with the page number in the center What I want to have is: 1. AAA = the title of the chapter 2. BBB = the title of the section \getmarking{chapter} etc 3. CCC in the top right corner but containing the page number \pagenumber 4. Just below all this a long line to separate the page header from its content Thanks. jk -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context