
我的 LaTeX 如下所示(我省略了一些內容):
\documentclass{amsbook}
\usepackage{fancyhdr,etoolbox}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[LO]{\nouppercase\rightmark}
\fancyhead[RE]{\nouppercase\leftmark}
\newcommand{\set}{\mathsf{Set}}
\newcommand{\grp}{\mathsf{Gr}}
\newcommand{\ab}{\mathsf{Ab}}
\newcommand{\grd}{\mathsf{Grpd}}
\newcommand{\ring}{\mathsf{Ring}}
\renewcommand{\contentsname}{Table of contents}
\makeatletter
\patchcmd{\@tocline}
{\hfil}
{\leaders\hbox{\,.\,}\hfil}{}{}
\makeatother
\begin{document}
\pagestyle{plain}
\frontmatter
\title{\textsc{AAAZZZ}}
\author{LZ}
\maketitle
\chapter*{Abstract}
The goal of this notes is to describe \ldots
\chapter*{List of Abbreviations and Symbols}
\tableofcontents
\mainmatter
\cleardoublepage
\pagenumbering{arabic}
\pagestyle{fancy}
\chapter{Preliminaries on A}
\chapter{Results on Z}
\appendix
\chapter{More results on Z}
\backmatter
\begin{thebibliography}{10}
\end{thebibliography}
\end{document}
我想列出一些我自己定義的符號(如上面的程式碼):
\newcommand{\set}{\mathsf{Set}}
\newcommand{\grp}{\mathsf{Gr}}
\newcommand{\ab}{\mathsf{Ab}}
\newcommand{\grd}{\mathsf{Grpd}}
\newcommand{\ring}{\mathsf{Ring}}
(一一代表集合、群、阿貝爾群、群群、環的類別)在我之前的「縮寫和符號列表」一章(僅1或2頁)toc
。我找到了一些相關的方法這裡,這裡和這裡nomencl
,但在我的情況下,使用或都不起作用glossaries
。如何調整至少其中一個才能使其發揮作用?
還有一個問題:在我上述的情況下,如何使用法語和可能的其他帶有重音的語言(在英文文本中),例如“étale,Ngô Bảo Châu”(而不是每次都使用\'etale 等,因為我使用常常這樣)?