
皆さんこんにちは。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