adjust <literallayout> lines to not exceed the line wrap length