latex solve the problem of Chinese garbled

Disclaimer: This article is a blogger original article, shall not be reproduced without the bloggers allowed. https://blog.csdn.net/weixin_39675633/article/details/79086784

latex Chinese Templates

\documentclass[a4paper]{article}
\usepackage[a4paper,margin=0.75in]{geometry}
\usepackage{CJKutf8}
\usepackage[unicode={true}]{hyperref}
\usepackage{amsmath}
\usepackage{cases}
\usepackage{tikz}
\usepackage[all,pdf]{xy}
\usepackage{graph icx}

\ Renewcommand {\ contentsname} {} Directory

\ Title {} is the title of this

\ Author {author's name}

\begin{document}
\begin{CJK*}{UTF8}{gkai}
\maketitle

\tableofcontents

This is one of my documents
\ newpage

\end{CJK*}
\end{document}

Guess you like

Origin blog.csdn.net/weixin_39675633/article/details/79086784