Skip to content

Instantly share code, notes, and snippets.

@wawando
Last active February 8, 2019 14:34
Show Gist options
  • Save wawando/c286607487249e670f9b2f840d7a1df8 to your computer and use it in GitHub Desktop.
Save wawando/c286607487249e670f9b2f840d7a1df8 to your computer and use it in GitHub Desktop.
Write japanese letter in latex
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{CJKutf8}
\newenvironment{japanese}{%
\begin{CJK}{UTF8}{}
\CJKfamily{goth}%
\CJKtilde
\CJKnospace
}{\end{CJK}}
\begin{document}
\begin{japanese}
こんにちは!
\end{japanese}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment