Skip to content

Commit

Permalink
new file: s.tex
Browse files Browse the repository at this point in the history
	modified:   test5.tex
	modified:   test7.tex
  • Loading branch information
mengchaoheng committed Dec 21, 2024
1 parent 580f235 commit 50b58de
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 38 deletions.
19 changes: 19 additions & 0 deletions s.tex
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
\documentclass{article}
\usepackage{unicode-math}
\setmathfont{Latin Modern Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{Asana Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{TeX Gyre Pagella Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{TeX Gyre Termes Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{TeX Gyre DejaVu Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{Libertinus Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{Garamond-Math}%[math-style=ISO,bold-style=ISO]
% \setmathfont{Fira Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{STIX Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{XITS Math}[math-style=ISO,bold-style=ISO]
% \setmathfont{Latin Modern Roman}[math-style=ISO,bold-style=ISO]

\begin{document}
$A_i$, $W_i$

$A^i$, $W^i$
\end{document}
2 changes: 1 addition & 1 deletion test5.tex
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@

固定下标: $R_\mathrm{earth}, E_\text{total}$ (直体)

加权矩阵$\symbf{A}_{i}$${{\boldsymbol{W}}_{2}}$ 是对称矩阵,且$ {{\boldsymbol{W}}_{2}}$非奇异。 \label{assum_dca1}
加权矩阵$\symbf{A}_{i}$${{\boldsymbol{W}}_{2}}$ 是对称矩阵,且$ {{\boldsymbol{W}}_{2}}$非奇异。

2.2 混合上标与下标

Expand Down
83 changes: 46 additions & 37 deletions test7.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,60 @@
\setmainfont{Times New Roman}
\setCJKmainfont{SimSun}
\usepackage{unicode-math}
\setmathfont{XITS Math}[math-style=ISO,bold-style=ISO]
\setmathfont{Latin Modern Math}[math-style=ISO,bold-style=ISO]



\def\TAG#1{\tag*{\scriptsize\ttfamily\textbackslash#1}}


\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
这是正文部分,中文使用 SimSun 字体,英文使用 Times New Roman 字体。

文本环境abcdefghijklmnopqrstuvwxyz文本环境。

行间公式环境$\mathup{abcdefghijklmnopqrstuvwxyz}$
% 行间公式环境$\mathup{abcdefghijklmnopqrstuvwxyz}$。

行间公式环境${abcdefghijklmnopqrstuvwxyz}$

公式环境:

${{\boldsymbol{\omega }}^{B}}=[\boldsymbol{p \quad q \quad r}]^{T}$

${{\boldsymbol{\omega }}^{B}}=[p \quad q \quad r]^{T}$

英文字母小写:
\begin{equation}
abcdefghijklmnopqrstuvwxyz
\end{equation}
\begin{equation}
\boldsymbol{abcdefghijklmnopqrstuvwxyz}
\end{equation}
\begin{equation}
\mathrm{abcdefghijklmnopqrstuvwxyz}
\end{equation}
\begin{equation}
\mathbf{abcdefghijklmnopqrstuvwxyz}
\end{equation}

英文字母大写:
ABCDEFGHIJKLMNOPQRSTUVWXYZ

\begin{equation}
ABCDEFGHIJKLMNOPQRSTUVWXYZ
\end{equation}
\begin{equation}
\boldsymbol{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\end{equation}
\begin{equation}
\mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\end{equation}
\begin{equation}
\mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
\end{equation}
$A_i$$W_i$

$A^i$$W^i$

% 公式环境:

% ${{\boldsymbol{\omega }}^{B}}=[\boldsymbol{p \quad q \quad r}]^{T}$。

% ${{\boldsymbol{\omega }}^{B}}=[p \quad q \quad r]^{T}$。

% 英文字母小写:
% \begin{equation}
% abcdefghijklmnopqrstuvwxyz
% \end{equation}
% \begin{equation}
% \boldsymbol{abcdefghijklmnopqrstuvwxyz}
% \end{equation}
% \begin{equation}
% \mathrm{abcdefghijklmnopqrstuvwxyz}
% \end{equation}
% \begin{equation}
% \mathbf{abcdefghijklmnopqrstuvwxyz}
% \end{equation}

% 英文字母大写:
% ABCDEFGHIJKLMNOPQRSTUVWXYZ

% \begin{equation}
% ABCDEFGHIJKLMNOPQRSTUVWXYZ
% \end{equation}
% \begin{equation}
% \boldsymbol{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
% \end{equation}
% \begin{equation}
% \mathrm{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
% \end{equation}
% \begin{equation}
% \mathbf{ABCDEFGHIJKLMNOPQRSTUVWXYZ}
% \end{equation}
\end{document}

0 comments on commit 50b58de

Please sign in to comment.