parent
ccba7dd551
commit
439a6b6a1f
6 changed files with 91 additions and 15 deletions
@ -1,9 +1,9 @@ |
||||
html: |
||||
pandoc -s weather_station.md --toc --toc-depth=1 -c ./css/mvp.css \
|
||||
--template template.html -o weather_station.html
|
||||
--template ./template/template.html -o weather_station.html
|
||||
|
||||
pdf: |
||||
pandoc weather_station.md --toc -o weather_station.pdf --pdf-engine=xelatex
|
||||
pandoc weather_station.md --toc -o weather_station.pdf --pdf-engine=xelatex -H ./template/custom_settings.tex
|
||||
|
||||
clean: |
||||
rm -rvf build
|
||||
|
@ -0,0 +1,16 @@ |
||||
% Override default figure placement To be within the flow of the text rather |
||||
% than on it's own page. |
||||
\usepackage{float} |
||||
\usepackage{graphicx} |
||||
\makeatletter |
||||
\def\fps@figure{H} |
||||
\makeatother |
||||
|
||||
% Scale all large images to 50% of twext width |
||||
\makeatletter |
||||
\setkeys{Gin}{width=\ifdim\Gin@nat@width>\linewidth |
||||
0.5\linewidth |
||||
\else |
||||
\Gin@nat@width |
||||
\fi} |
||||
\makeatother |
Binary file not shown.
Loading…
Reference in new issue