[comp.text.tex] Headers in an environment

wizard@athena.mit.edu (Manic Roman'ic) (04/19/91)

Hello, there.

I need a LaTeX macro or two that'll allow me to do the following:

The LaTeX file is:

    \begin{lines}{Joe}
    Play lines.  These are lines that the actor will speak out during
    the course of the script.  This environment will be split up by a page
    break when the .dvi file is printed out.
    \end{lines}

and the output should be:

                                  Joe
    Play lines.  These are lines that the actor will speak out during
    the course of the script.  This environment will be split up by a page

    - - - - - - - - - - - - - - - (page break) - - - - - - - - - - - - - - - -

                                  Joe (cont'd)
    break when the .dvi file is printed out.

Any ideas?

-- 
Tony Le, aka "Manic Roman'ic"
wizard@athena.mit.edu

raymond@math.berkeley.edu (Raymond Chen) (04/19/91)

You might want to study scmac202.tex which allegedly is a macro
package for script writing.  (See the monthly Supplement.)
--
This item may be paraphrased but may not be quoted verbatim without permission.

dahosek@biivax.dp.beckman.com (04/19/91)

In article <1991Apr19.012819.7967@athena.mit.edu>, wizard@athena.mit.edu (Manic Roman'ic) writes:
 
> I need a LaTeX macro or two that'll allow me to do the following:
 
>     \begin{lines}{Joe}
>     Play lines.  These are lines that the actor will speak out during
...
>     \end{lines}
 
 
>                                   Joe
>     Play lines.  These are lines that the actor will speak out during
>     the course of the script.  This environment will be split up by a page
 
>     - - - - - - - - - - - - - - - (page break) - - - - - - - - - - - - - - - -
 
>                                   Joe (cont'd)
>     break when the .dvi file is printed out.

Getting this to work with LaTeX is a rather daunting task, but
the lovely and talented Adrian McCarthy has produced a set of
plain TeX macros which at least retain some of the philosophy of
LaTeX. The macros are on ymir.claremont.edu in
[anonymous.tex.inputs.scripttex] (or is that only one "T"?--I
don't have access to ymir from here so it's difficult to check
details like that).

-dh

-- 
Don Hosek // Quixote Digital Typography   714-625-0147

On contract to Beckman Instruments        714-961-4562