Last active
August 29, 2015 14:14
-
-
Save yutannihilation/7dd6cae3617c90a454da to your computer and use it in GitHub Desktop.
Test R Presentation with Webfonts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css); | |
div .slideContent, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 { | |
font-family: 'Noto Sans Japanese', serif; | |
color: red; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ウェブフォントのテストですよこれは。(A Test To See If RPresentation Works Well With Japanese Web Fonts) | |
======================================================== | |
author: @yutannihilation | |
date: 2015年2月7日 | |
css: test.css | |
Overview | |
======================================================== | |
This presentation uses Google's [Noto Sans Japan](https://www.google.com/fonts/specimen/Noto+Sans). Red characters are rendered with Noto Sans. | |
Source code of this presentation is here: https://gist.github.com/yutannihilation/7dd6cae3617c90a454da | |
HowTo | |
======================================================== | |
(For details, see [this article](https://support.rstudio.com/hc/en-us/articles/200532307-Customizing-Fonts-and-Appearance)) | |
Specify this in the title slide | |
``` | |
css: test.css | |
``` | |
and create `test.css` as below. | |
```css | |
@import url(http://fonts.googleapis.com/earlyaccess/notosansjapanese.css); | |
div .slideContent, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 { | |
font-family: 'Noto Sans Japanese', serif; | |
color: red; | |
} | |
``` | |
ひらがな | |
======================================================== | |
あいうえおかきくけこさしすせそたちつてと | |
* なにぬねの | |
* はひふへほ | |
- まみむめも | |
- やゆよ | |
- らりるれろ | |
- わゐうゑを | |
漢字 | |
======================================================== | |
## 權將呂蒙、初不學。 | |
### 權勸蒙讀書。魯肅後與蒙論議。 | |
#### 大驚曰、 | |
> 卿非復呉下阿蒙。 | |
##### 蒙曰、 | |
> 士別三日、即當刮目相待。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment