Tag Info

New answers tagged

1

Thanks @daroczig for resolving this for me! As mentioned in his comment, by using pander() rather than print(pandoc.table()), I get the desired results. Additionally, there is no need to specify results = 'asis' in the chunk options when using this method. Below is the modified code: ```{r echo=F} library('pander') tab1 <- data.frame(foo=c('dog', 'cat', ...


0

I'm German too. Did you try "Deutsche Gesellschaft für Psychologie"? It seems to do what you want. Otherwise, you could edit it here: http://editor.citationstyles.org/styleInfo/?styleId=http%3A%2F%2Fwww.zotero.org%2Fstyles%2Fdeutsche-gesellschaft-fur-psychologie


0

You can also use the YAML header to put commands in the preamble: --- header-includes: - \usepackage{titlesec} - \titleformat*{\section}{\itshape} ---


0

From the User Guide: -H FILE, --include-in-header=FILE Include contents of FILE, verbatim, at the end of the header. [...] This option can be used repeatedly to include multiple files in the header. They will be included in the order specified. Implies --standalone. You can then put your customisation code in FILE. The code inside FILE will be ...


2

You are missing a \ before url. \documentclass{article} \usepackage{geometry} \usepackage{fancyhdr} \usepackage{amsmath ,amsthm ,amssymb} \usepackage{graphicx} \usepackage{hyperref} \title{An unoffensive title} \author{Athan Clark \\ \url{email@website.com}} \date{Forever, 2014} \begin{document} \maketitle \tableofcontents \newpage Hello world! ...


5

\ce breaks in the code that tries to convert it to a bookmark string. With \texorpdfstring an alternative can be provided for the bookmarks: \documentclass{article} \usepackage[version=3]{mhchem} \usepackage[pdfencoding=auto]{hyperref} \usepackage{bookmark} \begin{document} \section{\texorpdfstring{\ce{H2O}}{H\texttwoinferior O}} \end{document} In this ...



Top 50 recent answers are included