--- title: "Article Title" runtitle: "Short Title" documentclass: frontiersSCNS # or frontiersHLTH, or frontiersFPHY author: - name: First Author affiliation: '1' etal: LASTNAME # First author's last name. - name: Co-Author affiliation: '2' - name: Co-Author affiliation: '1,3' email: email@uni.edu # Indicates corresponding Author institution: Laboratory X, Institute X, Department X, Organization X street: Street X city: City X state: State XX # only USA, Australia, Canada zip: Zip Code X country: Country X affiliation: - id: '1' department: Department X institution: Institution X city: City X state: State XX # only USA, Australia, Canada country: Country X - id: '2' department: Department X institution: Institution X city: City X state: State XX # only USA, Australia, Canada country: Country X - id: '3' department: Department X institution: Institution X city: City X state: State XX # only USA, Australia, Canada country: Country X output: rticles::frontiers_article csl: frontiers.csl bibliography: test.bib --- \begin{abstract} Abstract length and content varies depending on article type. Refer to \url{http://www.frontiersin.org/about/AuthorGuidelines} for abstract requirement and length according to article type. %All article types: you may provide up to 8 keywords; at least 5 are mandatory. \tiny \keyFont{ \section{Keywords:} Text Text Text Text Text Text Text Text } \end{abstract} # Introduction {-} Cite fancy references [@Neuro2013]. As demonstrated in @Gene2012, citations can also be automatically reference. Multiple references are separated by semicolons [@Neuro2013; @Neurobot2013]. # Results {-} ## Subsection 1 {-} You can use `R` chunks directly to plot graphs. ```{r graph, echo = TRUE, message=FALSE, fig.show = "hide"} x <- 0:100 set.seed(999) y <- 2 * (x + rnorm(length(x), sd = 3) + 3) plot(x, y) ``` ## Subsection 2 {-} Frontiers requires figures to be submitted individually, in the same order as they are referred to in the manuscript. Figures will then be automatically embedded at the bottom of the submitted manuscript. Kindly ensure that each table and figure is mentioned in the text and in numerical order. Permission must be obtained for use of copyrighted material from other sources (including the web). Please note that it is compulsory to follow figure instructions. Figures which are not according to the guidelines will cause substantial delay during the production process. # Discussion # Disclosure/Conflict-of-Interest Statement {-} The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest. # Author Contributions {-} The statement about the authors and contributors can be up to several sentences long, describing the tasks of individual authors referred to by their initials and should be included at the end of the manuscript before the References section. # Acknowledgments {-} Funding: # Supplemental Data Supplementary Material should be uploaded separately on submission, if there are Supplementary Figures, please include the caption in the same file as the figure. LaTeX Supplementary Material templates can be found in the Frontiers LaTeX folder # References A reference list should be automatically created here. However it won't. Pandoc will place the list of references at the end of the document instead. There are no convenient solution for now to force Pandoc to do otherwise. The easiest way to get around this problem is to edit the LaTeX file created by Pandoc before compiling it again using the traditional LaTeX commands. # Figures {-} ```{r, Figure-1, ref.label = "graph", results = "hide", echo = FALSE, message = FALSE, fig.height=4, fig.width=4, fig.align='center', fig.cap='Figure caption', out.width = "85mm", out.height = "85mm"} # You can also refer to code chunks from above to place figures at the bottom. ```