How can I write special characters in RMarkdown latex documents?

前端 未结 4 1866
广开言路
广开言路 2020-12-10 18:17

I am trying ot write a paper in RMarkdown pdf. But I dont know how to use special characters like \"İ, ı, ğ, ü, ö\". Those characters are present in Turkish. I can easily us

4条回答
  •  孤城傲影
    2020-12-10 18:56

    rmarkdown uses LaTeX to create the PDF, so you should be able to just use LaTeX markup. As an example:

    ---
    title: "Test"
    output: pdf_document
    ---
    
    This is a special character: \u{g}.
    

    Also, depending on the particular characters, you may be able to just type them in as-is (see, for example, here).

提交回复
热议问题