2 The Body of The Paper

Typically, the body of a paper has a hierarchical structure, with numbered or unnumbered headings for sections, subsections, sub-subsections, and paragraphs. Whereas in LaTeX you use the command \section for main sections, in R Markdown you simply use #, as in # The Body of The Paper. For subsections, or sub-subsections, use additional hashes, as in ## This Become a Subsection, and #### This Becomes a Paragraph Heading.1

If you want some section to be unnumbered in the output, add {-} after the section name, as in # Unnumbered Section{-}.

Indicate the start of a new paragraph with a blank line in your input file; that is why this sentence forms a separate paragraph. This line, however, does not form a separate paragraph.

2.1 Type Changes and Special Characters

Make words or phrases italicized by surrounding them with a single *; embolden them by surrounding them with **two**. Typewriter-style (for instance, for computer code) you create by surrounding text with `backticks`.2

2.2 Citations

Citations to articles (Bowman, Debray, and Peterson 1993; Braams 1991; Cohen, Nutt, and Sagic 2007), conference proceedings (Clark 1991) or maybe books (Lamport 1986; Salas and Hille 1978) listed in the Bibliography section of your article will occur throughout the text of your article. To insert a reference in the R Markdown syntax, type @ followed by the citation key. The key is a short reference uniquely identifying each entry in in the .bib file for your article, in which your references are listed in BibTex format.

For example, to cite the article “Deciding equivalances among conjunctive aggregate queries” from our .bib file, write [@Cohen07]. If you drop the []’s, you get author names, as well as the citation: Cohen, Nutt, and Sagic (2007). See this short guide for more.

References

Bowman, Mic, Saumya K. Debray, and Larry L. Peterson. 1993. “Reasoning About Naming Systems.” ACM Trans. Program. Lang. Syst. 15 (5): 795–825. https://doi.org/10.1145/161468.161471.

Braams, Johannes. 1991. “Babel, a Multilingual Style-Option System for Use with Latex’s Standard Document Styles.” TUGboat 12 (2): 291–301.

Cohen, Sarah, Werner Nutt, and Yehoshua Sagic. 2007. “Deciding Equivalances Among Conjunctive Aggregate Queries.” J. ACM 54 (2). https://doi.org/10.1145/1219092.1219093.

Clark, Malcolm. 1991. “Post Congress Tristesse.” In TeX90 Conference Proceedings, 84–89. TeX Users Group.

Lamport, Leslie. 1986. LaTeX: A Document Preparation System. Reading, MA.: Addison-Wesley.

Salas, S.L., and Einar Hille. 1978. Calculus: One and Several Variable. New York: John Wiley; Sons.


  1. By the way, this is how to insert footnotes.

  2. Another footnote here. Let’s make this a rather long one to see how it looks.