如何變更 LyX 目錄中的字體類型

如何變更 LyX 目錄中的字體類型

大家好,我想將用 LyX 編寫的文檔目錄的字體類型更改為 Calibri(我已經安裝了它,文檔的其餘部分是 calibri)

文件類別:文章頁尺寸:A4

謝謝

我的目錄: 在此輸入影像描述

我想要的字體: 在此輸入影像描述

最少的工作代碼:

%% LyX 2.3.6.1 created this file.  For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english]{article}
\usepackage{fontspec}

\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
\usepackage{xcolor}
\usepackage{fontspec}
\setmainfont{Calibri}

\makeatother

\usepackage{polyglossia}
\setdefaultlanguage[variant=american]{english}
\begin{document}
\title{Title}
\author{By}
\author{Author}

\maketitle
\newpage

\tableofcontents{}

\newpage

\section{Section 1}

The quick brown fox jumps over the lazy dog

相關內容