A color scheme inspired by the palette of traditional colors of Japan. Includes definitions for hyperlinks via the hyperref package, and for code listings via the listings package.
The palette is drawn from Stefan Imhoff's collection of Noboyoshi Hamada's books. I appreciate the clear reference to source material. Unfortunately there are a few spelling mistakes (Resberry Red), which I have not corrected, and duplicate definitions, e.g. two different hex codes named Charcoal Gray.
An alternative source can be found on wikipedia, which also provides Kanji definitions, and kidorokujapan, which has a more numerous selection.
To make this package available to all projects, add the .sty
files to your $TEXMFHOME/tex/latex/
folder. See latex-solarized for a thorough explanation.
The following example works in ubuntu 20.04; it assumes you have kpsewhich
available e.g. by having installed the texlive
package, and that you wish to clone this repository to the folder defined below as PATH_TO_CLONE
. Modify this variable according to your needs.
PATH_TO_CLONE=~/Documents/tex/latex-Nihonnoiro/
git clone https://github.com/wry-run/latex-Nihonnoiro.git $PATH_TO_CLONE
TEXMFHOME=$(kpsewhich -var-value=TEXMFHOME)
mkdir -p $TEXMFHOME/tex/latex/
ln -s $PATH_TO_CLONE/*sty $TEXMFHOME/tex/latex/
ln -s $PATH_TO_CLONE/colors/*sty $TEXMFHOME/tex/latex/
\usepackage{Nihonnoiro-dark}
and \usepackage{Nihonnoiro-dark-listings}
.
From the example/ folder:
MIT License. See LICENSE.
This package owes to latex-solarized and dracula/latex. Kudos, and thanks.
The .gitignore is from github/gitignore.