我使用 TexMaker 编写了这个 LaTeX 文件,但我不知道为什么 PDF 文件中没有索引。请告诉我我错在哪里。
\documentclass[10pt,twoside,a4paper]{book}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{makeidx}
\author{A H}
%define the title
\title{Modern Real Analysis}
\makeindex
\begin{document}
%generates the title
\maketitle
%insert the table of contents
\tableofcontents
\chapter{Measure Theory}
In this chapter we introduce new definitions .....
\section{Summery}
\chapter{Topologycal Aspects}
The Riesz Representation Theorem and \index{Regular Borel measures} are most important things in this chapter ....
\section{Summery}
\chapter{Lebesgue measure in $\mathbb{R}^{n}$}
This part want generalized ....
\section{Summery}
Page2 : \index{Alpha}
\printindex
\end{document}
答案1
在 TeXmaker 中运行 Quickbuild,然后从菜单 Tools->Makeindex,然后再次运行 Quickbuild。或者按 F1、F12、F1。