Skip to content

Commit

Permalink
fix(latex/latex-font-kiwi-maru.md): KiwiMaruを追加した
Browse files Browse the repository at this point in the history
  • Loading branch information
shotakaha committed Jan 25, 2025
1 parent 6ba9fda commit da88eb9
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
37 changes: 37 additions & 0 deletions docs/source/latex/latex-font-kiwi-maru.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# キウイ丸したい(`KiwiMaru`

```console
$ brew install --cask font-kiwi-maru
```

Googleフォントにある[Kiwi Maru](https://fonts.google.com/specimen/Kiwi+Maru)を使います。
Homebrewでインストールできます。

```latex
% プリアンブル
\usepackage{luatexja-fontspec}
% 欧文フォント
\setmainfont{KiwiMaru-Light}
\setsansfont{KiwiMaru-Medium}
\setmonofont{KiwiMaru-Regular}
% 和文フォントの設定
\setmainjfont{KiwiMaru-Light}
\setsansjfont{KiwiMaru-Medium}
\setmonojfont{KiwiMaru-Regular}
```

3スタイルあるので、
見出しを`Medium`にし、本文を`Light`にしています。

:::{note}

フォント名を設定するとき、ハイフンはあってもなくてもOKです。

```latex
\setmainjfont{KiwiMaru-Light} % OK
\setmainjfont{KiwiMaruLight} % これもOK
```

:::
1 change: 1 addition & 0 deletions docs/source/latex/latex-usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ latex-lmodern
latex-fontspec
latex-japanese
latex-font-dotgothic16
latex-font-kiwi-maru
```

## ページ設定したい
Expand Down

0 comments on commit da88eb9

Please sign in to comment.