{"action":"created","issue":{"url":"https://api.github.com/repos/HertieDataScience2014/SyllabusAndLectures/issues/20","labels_url":"https://api.github.com/repos/HertieDataScience2014/SyllabusAndLectures/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/HertieDataScience2014/SyllabusAndLectures/issues/20/comments","events_url":"https://api.github.com/repos/HertieDataScience2014/SyllabusAndLectures/issues/20/events","html_url":"https://github.com/HertieDataScience2014/SyllabusAndLectures/issues/20","id":46808928,"number":20,"title":"Double spacing for PDFs in LaTeX","user":{"login":"christophergandrud","id":1285805,"avatar_url":"https://avatars.githubusercontent.com/u/1285805?v=3","gravatar_id":"","url":"https://api.github.com/users/christophergandrud","html_url":"https://github.com/christophergandrud","followers_url":"https://api.github.com/users/christophergandrud/followers","following_url":"https://api.github.com/users/christophergandrud/following{/other_user}","gists_url":"https://api.github.com/users/christophergandrud/gists{/gist_id}","starred_url":"https://api.github.com/users/christophergandrud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophergandrud/subscriptions","organizations_url":"https://api.github.com/users/christophergandrud/orgs","repos_url":"https://api.github.com/users/christophergandrud/repos","events_url":"https://api.github.com/users/christophergandrud/events{/privacy}","received_events_url":"https://api.github.com/users/christophergandrud/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/HertieDataScience2014/SyllabusAndLectures/labels/Helpful%20R%20Packages","name":"Helpful R Packages","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2014-10-25T10:57:53Z","updated_at":"2015-06-19T18:54:17Z","closed_at":null,"body":"It occurred to me that you cannot easily create PDFs with double spacing in R Markdown. So I submitted a pull request to the [rmarkdown](https://github.com/rstudio/rmarkdown) repo adding this capability. \r\n\r\nIf you download the GitHub version of R Markdown now you will be able to use double spacing (the new CRAN version should be out soon-ish):\r\n\r\n```{S}\r\ndevtools::install_github('rstudio/rmarkdown')\r\n```\r\n\r\nThen in the YAML header of your .Rmd file use `setspace: doublespacing`. For example:\r\n\r\n```{yaml}\r\n---\r\ntitle: \"Untitled\"\r\nauthor: \"Christopher Gandrud\"\r\ndate: \"25 October 2014\"\r\nsetspace: doublespacing\r\noutput: pdf_document\r\n---\r\n```"},"comment":{"url":"https://api.github.com/repos/HertieDataScience2014/SyllabusAndLectures/issues/comments/113605560","html_url":"https://github.com/HertieDataScience2014/SyllabusAndLectures/issues/20#issuecomment-113605560","issue_url":"https://api.github.com/repos/HertieDataScience2014/SyllabusAndLectures/issues/20","id":113605560,"user":{"login":"klocey","id":1786818,"avatar_url":"https://avatars.githubusercontent.com/u/1786818?v=3","gravatar_id":"","url":"https://api.github.com/users/klocey","html_url":"https://github.com/klocey","followers_url":"https://api.github.com/users/klocey/followers","following_url":"https://api.github.com/users/klocey/following{/other_user}","gists_url":"https://api.github.com/users/klocey/gists{/gist_id}","starred_url":"https://api.github.com/users/klocey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/klocey/subscriptions","organizations_url":"https://api.github.com/users/klocey/orgs","repos_url":"https://api.github.com/users/klocey/repos","events_url":"https://api.github.com/users/klocey/events{/privacy}","received_events_url":"https://api.github.com/users/klocey/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T18:54:17Z","updated_at":"2015-06-19T18:54:17Z","body":"Thanks for this @christophergandrud!"}}