Skip to Content.
Sympa Menu

texmacs-users - Re: Re: Re: Re: Re: Re: Re: Re: Underlined headers

Subject: mailing-list for TeXmacs Users

List archive

Re: Re: Re: Re: Re: Re: Re: Re: Underlined headers


Chronological Thread 
  • From: address@hidden
  • To: address@hidden
  • Subject: Re: Re: Re: Re: Re: Re: Re: Re: Underlined headers
  • Date: Fri, 16 May 2008 17:43:26 +0200 (CEST)

Alvaro,

It seems like you forgot the first part with the <assign|odd-page-text|...

This is a simplified version, notice the <surround|<no-indent>||... which is
needed to disable indentation in the header:

<assign|odd-page-text|<macro|s|<assign|page-odd-header|<surround|<no-indent>||<datoms|<macro|x|<block|<tformat|<table|<row|<cell|<arg|x>>>>>>>|<arg|s><htab|5mm><quote|<page-the-page>>>>>>>

A More complete version, which takes care of the padding, table width, cell
borders, and also makes the underline in different color:

<assign|odd-page-text|<macro|s|<assign|page-odd-header|<surround|<no-indent>||<datoms|<macro|x|<with|color|blue|<block|<tformat|<cwith|1|1|1|1|cell-lsep|0mm>|<cwith|1|1|1|1|cell-rsep|0mm>|<cwith|1|1|1|1|cell-bsep|0mm>|<cwith|1|1|1|1|cell-tsep|0mm>|<twith|table-lborder|0mm>|<twith|table-rborder|0mm>|<cwith|1|1|1|1|cell-tborder|0mm>|<cwith|1|1|1|1|cell-lborder|0mm>|<cwith|1|1|1|1|cell-rborder|0mm>|<twith|table-width|1par>|<table|<row|<cell|<with|color|black|<arg|x>>>>>>>>>|<with|font-size|0.84|<with|font-shape|small-caps|<arg|s>><htab|5mm><quote|<page-the-page>>>>>>>>

Hope it helps,
Hadar
---
Hadar Raz
Technion
Haifa, Israel



Archive powered by MHonArc 2.6.19.

Top of Page