Answers.Body: <p>To use newlines in the built-in Subtitle filter, you must specify the <code>lsp</code> (linespacing) argument:</p>
  <pre><code>subtitle(&quot;First line\nNext line\nLast line&quot;, lsp=12)
  </code></pre>
  <p>See <a href="http://avisynth.nl/index.php/Subtitle" rel="nofollow noreferrer">the Subtitle wiki page</a> for more info on the argument.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-27T12:13:28.213Z
Answers.Text: Yes, I had found the answer at [VideoHelp](https://forum.videohelp.com/threads/396069-Newlines-in-AviSynth-subtitles#post2574413) and forgot to update it here.
Answers.UserDisplayName: emonigma
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-09-25T22:05:18.453Z
Answers.LastActivityDate: 2020-09-25T22:05:18.453Z
Answers.UserDisplayName: Zach F.
Body: <p><a href="https://compactvideo.wordpress.com/2011/03/26/how-to-create-titles-and-captions-using-avisynth/" rel="nofollow noreferrer">This page</a> uses newline characters (<code>\n</code>) to introduce newlines in a subtitle in AviSynth:</p>
  
  <pre>
  subtitle("First line\nNext line\nLast line", ...)
  </pre>
  
  <p>I tried this code on AviSynth+ and it fails.</p>
  
  <p>Newlines would be useful for credits that take multiple lines without having to repeat the settings and tune the alignment.</p>
  
  <p>What is the simplest way to include newlines in subtitles?</p>
  
Tags: <subtitles><avisynth>
Title: Newlines in AviSynth+ subtitles
UserDisplayName: emonigma
ThreadText: # Newlines in AviSynth+ subtitles
  
  (Asked by: username_0 on 2020-02-11)
  
  [This page](https://compactvideo.wordpress.com/2011/03/26/how-to-create-titles-and-captions-using-avisynth/) 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?
  
  **Tags:** subtitles, avisynth
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-09-25. Score: 2 | Accepted answer
  
  To use newlines in the built-in Subtitle filter, you must specify the `lsp` (linespacing) argument:
  
  ```
  subtitle("First line\nNext line\nLast line", lsp=12)
  
  ```
  
  See [the Subtitle wiki page](http://avisynth.nl/index.php/Subtitle) for more info on the argument.
  
  > **Comments:**
  > **username_0**: Yes, I had found the answer at [VideoHelp](https://forum.videohelp.com/threads/396069-Newlines-in-AviSynth-subtitles#post2574413) and forgot to update it here.  
  
  ---
  
  