groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Groff] vertical text in tbl


From: Heinz-Jürgen Oertel
Subject: [Groff] vertical text in tbl
Date: Tue, 26 Sep 2017 16:21:18 +0200
User-agent: KMail/5.3.2 (Linux/4.4.87-18.29-default; KDE/5.26.0; x86_64; ; )

Hello
I try to use vertical text in tbl headers , the first tbl line, to reduce the 
table width.

I searched, but found only that gpic can be used (http://www.troff.org/
faq.html), like this snipped 

.TS
tab(#);
L  | L 1| L 1| L 1| L 1| L 1| L 1| L 1| L 1| L L L L
n  | L 1| n 1| n 1| n 1| n 1| n 1| n 1| n 1| n n n n.
T{
.PS
textwid = 0.1 
textht = 0.1 
up
line invis "Lfnd. Nummer" aligned
.PE
T}#Gemeinde#T{
.PS
textht  = .2i
textwid = .2i
line invis up "Personen über" "10 Jahre" aligned
.PE
T}#T{
.PS
line up invis "Kinder unter" "10 Jahre" aligned
.PE
T}#T{
.PS
.PE
T}
_
1#Alakap#62#30#16#608#—#111#64#37#117#5#1450
   ....

As you can see at the attached Screenshot, there is to much space in the table 
columns in the pic generated entries. I did experiments with textht and 
textwid, without success.


I saw some examples rotating text with
\X'ps: exec -90 rotate ....  translate'
but I have no idea to use it for a single table cell.

Anyone any idea? Or better a solution for this common problem with tables?

Regards 
 Heinz

Attachment: table.png
Description: PNG image


reply via email to

[Prev in Thread] Current Thread [Next in Thread]