mailing-list for TeXmacs Users

Text archives Help


Re: Re: Underlined headers


Chronological Thread 
  • From: address@hidden
  • To: address@hidden
  • Subject: Re: Re: Underlined headers
  • Date: Thu, 15 May 2008 17:19:42 +0200 (CEST)

Henry wrote:

>>Hi all,
>>
>>I'm trying to change the default book-header and add an underline. for
>>example, the code for the odd page header is:
>>
>><assign|odd-page-text|<macro|s|<assign|page-odd-header|<with|font-size|0.84|
>><with|color|blue|<wide-std-underlined|<with|color|black|
>><with|font-shape|small-caps|<arg|s>><htab|5mm><quote|<page-the-page>>>>>>>>>
>>
>>Problem is, no underline is visible.... (here it's supposed to be blue, but
>>even with simple black color it doesn't work)
>>
>>Any suggestions??
>>
>>
>>
>Similar problems happen inside tables and various
>other kinds of items containing texts.
>
>A solution which works is to turn the hyphenation
>on for a cell inside the table. Then, underlines
>become visible for the text inside this cell.
>
>Conclusion: embedding your underlined text inside
>a 1x1 table with hyphenation enabled should solve
>your problem (although it remains to be tested).

OK, I tested it with the code below, but it still doesn't work...

<assign|odd-page-text|<macro|s|<assign|page-odd-header|
<tabular|<tformat|
<cwith|1|1|1|1|cell-hyphen|b>|
<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>|
<table|<row|<\cell>
<with|font-size|0.84|<with|color|blue|<wide-std-underlined|<with|color|black|
<with|font-shape|small-caps|<arg|s>><htab|5mm><quote|<page-the-page>>>>>>
</cell>>>>>>>>

Another solution??

Cheers,
Hadar



Archive powered by MHonArc 2.6.19.

Top of page