當前位置:編程學習大全網 - 網站源碼 - latex怎麽做index

latex怎麽做index

給個例子吧:

\documentclass{article}

%在導言區加入:

\usepackage{makeidx}

\makeindex

\begin{document}

%正文中加入index:

This?is?my?key\index{key}.

This?is?my?second?palace\index{key!palace}?that?has?a?key.

%列出index:

\printindex

\end{document}

編譯流程:

latex?input.tex

makeindex?input.idx

latex?input.tex

上面的latex換成pdflatex也成。

  • 上一篇:閃戰象棋遊戲源代碼
  • 下一篇:誘導支付視頻源代碼
  • copyright 2024編程學習大全網