[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

210.0. "Split heads?" by FNYFS::WYNFORD (The Rented Loony) Tue Apr 07 1987 10:46

    This may seem a strange request, but it makes sense in the context
    in which it was asked!
    
    A user would like to define a <split_head1> tag which takes two
    arguments. The first goes on the left as per a normal heading and
    the second should be placed on the same line, flush right.
    
    Can any TeX genius give me the necessary definition, please?
    
    Many thanks,
    Gavin
T.RTitleUserPersonal
Name
DateLines
210.1a starting point onlyMyCLOSET::ANKLAMFri Apr 10 1987 10:1214
    
    I haven't tried it and I haven't the time to, but if I were to try
    it I would do something like:
    
    \def\splithead#1#2{
       \block{1}\hbox to \hsize{#1\hfill#2}
    }
    
    (Putting \hfill between the two parts should make TeX expand the
    middle.) 
    
    No guarantees.
    
    -pa
210.2Me? Ignorant? Yup!FNYFS::WYNFORDThe Rented LoonyMon Apr 13 1987 05:375
    Thanks for the start, Patti... but, where would I put the definition
    and how would I use it? I can't find any references in the current
    doc set that would help me!
    
    Gavin
210.3DTPCLOSET::ANKLAMMon Apr 13 1987 09:4610
    
    in a DTP file, you would need a definition of \headone overriding
    the standard DTP file. (n.b. this level of modification will
    not be documented for V1.0; customers requiring this type of
    change will need to pay for it under contract. Our plans are
    to provide a design tool for V2 that will hide this level of 
    coding.)
    
    patti
    
210.4Let's go...FNYFS::WYNFORDThe Rented LoonyTue Apr 14 1987 04:406
    Thanks, I'll try it out....
    
    The design tool sounds interesting. Does this mean that we will
    manage to get away from messing around directly in TeX?
    
    Gavin
210.5CLOSET::ANKLAMTue Apr 14 1987 10:506
    
    Yes, that is the goal. Some implementations/sites will still need
    to mess around, but the majority of users should be taken care of.
    
    patti