Skip to content

Instantly share code, notes, and snippets.

@hraban
Created June 18, 2018 12:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hraban/38aa1baa7df5b5098c843411066d1363 to your computer and use it in GitHub Desktop.
Save hraban/38aa1baa7df5b5098c843411066d1363 to your computer and use it in GitHub Desktop.
/* Open the .celtx file in an editor, look for the bit between <html> and </html>, put it in a new file (filename ending in .html), add this bit between one of the <style> and </style> tags. Open in a webbrowser, click print. */
body {
font-family: monospace;
font-size: 13pt;
line-height: 1.4em;
width: 190mm;
margin: 0;
padding: 1em;
}
p.character {
text-transform: uppercase;
text-align: center;
margin-bottom: -1em;
}
p.dialog, p.parenthetical {
width: 50%;
margin-left: auto;
margin-right: auto;
}
p.action {
width: 80%;
margin-left: auto;
margin-right: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment