使用 Euclid Symbol 和 Euclid Extra 作为数学字体 (ttf) by overleaf

使用 Euclid Symbol 和 Euclid Extra 作为数学字体 (ttf) by overleaf

有没有办法让我的数学字体在 Overleaf 上使用上述 TrueType(ttf) 字体?非常感谢您的指导。这是我的 MWE

\documentclass[12pt,a4paper]{article}
\usepackage{fontspec} % allows loading of system font
\usepackage{amsmath}
\usepackage{enumitem}
\usepackage{amssymb}
\usepackage{geometry}
\geometry{
a4paper,
total={170mm,257mm},
left=20mm,
top=20mm,
}
\usepackage{unicode-math}
\setmathfont{Euclid Symbol Regular.ttf}
%\setmathfont{Tiger Expert.ttf}
\setmathfont{Euclid Extra Regular.ttf} % replace with your desired font
\setmainfont{times new roman.ttf}[
ItalicFont = times new roman italic.ttf ,
BoldFont = times new roman bold.ttf ,
BoldItalicFont = times new roman bold italic.ttf,
]
\begin{document}
\begin{enumerate}[font=\bfseries,labelsep=0.5cm, leftmargin=*]
\item \begin{enumerate}
\item Expand and simplify the binomial expansion $\left(1+\dfrac{x}{5}\right)^7$\hfill(2 marks)
\vspace{5cm}
\item Use the expansion in (a) above to estimate the value of $\left(1.04\right)^7$\hfill(2 marks)
\vspace{4cm}
\end{enumerate}
\item  If $\textbf{A}=\begin{pmatrix}
5&-1\\
2&2
\end{pmatrix}$ and $\textbf{B}=\begin{pmatrix}
-4&3\\
1&-2
\end{pmatrix}$, find the matrix \textbf{X} such that $3\textbf{A}-2\textbf{B}+3\textbf{X}=0$
\end{enumerate}
\end{document}

相关内容