[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference vaxuum::document_ft

Title:DOCUMENT T1.0
Notice:**New notesfile (DOCUMENT.NOTE) now available (see note 897)**
Moderator:CLOSET::ADLER
Created:Mon Feb 09 1987
Last Modified:Thu Oct 31 1991
Last Successful Update:Fri Jun 06 1997
Number of topics:897
Total number of notes:4397

70.0. "Autowrap of headings in last column of table?" by COOKIE::JOHNSTON () Fri Mar 06 1987 15:48

I have a 9 column table that has the table_head "5 Year $K/TPS" in the 
9th column.  The heading must appear on two lines as:  

5 Year
$K/TPS


Unless I code this using several align_char, the output appears as:

5 Year $K
/TPS


Is there a way to control this in table_setup or somewhere else so that 
this wraps as should, or must I forever format with align_char?  

Here is a sample table with the align_char.  The one that follows it has 
no align_char.


<TABLE>(Simulation Results\sim_dbm_tbl)
<ALIGN_CHAR>(#)
<TABLE_ATTRIBUTES>(\wide\keep)
<TABLE_SETUP>(9\4\8\8\9\3\3\3\5)
<TABLE_HEADS>(<span>(4\left)Inputs\<span>(5\left)Outputs)
<TABLE_HEADS>(Year\Db System\DBSize: (TPS)\Host\Peak TPS
\Qual TPS\$K\Initial $K/TPS\5 Year###### $K/TPS)
<LINE>
<TABLE_ROW>(1882\Min Small Db\#16:##(75)\C.ROOTS\#65\#55\#804\15\11)
<ENDALIGN_CHAR>
<ENDTABLE>



<TABLE>(Simulation Results\sim_dbm_tbl)
<ALIGN_CHAR>(#)
<TABLE_ATTRIBUTES>(\wide\keep)
<TABLE_SETUP>(9\4\8\8\9\3\3\3\5)
<TABLE_HEADS>(<span>(4\left)Inputs\<span>(5\left)Outputs)
<TABLE_HEADS>(Year\Db System\DBSize: (TPS)\Host\Peak TPS
\Qual TPS\$K\Initial $K/TPS\5 Year $K/TPS)
<LINE>
<TABLE_ROW>(1882\Min Small Db\#16:##(75)\C.ROOTS\#65\#55\#804\15\11)
<ENDALIGN_CHAR>
<ENDTABLE>

I used the software.specificaton doctype.


Thanx

Rose
T.RTitleUserPersonal
Name
DateLines
70.1squish slashVAXUUM::SEGALFri Mar 06 1987 16:405
    It must be a tight fit; TeX is choosing the slash as a legal
    place to break and wrap the line. Did you try <KEEP>($K/TPS) or 
    5 Year<LINE> $K/TPS ?  
    
    Lee
70.2No, but I will...COOKIE::JOHNSTONFri Mar 06 1987 18:1111
Well, Lee...I do try to read the documentation, but I've never run across 
<keep> before.  I'll try that.

Would that we all had the time that we could do nothing but play with tags 
for several days.


Thanx

Rose

70.3Another <TABLE_HEADS>?BUNSUP::LITTLETodd LittleMon Mar 09 1987 12:3718
	Don't you just want to use another <TABLE_HEAD> tag as in the
following:

<TABLE>(Simulation Results\sim_dbm_tbl)
<ALIGN_CHAR>(#)
<TABLE_ATTRIBUTES>(\wide\keep)
<TABLE_SETUP>(9\4\8\8\9\3\3\3\5)
<TABLE_HEADS>(<span>(4\left)Inputs\<span>(5\left)Outputs)
<TABLE_HEADS>(Year\Db System\DBSize: (TPS)\Host\Peak TPS\Qual TPS
\$K\Initial $K/TPS\5 Year)
<TABLE_HEADS>(\\\\\\\\$K/TPS)
<LINE>
<TABLE_ROW>(1882\Min Small Db\#16:##(75)\C.ROOTS\#65\#55\#804\15\11)
<ENDALIGN_CHAR>
<ENDTABLE>


-tl
70.4Could use it, but didn't want to because...COOKIE::JOHNSTONMon Mar 09 1987 14:3113
re: .3


Using another <TABLE_HEADS> tag is another way to do it, but I consider 
that a hack (others may not).  I like to use a new tag to separate logical
units.  The information I wanted to wrap was a single logical unit and belonged
together. 

Thanx for your interest anyway!


Rose