[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

23.0. "Centering a TITLE-line" by HAMCL1::HOFFMANN () Wed Feb 25 1987 07:13

The following SDML-example does not produce the expected output:

<FRONT_MATTER>
<TITLE>( <CENTER_LINE>(not centered) \ <CENTER_LINE>(centered correct))

I have tried this with several doctypes: e.g.

    GENERAL and SOFTWARE.SPECIFICATION.

Giving a null-parameter for the first title-line seems to work ...

detlef.

T.RTitleUserPersonal
Name
DateLines
23.1centering title linesHAM::HOFFMANNFri Mar 06 1987 15:209
	Well, I really can't get this to work. Let me try to describe
	the problem again:

	I am trying to center several title lines in the frontmatter.
	It works for all lines but the first. Also, when I center text
	on the same page, for example abstract text, it seems to get
	centered differently. Any suggestions?

	detlef.
23.2it's controlled in the DTPCLOSET::ANKLAMFri Mar 20 1987 12:3318
    
    The problem is that explicit format of the <title> tag is tied to
    the document's design and really can't be altered by using formatting
    tags like <center_line> etc. 
    
    The reason that you are getting centering when you leave out the
    first argument is that the text for the first line is set at a
    specific indention level and subsequent lines are 'assumed' to be
    at the same level. By skipping the first one, what you are really
    getting is a blank line.
    
    The answer is that the format must be modified in the DTP, if you
    need centering. The question I have is, how kind/unkind will users
    think SDML if an attempt to use <center_line> or <right_line> inside
    a <title> tag issues a warning message?
    
    patti
    
23.3WJG::GUINEAUFri Aug 14 1987 17:3811

	I think users would like to know when a tag is not going to do
	what they expect (such as a warning when <CENTER_LINE> is used inside 
	a <TITLE> tag)


	And Why dosent the TITLE get centered for each line?

	I would think it should?

23.4Design file controls formatCLOSET::ANKLAMMon Aug 17 1987 10:3510
    
    You are correct that if a formatting command is ignored in a
    particular context (as in trying to use <center_line> inside
    a <running_title>, you should at least get an informational message.
    
    These formatting commands do not work in title lines; the format
    of a title (and the contents ) are controlled by the document's
    DESIGN file.