Questions tagged [indexing]

{indexing} is about creating an index or similar lists for your document, usually by means of executing makeindex.

Filter by
Sorted by
Tagged with
0 votes
0 answers
5 views

Correct way to add index letters to TOC

First a MWS and its output are as follows. \documentclass[a4paper, 10pt]{book} \usepackage{hyperref} \usepackage{imakeidx} \makeindex \usepackage{filecontents} \begin{filecontents}{\jobname.mst} ...
user avatar
  • 2,757
1 vote
0 answers
10 views

Adding authors to index from citations [duplicate]

I’m writing a book, and using bibtex for references. I’d like to add entries for cited authors to the index, and am wondering if there’s a package or other way to do this automatically. So, if I cite ...
user avatar
  • 2,795
0 votes
1 answer
36 views

making an index of words in texstudio

so i want to make an index that shows where certain words appear in which pages in the output pdf let's say I have a document that contains a certain amount of the word "avocado" and at the ...
user avatar
0 votes
1 answer
24 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
0 votes
0 answers
15 views

Make the usepackage sanitize-umlaut work

The index list at the end as a register of all \index{...} is sorted alphabetically. However, non-standard characters like German umlauts are by default treated as symbols and, therefore, placed at ...
user avatar
0 votes
1 answer
17 views

Make index refer to \poemtitle (verse package) instead of page number

I try to make an “index of rhymes” in a poem collection. So, I began to set an index called “Index of rhymes”: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{imakeidx} \usepackage{verse} ...
user avatar
  • 2,080
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
34 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
0 votes
0 answers
28 views

Using xindy with MiKteX (tex2xindy seems broken)

I'm trying desperately to use the xindy utility (v. 2.5.1, packaged on 2022-03-29) with theimakeidx package . (Incidentally my aim is to use XeLaTeX, with the intent to create several indices using ...
user avatar
  • 3,779
0 votes
2 answers
58 views

Can I get a List of Poems to include only poems from a specified group?

In the poetry anthology I'm compiling, the poems are fairly unsorted (and since it followed hand-written notes, that can't be changed). I would like to create a handful of groups, such as War, Love, ...
user avatar
  • 75
0 votes
1 answer
44 views

LyX: Index title does not align with section titles

When adding an index in a LyX document, the title "Index" (or its modified name) does not vertically align with other section titles in the output. There is more vertical space above it. ...
user avatar
  • 101
1 vote
0 answers
60 views

Issues with the Numbering of a Bible Verse Index

I've been trying to create a Bible verse index for a Bible project, and I currently have some problems with the numbering of the books in the index. Here's my MWE: \documentclass[12pt]{report} \...
user avatar
0 votes
0 answers
16 views

error on pagebreak in index of makeindex when using center environment in footer of package scrlayer-scrpage

I run into strange compilation errors regarding the combination of packages scrlayer-scrpage and makeidx. I reduced this to the following case Define a footer via \cfoot* that contains a center ...
user avatar
0 votes
0 answers
29 views

index of an URL after item disappears

Inside \begin{itemize} , if I add a \index{text} after the \item, the "text" from the index appears in the index after \printindex but disappears from the PDF file in the original position ...
user avatar
0 votes
0 answers
14 views

Combining index references on a page

The entry for "crux" in the printed index from the source below shows page 1 twice, once for \index{crux|mainref} and again for the other \index{crux...} items. How can those page references ...
user avatar
  • 6,382
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,907
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,907
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,907
0 votes
1 answer
28 views

Multilingual bibliography and automatic indexing

I use biblatex to build: An automatic index of the cited author of the bibliography. A bibliography in a single language with the punctuation rules taken from langid of each entry. As discussed in ...
user avatar
  • 29
2 votes
1 answer
58 views

Is There a Proper Place to Put Indexing Syntax in the Code?

Consider the code: \documentclass[openany]{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \begin{document} \thispagestyle{empty} \Large This is a sentence. This is another \textbf{...
user avatar
  • 4,907
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
4 votes
0 answers
34 views

Indexing terms with accents in footnotes

I have a problem when I use \index to index a term with an accent in a footnote. The index key created is not the same as if I use \index to index the same term outside of the footnote. This causes ...
user avatar
2 votes
1 answer
56 views

How can I move index title to centre?

\documentclass[12pt]{book} \usepackage{index} \usepackage{parskip} \makeindex \begin{document} To record the full absorption spectrum\index{Absorption spectrum}, the colour of the incident light is ...
user avatar
  • 123
0 votes
0 answers
21 views

Creating an index of equations in Overleaf [duplicate]

I am working on my thesis on an overleaf document in which I use many mathematical equations, labeled and numbered from \begin{equation} and it works very well. My intention is to incorporate an index ...
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,907
0 votes
2 answers
36 views

Adding text on last index page in Memoir class

Working in the memoir class, I would like to add some content on the final page of an index. Is there a simple way of doing this? There is no \postindexhook to match \preindexhook [though there is a \...
user avatar
1 vote
1 answer
34 views

Why This Code Eliminating Index Commas Works for \jobname.mst and Not for \jobname.ist

This post is an addendum to How to Universally Remove the Comma from Each Index Entry. In the link, I was looking for a universal way to remove the comma in each index entry. Werner advised to include ...
user avatar
  • 4,907
0 votes
1 answer
47 views

Process index of l3doc file / of .dtx file

I understand that .dtx files are a way to both document and implement a package in one file together. Also, in newer versions, usually pdflatex package.dtx should typeset the documentation. I wanted ...
user avatar
2 votes
1 answer
43 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,907
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
0 votes
1 answer
30 views

More than two page formats for \label / \ref and \index with imakeidx

I'm copying a large antique religious book that has multiple page number formats. In addition to roman and arabic page numbers, there are several additional sections with page numbers such as [1], 1*,...
user avatar
2 votes
1 answer
62 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,907
1 vote
1 answer
26 views

LyX adds unwanted sorting key into index entries

I am writing a document in the memoir document class, using LyX. The document main language is Hebrew (minority of the document is in English), and I use polyglossia and XeTeX to handle the languages, ...
user avatar
  • 298
1 vote
0 answers
23 views

Inserting Vertical Space Before Index Heading Items with Filecontents

I recently discovered a seemingly simple way to insert vertical space immediately before new index headings using filecontents--- Consider the code \begin{filecontents*}{\jobname.mst} item_0 "\n\\...
user avatar
  • 4,907
1 vote
0 answers
26 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,907
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,907
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,907
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,907
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,907
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,907
1 vote
1 answer
43 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,907
0 votes
0 answers
30 views

same height of numbers and letters in an index place

How create same height of a number (zero) and a letter (e) in an index place? Example of the case the code: T_{e,0} the wrong output of a different height in the indexing between e and 0:
user avatar
  • 155
4 votes
1 answer
87 views

Math Symbols in Index (makeindex)

I want to have the following Symbol in my Index (with makeindex): $\| \cdot \|_X$ I tried alot, however nothing worked, it wont show. I tried: Test\index{Norm!1@$|| \cdot ||$} Test2\index{Norm!1@$1_X$...
user avatar
2 votes
1 answer
47 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,907
1 vote
1 answer
59 views

How to Selectively Remove the Comma in an Index Entry

In an index, I would like to be able to remove the comma that immediately precedes the page number for certain entries only. Consider the MWE \documentclass{book} \usepackage{imakeidx} \let\...
user avatar
  • 4,907
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
0 votes
0 answers
9 views

Add a paragraph of text inside a Nomencl environment

I am currently trying to write a notation index, and am starting with the code suggested by quark67 in this answer, and essentially end up with something that looks like this: This is fine, except I'...
user avatar
  • 175
0 votes
1 answer
37 views

Removing emphasis from Xindy title index entries

Problem: I am creating author, title and subject indexes using imakeidx, biblatex with indexing=true and Xindy. The indexes are being created properly but the title index contains the entries in ...
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,907

1
2 3 4 5
27