ulyngs / oxforddown

Template for writing an Oxford University thesis in R Markdown; uses the OxThesis LaTeX template and was inspired by thesisdown.
https://ulyngs.github.io/oxforddown/
MIT License
220 stars 80 forks source link

sections instead of chapters #51

Closed haohua closed 2 years ago

haohua commented 2 years ago

Hi Ulrik,

thank you so much for putting together such clean and well-organized templates.

I want to build a single paper based on your oxforddown. Can I convert the chapters into sections, so that there will be no page break for each section?

Also, can I change the chapter title position from the "Top Right" corner with a big number, to the "Top Left" corner?

thank you andy

ulyngs commented 2 years ago

Hi Andy,

first question: yes, you can convert chapters to sections using the appropriate pandoc commandline argument in index.Rmd (see this StackOverflow): --top-level-division=section

In other words, go to index.Rmd, then change the pandoc_args variable to this:

pandoc_args: ["--lua-filter=scripts_and_filters/colour_and_highlight.lua", "--top-level-division=section"]
ulyngs commented 2 years ago

I am going to move your other question into its own issue, #52