Simple way to create word document using loop of from t list. Type lhtext and copy the template to R workspace and start writing.
1 |
doc |
doc created by read_docx or lhstartdoc with template. See lhtext_example. |
t |
list of items. see example. |
toc.level |
maximimum toc level |
template |
Word document template could be used for styles. Styles should be mapped in style.to.map. Template is also available at github: to load it, just run lhtemp() once to download and store the templates in your PC at "c:lhtemplate. Note that the templates and logo are also used in xptdef package. |
style.to.map |
Map the styles in template to be used. Ex: mypar is for footnote (font size) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.