firstline – Print the first line of a paragraph in a different font
This sample file defines a command \firstline. Place the command \firstline at the start of a paragraph, and it will set the first line subject to the font command \Firstlinefont.
The file is part of the Plain TeX samples collection.
Maybe you are interested in the following packages as well.
- ragged2e: Alternative versions of “ragged”-type commands
- toc: Table of contents macros for Plain TeX
- varindent: Make paragraph indentation match the length of the line above
- booklet: Aids for printing simple booklets