richard wrote: > ~ is the only way to preserve multiple spaces in LaTeX.
i don't think so, it depends on the environment. listings for example preserves multiple spaces. what i am after is listings type behavior, but using Style instead of InsetLayout and for that i don't want the ~ nor the extra return ed.