更大的“點”作為重音符號

更大的“點”作為重音符號

我想在字母上製作一個更大的(粗體)點符號,但是當我使用包“accents”時,它會與其他使用過的包發生衝突(我推測),並且我收到一條錯誤訊息:

   ERROR: Missing number, treated as zero.

問題的根源是:

$\dot{A}$

該函數\dot{}工作沒有問題,但僅當我使用套件“accents”時,即使我不使用該套件的任何函數,它也會導致錯誤。

\usepackage{accents}

編輯(添加了最小不工作示例):

\documentclass[16pt, oneside]{book}
\usepackage[utf8]{inputenc}

% Custom font
\usepackage{fontspec}
% For math symbols ...
\usepackage{unicode-math}
%\setmainfont{Liberation Serif}
\setmathfont{Libertinus Math}

\usepackage{amsmath}

% Bigger dot symbol
\usepackage{accents}

\begin{document}

haahahahaha $\dot{A}$

\end{document}

在上面的範例程式碼中,它顯然與\setmathfont{Libertinus Math}.

相關內容