Info Node: (texinfo)@titlefont @center @sp

CFHT HOME texinfo: @titlefont @center @sp


up: Titlepage & Copyright Page next: @title @subtitle @author prev: @titlepage Back to Software Index

3.4.2 '@titlefont', '@center', and '@sp'
----------------------------------------

You can use the '@titlefont', '@sp', and '@center' commands to create a
title page for a printed document.  (This is the first of the two
methods for creating a title page in Texinfo.)

  Use the '@titlefont' command to select a large font suitable for the
title itself.  You can use '@titlefont' more than once if you have an
especially long title.

  For HTML output, each '@titlefont' command produces an '<h1>' heading,
but the HTML document '<title>' is not affected.  For that, you must put
an '@settitle' command before the '@titlefont' command (Note:
@settitle).

  For example:

     @titlefont{Texinfo}

  Use the '@center' command at the beginning of a line to center the
remaining text on that line.  Thus,

     @center @titlefont{Texinfo}

centers the title, which in this example is "Texinfo" printed in the
title font.

  Use the '@sp' command to insert vertical space.  For example:

     @sp 2

This inserts two blank lines on the printed page.  (Note: @sp, for
more information about the '@sp' command.)

  A template for this method looks like this:

     @titlepage
     @sp 10
     @center @titlefont{NAME-OF-MANUAL-WHEN-PRINTED}
     @sp 2
     @center SUBTITLE-IF-ANY
     @sp 2
     @center AUTHOR
     ...
     @end titlepage

  The spacing of the example fits an 8.5 by 11 inch manual.

  You can in fact use these commands anywhere, not just on a title page,
but since they are not logical markup commands, we don't recommend them.


automatically generated by info2www version 1.2