Skip to content

Instantly share code, notes, and snippets.

@omasanori
Created October 14, 2016 09:27
Show Gist options
  • Save omasanori/d47ed269a77fc4f9b1be71a1f6fd45be to your computer and use it in GitHub Desktop.
Save omasanori/d47ed269a77fc4f9b1be71a1f6fd45be to your computer and use it in GitHub Desktop.
\documentclass[unicode]{beamer}
\usepackage[no-math,ipaex]{luatexja-preset}
\renewcommand{\kanjifamilydefault}{\gtdefault}
\usefonttheme{professionalfonts}
\usepackage{unicode-math}
\setmathfont{xits-math.otf}
\begin{document}
\begin{frame}{テスト}
\[
f(x) = \frac{1}{\sqrt{2\pi\sigma^2}}\exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right)
\]
\end{frame}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment