Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/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)

Down­load the con­tents of this pack­age in one zip archive (145.7k).

parse­lines – Ap­ply a macro to each line of an en­vi­ron­ment

The pack­age de­fines an en­vi­ron­ment “parse lines” which pro­cesses each line of an en­vi­ron­ment with a macro.

An ex­am­ple of shad­ing the lines of an en­vi­ron­ment is given.

Li­cense The Project Public Li­cense 1.3
Copy­right2010 Florent Chervet
Main­tainerFlorent Chervet
Con­tained inTeX Live as parse­lines
MiKTeX as parse­lines
Topics sup­port for de­vel­op­ment of macros
high­light­ing type­set ma­te­rial, fancy frames, wa­ter­marks, etc.
Guest Book Sitemap Contact Contact Author