r-markdownxaringan

How to properly write foreign exchange symbol in xaringan


I am just wondering how to write foreign exchange symbol in xaringan, for example, Japanese Yen, Euro, etc. I just find that \textyen does not work for xaringan.


Solution

  • You can use HTML Entities (that is, &#entity_number;) to write currency symbols.

    Here you can find a list of hex code to write the currency symbols.

    ---
    title: "Presentation Ninja"
    output: xaringan::moon_reader
    ---
    
    - The Yen sign looks like ¥
    
    - The Euro sign looks like €
    

    currency symbols in xaringaan