Line breaks in R Markdown text (not code blocks)

后端 未结 3 861
栀梦
栀梦 2021-02-02 14:00

Using the tufte_template rmarkdown file, I am trying to make a new paragraph (like \\newthought{}, but no caps.) I use two spaces, denoted here by *:



        
3条回答
  •  面向向阳花
    2021-02-02 14:42

    It's a rather old question, but I post an answer since it's the first hit when googling for "line breaks in rmarkdown".

    If compiling to pdf, you can use latex macros. Substitute the ** in the new line with \hfill\break:

    # Introduction
    
    The Tufte-\LaTeX\ [^tufte_latex] document**
    \hfill\break
    classes define a style similar to the style Edward Tufte uses in his books...
    

提交回复
热议问题