nofill – Preserve spaces and line breaks when setting text
The commands \fill and \nofill bracket text in which multiple spaces are not collapsed into a single space, and spaces at the start of line are preserved.
Maybe you are interested in the following packages as well.
- list: List ASCII text files
- alltt2: Indented version of alltt
- tabverb: Verbatim text respecting TAB characters
- verbatim-gen: Generic macros for setting text verbatim