![]() ![]() Here is a cross reference to table 1 using the code. Of course, tables can be cross referenced in the same manner as figures. Then make your YAML header look like this: -Īffiliation: University of Tuktoyaktuk, CXVG+62 Tuktoyaktuk, Inuvik, Unorganized, NT CanadaĪffiliation: University of Ottawa, 75 Laurier Ave E, Ottawa, ON K1N 6N5, CanadaĪnd as you can see in figure 3 you get a correctly list of authors.įigure 3: This is also great. Open it up in a text editor and find the section that reads: $if(author)$ If that seems difficult, you can also download it here. Move the file to the “Extras” folder discussed above. To get your current working copy of the Pandoc LaTeX template open up a terminal (Mac/Linux) and type: pandoc -D latex > mytemplate.tex So what you need to do is modify the Pandoc LaTeX template. tex template that Pandoc uses for generating LaTeX files does not support author affiliations as descibed in the Pandoc documentation. You don’t need the lua scripts for LaTeX although you can use them. Do a full install with all the glorious bloat of all LaTeX packages. For Linux, just install from the command line with your package manager. LaTeX markup language is available here: Mac, Windows. It goes without saying that you need to install LaTeX. ![]() Keywords: "CRAN, R, RMarkdown, RStudio, YAML"Įt voila! Figure 2 shows that we have something reasonable.įigure 2: This is so great Dependencies for LaTeX and the Associated YAML reference-doc=Extras/Reference_Document.docx citation-abbreviations=Extras/abbreviations.json **Conclusion**: Give me more grant money. **Methods**: My experiments are pure genius. **Introduction**: There's a big scientific problem out there. UofO: University of Ottawa, 75 Laurier Ave E, Ottawa, ON K1N 6N5, Canada UofT: University of Tuktoyaktuk, CXVG+62 Tuktoyaktuk, Inuvik, Unorganized, NT Canada Reference Abbreviations for MS-Word Output ![]() docx formatting, then put this word document in the same folder.ĭownload the contents of this folder from my github repo that has everything set up as I describe above.įor two authors, your YAML will need to look like this: title: |
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |