Yes, I can now set the properties using the menu. The entire tit
contains only one column and two rows, one for the title and another for the page numbers. I set cell-valign
of the top row to ‘c’
However, the result is not what I want:
The text is not centered and I got an extra white space above. Maybe I need check the structure more carefully. The code in the preamble is
<assign|title-vpadding|0spc>
<assign|title-right|<image|logo.png||25pt||>>
<assign|tit|<\macro|body>
<\no-margins>
<\surround|<assign|page-this-top|0mm>|<assign|gpag-length|<macro|<minus|1pag|<plus|<times|2|<value|title-vpadding>>|<times|<value|title-font-size>|1.5fn>|0.8fn|<value|par-par-sep>>>>>>
<with|font-family|ss|par-par-sep|0fn|color|<value|title-shadow-color>|font-size|<if|<value|title-old-style>|1|<value|title-font-size>>|<resize|<tabular*|<tformat|<twith|table-width|1par>|<twith|table-hmode|exact>|<cwith|1|1|1|-1|cell-tsep|<value|title-vpadding>>|<cwith|1|1|1|-1|cell-bsep|<value|title-vpadding>>|<cwith|1|1|1|-1|cell-background|<title-bar-color>>|<cwith|1|1|1|1|cell-halign|l>|<cwith|1|1|1|1|cell-hyphen|t>|<cwith|2|2|1|1|cell-vcorrect|n>|<cwith|2|2|1|1|cell-halign|l>|<twith|table-valign|T>||<cwith|1|1|1|1|cell-bborder|<value|title-border>>|<cwith|2|2|1|1|cell-hyphen|t>|<cwith|2|2|1|1|cell-lsep|0spc>|<cwith|2|2|1|1|cell-rsep|0spc>|<cwith|2|2|1|1|cell-bsep|0spc>|<cwith|2|2|1|1|cell-tsep|0spc>|<cwith|1|1|1|1|cell-valign|c>|<table|<row|<\cell>
<with-tit-color| <arg|body><htab|5mm><title-right|<arg|body>>>
</cell>>|<row|<\cell>
<title-sub-bar-frame| <title-sub-bar-contents|<arg|body>>>
</cell>>>>>||<plus|1b|0.2fn>||>>
</surround>
</no-margins>
</macro>>
and this is the logo.png