Newlines in AviSynth+ subtitles This page uses newline characters (\n) to introduce newlines in a subtitle in AviSynth:


subtitle("First line\nNext line\nLast line", ...)


I tried this code on AviSynth+ and it fails.

Newlines would be useful for credits that take multiple lines without having to repeat the settings and tune the alignment.

What is the simplest way to include newlines in subtitles?
To use newlines in the built-in Subtitle filter, you must specify the lsp (linespacing) argument:
subtitle(&quot;First line\nNext line\nLast line&quot;, lsp=12)

See the Subtitle wiki page for more info on the argument.