% ctex_test.tex
\documentclass[UTF8]{ctexart}
\CTEXsetup[format={\Large\bfseries}]{section} % align right
\pagestyle{plain} % remove top header
\usepackage{fontspec} % Font selection for XeLaTeX; see fontspec.pdf for documentation
\defaultfontfeatures{Mapping=tex-text} % to support TeX conventions like ``---''
\usepackage{xunicode} % Unicode support for LaTeX character names (accents, European chars, etc)
\usepackage{xltxtra} % Extra customizations for XeLaTeX
\setmainfont{Charis SIL} % set the main body font (\textrm), assumes Charis SIL is installed
% other LaTeX packages.....
\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
\geometry{a4paper} % or letterpaper (US) or a5paper or....
\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx} % support the \includegraphics command and options
\title{ä¸äşćĺ}
\author{ }
\date{} % Activate to display a given date or no date (if empty),
% otherwise the current date is printed
\begin{document}
\maketitle
\section{ }
\subsection{ }
\end{document}
Latex ä¸ć Option 2
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
%From Smart Kanji Book template released under CC-BY-SA : https://creativecommons.org/licenses/by-sa/2.0/
%Source : http://smartkanjibook.com/wp-content/uploads/2013/11/free_sample.pdf
%Will only work with xelatex, IPAex fonts and GNU Unifont
\documentclass[a4paper,12pt]{book}
%\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[english]{babel}
\usepackage{graphicx}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{mdframed}
\usepackage{anyfontsize}
\usepackage[colorlinks=true,urlcolor=blue]{hyperref}
\usepackage{ctex}
\usepackage{xpatch}
\usepackage[margin=1in]{geometry}
% \usepackage[fallback]{xeCJK}
% \usepackage{CJKfntef}
% \ExplSyntaxOn
% \xpatchcmd\__xeCJK_check_family:n{\__xeCJK_warning:nxx}{\__xeCJK_info:nxx}{}{}
% \ExplSyntaxOff
% due to unexpected xelatex error with ipaexm.ttf and ipaexg.ttf fonts
% \setCJKmainfont{FandolSong-Regular}
\title{ćä˝ć楣}
\author{ä˝č }
\date{2022-10-12}
\begin{document}
\maketitle
\begin{center}
Š 2013 Thomas Schneider\\
Released under \href{https://creativecommons.org/licenses/by-sa/2.0/}{CC-BY-SA}. If you want to reuse it, please respect the atttribution clause by linking to the \href{http://smartkanjibook.com/wp-content/uploads/2013/11/free_sample.pdf}{original document} (\href{mailto:ts@domainname.com}{emailing me} would also be nice).
\end{center}
\vfill
\paragraph{Many Thanks to:}
\begin{itemize}
\item James Heisig for inspiring this template with his book Remembering the Kanji.
\end{itemize}
\chapter*{Smart Kanji Book Template}
\section*{Inspired by Remembering the Kanji}
\begin{mdframed}
{\fontsize{3em}{3.6em}\selectfont 柢ĺ }
\textbf{ {\Large : keyword } \hfill {\large parts, parts}}
\paragraph{} Story
\begin{description}
\item[word] definition
\end{description}
\end{mdframed}
\end{document}