The ctex
package has a fontset=
option, which supports the values
adobe|fandol|founder|mac|macnew|macold|ubuntu|windows|none
On Windows, you can install Chinese fonts as an optional feature from the Apps and Features control panel. This will use SimSun. I compiled in LuaLaTeX rather than PDFLaTeX:
\documentclass{article}
\usepackage[UTF8, fontset=windows]{ctex}
\begin{document}
regular 固态
\textbf{bold 固态}
\end{document}

Examining the source on page 66 of the manual, which, unlike Chinese, I am able to read, ctex
defines the command \setCJKmainfont
, which you can use to set an arbitrary font. (It also has \setCJKsansfont
and \setCJKmonofont
.) This would allow someone on another OS to compile your document and get the same output. This works on either LuaLaTeX or XeLaTeX:
\documentclass{article}
\usepackage[UTF8, fontset=none]{ctex}
\setCJKmainfont[Scale=MatchUppercase]{Noto Serif CJK SC}
\begin{document}
regular 固态
\textbf{bold 固态}
\end{document}

However, if neither of us can read a manual in Chinese, it is highly likely that all we really need (or I am capable of) is to copy-and-paste some short Chinese phrases into a document in our native language. The babel
package is good for that. This requires LuaLaTeX:
\documentclass{article}
\usepackage[english]{babel}
\usepackage{fontspec}
\babelprovide[import=zh-Hans, onchar=ids fonts]{chinese}
\defaultfontfeatures{ Scale=MatchUppercase, Ligatures=TeX }
\babelfont{rm}
[Ligatures={Common,Discretionary}, Scale=1.0]{New Computer Modern Book}
\babelfont[chinese]{rm}
{Noto Serif CJK SC}
\begin{document}
regular 固态
\textbf{bold 固态}
\end{document}

It even can switch between Simplified Chinese, Traditional Chinese, Japanese Kanji, and more, in the same document.
In your comment, you mention that you ran into one of the big problems with babel
: many of its package options are obsolete, and you must use \babelprovide
to load some languages instead. As I write, Javier Bezos is currently updating the documentation to warn users about this.
simhei.ttf
, which is one of the commercial fonts installed with Windows.updmap
?ctex
will useluatexja
to load fonts, which does have English documentation.ctex
has afontset=
option, which can take the valuesadobe|fandol|founder|mac|macnew|macold|ubuntu|windows|none