Skip to content

Commit

Permalink
add pdf css file to adjust line height in pdf output if desired
Browse files Browse the repository at this point in the history
  • Loading branch information
zh authored and zh committed Mar 23, 2019
1 parent afe7bc4 commit a99ae5f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ if [ "$BUILD_PDF" != "false" ]; then
--webtex=https://latex.codecogs.com/svg.latex? \
--include-after-body=build/themes/default.html \
--output=output/manuscript.pdf \
--css=build/themes/pdf.css \ # Extra CSS for PDF output if desired

This comment has been minimized.

Copy link
@dhimmel

dhimmel Mar 23, 2019

Contributor

I think the comment could mess up the script.

$INPUT_PATH
rm images
fi
Expand Down
11 changes: 11 additions & 0 deletions build/themes/pdf.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* Add CSS here to format output PDF
Maybe can add line numbers using CSS? */

body {

/*
line-height: 3.0;
*/

}

0 comments on commit a99ae5f

Please sign in to comment.