색인 제목 스타일이 다릅니다.

색인 제목 스타일이 다릅니다.

다음과 같은 문서가 있습니다(MWE).

\documentclass[10pt,twoside,final]{book}

\usepackage{xltxtra}
\usepackage{fontspec}

\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage[hang,flushmargin]{footmisc}
\usepackage[titles]{tocloft}
\usepackage[absolute]{textpos}

\usepackage[initsep=16pt,unbalanced=false]{idxlayout}
\usepackage{index}                             
\newindex{default}{idx}{ind}{First index}              

\begin{document}
        \chapter{First}

        Lorem ipsum \index{Lorem@ipsum} et dolorem.

        End of first chapter.

        \printindex

\end{document}

그리고 인덱스 헤더는 다른 것과 다릅니다.

idxlayout어떻게든 (어쩌면 자신의 스타일 파일일 수도 있음) 사용할 수 있다는 것이 나에게는 분명합니다 . 하지만 시도할 때마다 늘 실패했어요.

버전(페도라 20):

xelatex -v
XeTeX 3.1415926-2.6-0.9999.3 (TeX Live 2014/dev)
kpathsea version 6.2.0dev
Copyright 2013 SIL International and Jonathan Kew.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the XeTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the XeTeX source.
Primary author of XeTeX: Jonathan Kew.
Compiled with ICU version 50.1.2; using 50.1.2
Compiled with zlib version 1.2.8; using 1.2.8
Compiled with FreeType2 version 2.5.0; using 2.5.0
Compiled with Graphite2 version 1.2.2; using 1.2.2
Compiled with HarfBuzz version 0.9.24; using 0.9.24
Compiled with fontconfig version 2.11.0; using 2.11.0
Compiled with libpng version 1.6.3; using 1.6.3
Compiled with poppler version 0.24.3

답변1

idxlayout문서 의 섹션 2.3에 명시된 대로 index패키지는 idxlayout. 로드 순서가 올바른 경우 색인 제목은 다른(번호가 지정되지 않은) 최상위 섹션 제목(MWE: 장)과 같은 형식으로 지정됩니다.

관련 정보