Skip to content

Commit a99ae5f

Browse files
zhzh
zh
authored and
zh
committed
add pdf css file to adjust line height in pdf output if desired
1 parent afe7bc4 commit a99ae5f

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

build/build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ if [ "$BUILD_PDF" != "false" ]; then
6969
--webtex=https://latex.codecogs.com/svg.latex? \
7070
--include-after-body=build/themes/default.html \
7171
--output=output/manuscript.pdf \
72+
--css=build/themes/pdf.css \ # Extra CSS for PDF output if desired
7273
$INPUT_PATH
7374
rm images
7475
fi

build/themes/pdf.css

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
/* Add CSS here to format output PDF
2+
3+
Maybe can add line numbers using CSS? */
4+
5+
body {
6+
7+
/*
8+
line-height: 3.0;
9+
*/
10+
11+
}

0 commit comments

Comments
 (0)