You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
LaTeX 代码如下:
% !TEX program = XeLaTeX
%\documentclass{article}
\documentclass{ctexart}
%\documentclass[fontset = adobe]{ctexart}%% 指定使用 Adobe 中文字库
%\documentclass[fontset = founder]{ctexart}%% 指定使用 方正 中文字库,支持 pdflatex 编译
\usepackage{mathtools}
\xeCJKsetup{CJKspace=true}
\xeCJKDeclareCharClass{CJK}{
0 ->
9,.,
≈, `%, "3400 -> "4DBF}\pagestyle{empty}%% 不显示页码
%\thispagestyle{empty}%% 不显示当前页页码\usepackage{times}\usepackage{times}
\begin{document}
\CJKfamily{zhkai}
$$
\text { 比重 }=\frac{\text { 部分 }}{\text { 整体 }}=\frac{\text { 海水养殖产品 }}{\text { 海水养殖产量 }+ \text { 淡水养殖产量 }}=\frac{\text {234.62}}{\text {234.62+302.79}} \text { ≈ 43.7 %}
$$
\end{document}
%% 参考:链接
%%% https://www.zhihu.com/question/318626076
%%% LaTeX 中如何对正文中的数字应用 setCJKmainfont 设置的字体?
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
效果如图:
Beta Was this translation helpful? Give feedback.
All reactions