[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

77.0. "<rule>: doc req. and a possible bug" by ATLAST::BOUKNIGHT (Everything has an outline) Mon Mar 09 1987 11:41

    There don't seem to be any examples in the user documentation on
    the use of the <RULE> tag in a <TABLE_ROW>.  There is an example
    of the use of the tag in <TABLE_HEADS> tag.  Please add the missing
    example.  If fact, it would be nice to just show the use of <RULE>
    in all of its places as examples under the discussion on the <RULE>
    tag.
    
    Now, for the bug.  The following tag rusults in a rule anyway.
    
    <TABLE_UNITS_HEAD>(\<SPAN>(3\LEFT)This is sub-table text)
    
    where the table is 4 columns wide. Also, leaving out the prefixed
    "\" also gives a rule under the spanned text.  In both cases, the
    rule runs the full width of the table.
    
    According to the documentation, there should not be a rule in either
    case. Or did I read it wrong? Seems correct or there should not
    be a need for the RULE tag in this case.
    
    jack
T.RTitleUserPersonal
Name
DateLines
77.1Most doc. neededCLOSET::ANKLAMTue Mar 10 1987 12:1231
    
    I think most of this can be fixed by a better explanation and an
    example in the documentation. There is no bug here. There is, however,
    a distinction to be made between the rule that normally follows
    the column headings for a table and the rule that is user-specifiable
    between constructed table headings.
    
    1. Both <table_heads> and <table_unit_heads> are output followed
       by a rule in most doctypes. If a doctype calls for a rule following
       table headings, then there will always be a rule that is the
       full column width.
    
    2. <rule> may be used when either <table_heads> or <table_unit_heads>
       are constructed using more than one tag, for example:
    
       <table_heads>(<span>(3)Name<rule>)
       <table_heads>(First\Last\Middle) 
    
        to produce:
    
                Name
    ---------------------------------
    First      Last      Middle
                               
    
    In Jack's example, if the <table_unit_heads> had a <RULE> in it,
    he would get two rules, one that is 3 columns wide under the unit
    heads and one that is the full page width. The second is the
    table units normal post-heading rule.
    
    patti
77.2thanksATLAST::BOUKNIGHTEverything has an outlineTue Mar 10 1987 12:453
    Thanks for the explanation.
    
    jack
77.3What about <RULE> elsewhereHADRON::RILEYSteve Riley, 849-3419Tue Mar 10 1987 14:0719
    
    I have noticed that it is no longer possible to have <RULE> 
    to separate the rows (eg. a table with TOTAL line). Is there
    any way to achieve :-
    
               ------------------------------------
               Head_1   Head_2   Head_3   Head_4
               ------------------------------------
               xxxxxx     999      999      999
               .
               .
               .
               xxxxxx     999      999      999
               ------------------------------------
               TOTAL      999      999      999
               ------------------------------------
                                                        ?
    
                   Regards,
77.4with <span> it should workCLOSET::ANKLAMThu Mar 12 1987 20:209
    
    I think that a
    
    <table_row>(<SPAN>(4)<rule>)
    
    should work.
    
    patti
    
77.5Is that safe?BUNSUP::LITTLETodd LittleMon Mar 16 1987 12:0412
Patti, I tried the previous suggestion in a table and carried the idea
a bit further to attempt ruling between table rows by placing:

    <table_row>(<SPAN>(4)<rule>)

between each row.  Although I got something close to what I wanted, it
appeared to mess up the pagination scheme.  I believe those rows with
just the rules messed up some counter or something.  I could reproduce
the problem if you like. 


-tl
77.6no, it's not guaranteedCLOSET::ANKLAMTue Mar 17 1987 16:508
    
    guess I would need to see what you are doing. <rule> isn't intended
    to be used to place a rule between every table in a table row; I
    suggested its use for occasions when it might be useful. Remember
    that a <table_row> is a full row wherever it occurs, so TeX will
    break before it or after it, with no regard to its contents.
    
    patti