Skip to content

Instantly share code, notes, and snippets.

@yuw
Created September 13, 2018 02:48
Show Gist options
  • Save yuw/2c8e2f6eb19bd7fbfd298884fd0abfbc to your computer and use it in GitHub Desktop.
Save yuw/2c8e2f6eb19bd7fbfd298884fd0abfbc to your computer and use it in GitHub Desktop.
LuaLaTeXで数式内のギリシア文字を変更
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{latinmodern-math.otf}
\setmathfont{CollectorComic}[range=up]
\setmathfont{CollectorComic-Italic}[range=it->up]
\setmathfont{CollectorComic-Bold}[range=bfup->up]
\setmathfont{CollectorComic-BoldItalic}[range=bfit->up]
\begin{document}
$\gamma_{0} + \delta_{2} + \lambda^{1} + \psi^{\alpha}$
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment