Directory macros/latex/contrib/parselines
README
parselines This is a simple line parser. For files: \dofilebyline{filename} expands \do (a user macro with 1 parameter) on each line of the given file, reading lines one after another with \read. For text: \begin{parse lines}{\row: #1} ... ... \end{parse lines} will add the number of the row before each line in the environment. Other funny things can be done (see the .pdf ;-)) (c) lppl - 2010 (FC)
Download the contents of this package in one zip archive (145.7k).
parselines – Apply a macro to each line of an environment
The package defines an environment “parse lines” which processes each line of an environment with a macro.
An example of shading the lines of an environment is given.
Package | parselines |
Version | 1.4 |
Licenses | The LaTeX Project Public License 1.3 |
Copyright | 2010 Florent Chervet |
Maintainer | Florent Chervet |
Contained in | TeX Live as parselines MiKTeX as parselines |
Topics | Macro support Decoration |