Comments (4)
Thanks for this, I just added the float package back in!
For now, I still assume that there is no need to explicitly include the other kableExtra packages in the template anymore because they are automatically added to the preamble when using library(kableExtra)
given the change in the templates (we'll see if this turns out to be a poor decision π€ͺ )
from oxforddown.
I think you're right that this is a templating thing - are you able to dig out the latex template that's used by bookdown-demo
and see how
output:
bookdown::pdf_book:
includes:
in_header: "preamble.tex"
gets included?
from oxforddown.
Solved - I just needed to added this to the templates
$for(header-includes)$
$header-includes$
$endfor$
This should have solved both use cases, i.e. header-includes
and in_header
. Can you check if it's working for you now if you fork the latest version?
from oxforddown.
Thanks for looking into it!
When running the current version, I get ! LaTeX Error: Unknown float option 'H'.
This is fixed when adding \usepackage{float}
, which it looks like you removed with the other kableExtra
packages.
Note also that I had to update kableExtra
to 1.3.4.9000
in order for the tables to render properly (I forgot to check what version I had previously).
However, once those things are fixed, in_header
now works for my preamble.tex
π.
from oxforddown.
Related Issues (20)
- "Render" output HOT 2
- Problem with number of authors and the et al. abbreviation HOT 1
- Figure caption placement HOT 2
- package βxelatexβ is not available for this version of R HOT 1
- Linespacing varies amongst pages HOT 8
- Table of contents preventing the LaTeX from compiling for PDF output HOT 5
- if show-abstract-in-toc: true, Abstract TOC hyperlink is to Acknowledgements HOT 1
- Cannot find font information and ways to change it HOT 1
- remove the page breaks for each chapter HOT 1
- Issues with pandoc-citeproc in oxforddown HOT 2
- Compilation problems HOT 4
- Adapting headings to local language
- Cannot Knit
- how create numbered examples HOT 1
- Note below figure in graphic environment
- Minitocs shift pages through the space they take up but don't adjust for this
- Missing Book Title in Bibliography Citations (citing book section)
- How to change font style
- cleaning auxiliary files when knitting single chapter HOT 2
- fresh downloaded oxforddown not building HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oxforddown.