Skip to content

dendroica/lua_filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

lua_filters

This is to change page orientations within a document, using RMarkdown to knit to Word (docx). Put the "orient.lua" file in the same directory as your RMarkdown file, and specify this in the header (with of course whatever identifying info or additional specifications you like).

title: "Test Doc"
author: "Jessica Gorzo"
date: "August 16, 2019"
output:
  word_document:
    pandoc_args:
     '--lua-filter=orient.lua'
geometry: margin=0.5in

Your document will initialize in portrait, so you need to add a portrait tag (\portrait) where you want your landscape section to begin. You add the landscape tag (\landscape) where the landscape section will end.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages