Questions tagged [imakeidx]

Package that allows the index or indices, that are usually typeset at the very end of the document, are to be split and sorted so as to include them in the document itself. Note: this requires the `-shell-escape` option

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

How to Specify the Gap Between Index Entries

The code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage[itemlayout=singlepar]{idxlayout} \begin{document} \LARGE This is the first paragraph.\index{...
user avatar
1 vote
0 answers
21 views

Package imakeidx not printing index voices/items into the Index chapter

Good evening everyone. I have a problem with the package imakeidx, coding on Overleaf (XeTeX engine, TeX Live 2021) a master's thesis. This is an example of my main.tex document, which produces the ...
user avatar
1 vote
1 answer
18 views

Line breaks in \index commands cause same entries to appear as different ones in the index

If there are two \index{} commands containing the same string, but one with a line break, then that item appears as two different items in the index. See the MWE below (copy it with the line break in ...
user avatar
0 votes
0 answers
33 views

How to add category "Figures" before "A" in index?

I'd like to create a category (letter group) named "Figures" before the first letter "A" in the index. The following correctly puts "Figure description, 1" in its own ...
user avatar
3 votes
0 answers
41 views

How to Prevent Idxlayout's Placement of a Semicolon within the Content of an Index Entry for Paragraph-Type Delineations

Consider the code \documentclass{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} %\usepackage[itemlayout=singlepar]{idxlayout} \begin{document} \Large Some words.\index{Examples@\...
user avatar
  • 4,775
4 votes
1 answer
72 views

How to Delineate All Index Entries Under a Heading Horizontally as a Paragraph

Consider the code \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \Large Some words.\index{Heading@\textbf{Heading}! 1. This is ...
user avatar
  • 4,775
1 vote
1 answer
33 views

Adding a Period After the Page Number When Using Idxlayout

Consider the code \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \begin{document} \Large \noindent Some words.\index{\textbf{How to add a period after the page ...
user avatar
  • 4,775
0 votes
1 answer
16 views

avoiding gap on the left in index when multiple entries

When I am making an index with multiple columns and when a word is indexed a big number of times, sometimes it appears on two lines, or more, in the index. But in the lines after the first one, there ...
user avatar
  • 181
1 vote
1 answer
31 views

Add number, inside the table of contents, to the Index printed with \printindex from imakeidx

I have almost done with my document, but the problem is that when I print my Index, the table of contents is not showing me the corresponding number (I want to make it as a chapter). So, I used \...
user avatar
2 votes
1 answer
44 views

Defining a "See, for Example, Someplace Else in the Index" Command

Consider the following code: \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \newcommand{\forexample}[2]{\emph{ See, for example,} #1} \begin{document} \large Some ...
user avatar
  • 4,775
2 votes
1 answer
42 views

Difference Between Filecontents and Filecontents* and When to Use One Instead of the Other

I have recently been experimenting with different ways to replace the comma in the Index with a different symbol. The following code replaces the said comma with a blank space. \begin{filecontents}{\...
user avatar
  • 4,775
0 votes
1 answer
28 views

Using an \index format which changes based on section of the document

I am copying a long book with musical pieces throughout, set with gregorio tex. Each musical piece has a \label and is entered in one of several indexes created using imakeidx. The document has ...
user avatar
2 votes
1 answer
58 views

How to Universally Remove the Comma from Each Index Entry

This question extends the one recently posed in How to Selectively Remove the Comma in an Index Entry In the above post, it was answered that by inserting \newcommand\textbfnocomma[2]{\textbf{#1}} ...
user avatar
  • 4,775
1 vote
0 answers
25 views

Setting the General Space Between the Letter Groups in an Index with \Indexspace

Update In light of David Carlisle's very helpful comment providing a simple, efficient solution to setting the space between letter groups in an idxlayout index, I have modified the title a bit to ...
user avatar
  • 4,775
1 vote
1 answer
48 views

How to Allow Hyphenation in the Index While Forbidding It in the Rest of the Document

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{lipsum} \usepackage[none]{hyphenat} % To prevent hyphenation \...
user avatar
  • 4,775
1 vote
1 answer
36 views

Specifying the Index Font Size to be Other Than Normalsize or Small

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex %\usepackage{idxlayout} \usepackage[font=small]{idxlayout} \usepackage{lipsum} %\indexsetup{...
user avatar
  • 4,775
1 vote
0 answers
34 views

See (Elsewhere) in the Index; What am I Doing Wrong?

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \begin{document} \Large Some words.\index{HEADING@\textbf{\textit{...
user avatar
  • 4,775
1 vote
1 answer
31 views

A Blank Line Appears Between Consecutive Index Entries When Top Entry Extends Too Far to the Right

Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \newcommand{\beforeheadspace}{.7ex}% <<<<<<<<<&...
user avatar
  • 4,775
3 votes
1 answer
63 views

In Trying to Extend a Simon Dispa Answer for Adding Vertical Spacing at Certain Points in the Index---a Curious Thing Happened

This post relates to trying to extend Simon Dispa'a answer given in Prescribing Certain Vertical Spacing for Idxlayout Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\...
user avatar
  • 4,775
0 votes
0 answers
32 views

Code Listing in second Index using imakeidx and macros

I am writing a LaTeX document containing Python code, which I include using the Listings package through a macro called \example{}. It uses another macro called \code{} that also uses the Listings ...
user avatar
1 vote
1 answer
42 views

How to Specify a Fixed Gap to Precede Each New Heading in the Index

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex %\usepackage[font=small]{idxlayout} \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \...
user avatar
  • 4,775
2 votes
1 answer
46 views

Adjust Spacing Between the Comma and Page Number in the Index

Consider the code, \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \large \noindent Some words.\index{How to adjust (i.e., ...
user avatar
  • 4,775
3 votes
1 answer
132 views

Combination hyperref, imakeidx and glossaries: not sure how to get desired effect

When I embed a glossary entry as part of the argument for the index (example here: \index[m]{\gls{ccc}} ), the index groups the entry under 'symbols', rather than the begin letter of the glossary ...
user avatar
  • 95
2 votes
1 answer
67 views

How to get an index entry pointing to the exact location, rather than the page

It's hard to find where exactly an indexed term is defined in my article, when reading the PDF version. When you click on the link in the index table, say for the keyword "Laplace distribution&...
user avatar
2 votes
1 answer
38 views

On the Placement of a "See Also" Index Comment

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex %\usepackage[font=normalsize]{idxlayout} \usepackage{idxlayout} \usepackage{xcolor} \begin{...
user avatar
  • 4,775
5 votes
2 answers
69 views

Order of Entries in Index

I am working on an index of first lines for a poetry book and would like the punctuation of the lines NOT to affect the order in which they appear in the index. For example: Now entries appear in the ...
user avatar
0 votes
0 answers
20 views

Splitindex doesn't want to dotfill

I have some fairly simple code that doesn't seem inclined to put up a nice dotfill as I want in my indices. I'm running LuaLaTeX, splitindex, LuaLaTeX. Is there a way to force my style onto the index?...
user avatar
1 vote
1 answer
37 views

Modifying a Makeindex Algorithm to Remove Page Numbers on a Selective Basis Only

I have extracted the following code from an answer in Remove page number from index entries which removes the page number from each index entry: \documentclass{article} \usepackage{xcolor} \usepackage{...
user avatar
  • 4,775
2 votes
1 answer
80 views

A Disappearing Index Entry with Idxlayout

In the past, I have put together some rather large index entries in terms of content without encountering any problems. However, I have discovered that when I add some color, there seems to be a ...
user avatar
  • 4,775
0 votes
0 answers
20 views

Formatted index entry: superscript

Is it possible to write part, and only part of a name in superscript in an entry of an index: Like this If I write this \index[lugares]{Agostinho, S.@\textsuperscript{to}} The output will be an entry ...
user avatar
  • 85
2 votes
2 answers
67 views

Looking for an Optimal Way to Change the Font Size of Index Entries Only (Not Headings or Subheadings)

This post is a bit of an extension of the one posed in \indexsetup{othercode=\FONTSIZE} Not Changing Fontsize with Idxlayout When one specifies an index font size with idxlayout as such: \usepackage[...
user avatar
  • 4,775
0 votes
1 answer
55 views

\indexsetup{othercode=\FONTSIZE} Not Changing Fontsize with Idxlayout

Consider the code \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{lipsum} %\usepackage[font=footnotesize]{idxlayout} \...
user avatar
1 vote
1 answer
60 views

Prescribing Certain Vertical Spacing for Idxlayout

Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{xcolor} \begin{document} \large A sentence.\index{VON GOETHE@\...
user avatar
  • 4,775
1 vote
1 answer
64 views

How to Make Index Recognize an Exclamation Point as Part of an Entry

I would like to add an entry in an index which makes use of an exclamation point as an article of grammar. However (of course), Latex treats it as if I want to begin a subentry. Consider the following ...
user avatar
  • 4,775
1 vote
1 answer
69 views

Getting Special Item Labels to be Cited Correctly in the Index

Consider the code \documentclass[openany]{book} \usepackage{tcolorbox} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \makeatletter \def\@wrindex#1#2{% \imki@wrindexentrysplit {#1}{#2}{\...
user avatar
  • 4,775
1 vote
1 answer
54 views

On Makeindex, Subentries, and Stackengine (and No Xindy)

It seems to be a well-known defect with \makeindex that the number of levels of an index entry is capped at three. For example, if I run the code \documentclass{book} \usepackage{imakeidx} \let\...
user avatar
1 vote
1 answer
47 views

Changing the Letter Color of a Tikz Bclogo Index Heading

Consider the code \RequirePackage{filecontents} \begin{filecontents*}{\jobname.mst} %delim_0 "\\IndexDotfill " %delim_1 "\\IndexDotfill " headings_flag 1 heading_prefix " \\...
user avatar
  • 4,775
1 vote
1 answer
37 views

How to Simply and Selectively Eliminate the Page Number of an Index Entry

I have learned that one may selectively make bold the page number of an Index entry by the use of |textbf at the end of the \index command. For example, consider \documentclass{book} \textwidth=6.75in ...
user avatar
  • 4,775
1 vote
1 answer
79 views

An Index for an Enumerate Document

Consider the code \documentclass{book} \usepackage{tcolorbox} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \newtcbox{\blackbox}[1][]{nobeforeafter, notitle, %sharpcorners, colframe=...
user avatar
  • 4,775
2 votes
0 answers
47 views

How to Specify pgfpages 2 on 1 Output for a Range of Pages Only

Consider the following code: \documentclass[openany]{book} \usepackage{lipsum} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{pgfpages} \pgfpagesuselayout{2 on 1} \begin{document}...
user avatar
  • 4,775
0 votes
1 answer
33 views

Little help to format my .ist

I don't really get the wording of ist files to format an index. Based on this post to format the ist. When I try to apply bf series to first level item in my index, I get an error as in the MWE below....
user avatar
  • 2,447
0 votes
0 answers
17 views

Cannot change Index title with \tcbuselibrary{documentation}

I use tcblistings with minted engine in tcolobox package for embedding code and package imakeidx for indices. In the documentation, tcolobox suggests that: For minted [12] support, load: \...
user avatar
1 vote
0 answers
38 views

Index Entries Disappear with the Use of pgfpagesuselayout{2 on 1}

Consider the index generated by the following code: \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{pgfpages} %\pgfpagesuselayout{2 on 1} \begin{document} ...
user avatar
  • 4,775
2 votes
0 answers
67 views

How to Replace Page Numbers by Item Numbers in the Index

Consider the MWE \documentclass{article} \hoffset 10pt \voffset -45pt \oddsidemargin 12pt \evensidemargin 10pt \topmargin 35pt \headheight 25pt \textheight 8.35in \textwidth 6.25in \headsep 25pt \...
user avatar
  • 4,775
0 votes
1 answer
59 views

The \tableofcontents in \tcolorbox without title=Contents

About this photo, I'd like that (1) the numbers (I, 1, 1.1, 1.1.1, II, 2, 2.1, 2.1.1) and relative pagenumbers have the same size and color of what represent, i.e. (I ... First Example Part ... 3 must ...
user avatar
  • 793
1 vote
2 answers
118 views

No grouping for one index using \imakeidx

I have a large project with multiple indexes in LuaLaTeX. Is there a way to use \imakeidx perhaps with a .ind file to have just one of these indexes 'turn off' grouping so that each level 0 item is ...
user avatar
0 votes
0 answers
48 views

Making one index by page and another by section?

I've figured out how to make an second index, and I've found a reference on how to include the section number in the index, and I've found a reference on how to markup different indexes differently, ...
user avatar
  • 157
1 vote
1 answer
56 views

Sub entry in index with acro/imakeidx

I am missing something on how to enter a sub-entry in the index generated by acro/imakeidx. assetclass not understood as a sub-entry of asset. \documentclass{book} \usepackage{acro} \usepackage{...
user avatar
  • 2,447
0 votes
1 answer
48 views

imakeidx biblatex indexes not being placed in the correct locations

I am attempting to create three indexes for a document (subject, author and title) but the author and subject indexes are being loaded into the incorrect sections. I have tried changing \...
user avatar
0 votes
0 answers
35 views

How to Have the Index Display ``Ibid''

Consider the code \documentclass{article} \usepackage{makeidx} \makeindex \usepackage{filecontents} \usepackage[style=verbose-trad2,ibidpage=true]{biblatex} \begin{filecontents}{\jobname.mst} ...
user avatar

1
2 3 4 5
7