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
1
vote
1answer
37 views

How to Have \idxlayout Not Treat \dotfill as Part of the Index Entry?

I am trying to incorporate the effect of \dotfill in producing an Index with the idxlayout package. I have tried this very (basic) approach: \documentclass[12pt]{book} \usepackage{imakeidx} \makeindex ...
1
vote
0answers
25 views

Replacing the Page Number in Certain Index Entries with `ib.'

Is there a simple way to have the page number of an index entry indicated by ib. when the previous entry specifies the same page number; for example: \documentclass[12pt]{book} \usepackage{imakeidx} \...
1
vote
0answers
54 views

How to Add an Italicized `n' After the Page Number in Certain Index Entries

I am in the process of typesetting a book that was published in 1877; and which has some unusual index entries; more specifically, an n appears after the listed page number: For example, notice ``...
0
votes
0answers
17 views

index sort accented letters after normal letters (after “Z”)! How to put them in a more logical position?

index sort accented letters after normal letters (after "Z")! Is there a way to put them in a more logical position? For example "àncora" is put after "Zorro", instead of ...
0
votes
1answer
22 views

Prevent incorrect expansion of \! in index

I recently upgraded from texlive-2019 to texlive-2020, and my index command broke. The relevant code is: \newcommand{\BasisChange}[2]{[#2\!\leftarrow\!#1]} A change of basis matrix\index{$\...
1
vote
1answer
22 views

How to automatically index acronyms under a different index entry?

I would like to use scribal abbreviations of the works of Aristotle (e. g. NE or EE), but the author (Aristotle), who may not specifically named or cited, should automatically appear in the Index of ...
1
vote
1answer
23 views

How to get \citeyearpar indexed with imakeidx

I know there is a package indxcite which allows you to get \citeyearpar into the index, but I use the package imakeidx and don't want to change all the commands (e. g. \citeyearpar to \iciteyearpar). ...
0
votes
0answers
17 views

Why latexmk doesn't include index in pdf?

Working command If I use the following command latexmk -pdf -pdflatex="pdflatex -interaction=nonstopmode -shell-escape" filename.tex to compile my .tex file everything works well. (...
1
vote
0answers
25 views

Footnote index does not start at zero [closed]

In my document, I added a footnote. This is my first footnote, however, the index on the bottom of the page shows a 5 instead of a 1. My code for the footnote is as follows: \footnote{TEXT} Answering ...
1
vote
1answer
21 views

How to index words and put their page number on last page?

I have highlighted a number of words in my document using \textbf{} that I would like to collect in a table-of contents (or index) style table with the words on one side and the pages they were ...
0
votes
1answer
29 views

Can the comma in the index be replaced by another character?

I am looking for a simple solution to change index entries so that I get honey • 24 instead of honey, 24. I looked through a couple of articles on influencing the index style (idxlayout customized ...
3
votes
1answer
34 views

Index \see command not italicized in french document

I'm using imakeidx and polyglossia packages, main language: french. I have a nice small index with some \see commands. But the word “voir“ (“see“ in french) printed in the document is not in italics. ...
1
vote
0answers
48 views

Indexing: a better way to handle “see” and “see also”?

I'm just getting into indexing with LaTeX, and I've got a problem. When making an index, it's often necessary to make one term refer to another. When the one term is a synonym of the other (e.g. soda ...
0
votes
1answer
24 views

About order in indexing

In the running text I have: LaTeX \index{subject}{\textsc{prog}}\textsc{prog} Problem: how to get small capital PROG in the P-list rather than in front of the whole index? Thanks for helping me.
0
votes
0answers
98 views

How to enable non-latin delimiters in the index

I have the following setup \usepackage[T1, T2A]{fontenc} \usepackage{fontspec} \usepackage[utf8]{inputenc} \usepackage[english, ukrainian]{babel} \usepackage{imakeidx} \setmainfont{Times New Roman} \...
0
votes
0answers
21 views

Package hyperref disturb index setup

I am using hyperref and imakeidx packages. I'm trying to put semicolon before "see also" reference and to remove commas preceding first page number. I found @Alan Munn's solution to be not ...
3
votes
3answers
80 views

Formatting a two-column index with subitems

I have two problems whilst formatting a two-column index with subitems: \documentclass{scrartcl} \usepackage{imakeidx} \usepackage[indentunit=15pt,justific=raggedright, columnsep=10pt, font=...
2
votes
1answer
32 views

How to remove the last or some item from a sequence?

How I can remove the last item from a sequence? I read the expl3 documentation, what I have is \seq_gpop_left/right, but I don't want to copy the deleted item in some tlist. Also I want to know, for ...
0
votes
0answers
20 views

Use “see under” in index

I'm preparing an index (using the memoir class), and would like to refer to a sub-item thus: ring integral domain, 15 integral domain, see under ring how can I implement "see under"?
1
vote
1answer
29 views

Space too wide between index and section in table of content for second page

I've change the space beetween the index and the section(the number and the title of the section) in the first page of the table of content but it doesn't apply to the second page... What can I do? \...
0
votes
1answer
23 views

How to create an index at the end of the book with overleaf?

I'm trying to make index at the end of the book after all chapters, but I couldn't get it. I'm using the following code in main .tex \usepackage{imakeidx} \makeindex \begin{...
2
votes
2answers
28 views

Homogeneous table of contents changing the font size

I was doing my thesis when I noticed that in the table of content one of the lines got a huge letter. How can I make the font appear in the table of contents on this line equal to that of the other ...
0
votes
0answers
28 views

Why can't I get the Songs package index to generate in Overleaf?

So I know people have asked similar questions and the answer has been "run commands in a terminal", but I've only ever used latex in overleaf, so I don't know what that means. And also I ...
1
vote
0answers
28 views

Is It Possible to Extend an Answer for Chronological Arrangement of Index Sub-entries?

A little while back, I ask how to arrange the sub-entries of a particular index entry in chronological order--- Customizing the Sub-entries of the Index for a Key Person Entry and egreg provided a ...
0
votes
0answers
11 views

How can I combine Index of all chapters at the end in a separate chapter together called “index”?

I used in the main tex this package \usepackage{imakeidx} \makeindex Inside each chapter I used \printindex After the below code with indexes Content of chapter two with three indexes indexone\...
0
votes
0answers
13 views

How to right align wrapped lines in index

I would like to right align the page numbers in my index. I was able to achieve to right align my first line, but unable to do so for the other lines. I tried setting indent_space "\\hfill" ...
0
votes
0answers
36 views

Change , to - in index

How to change , to - in index between the number of the pages? My minimal file: \documentclass[11pt]{book} \usepackage[pagebackref=true, colorlinks, linkcolor=blue, citecolor=magenta, urlcolor=cyan] ...
0
votes
0answers
34 views

Makeindex not working

here is the code that not working, I have no idea, why? The code: \documentclass[]{article} %opening \title{} \author{} \usepackage{makeidx} \makeindex \begin{document} \printindex \end{document} ...
1
vote
0answers
15 views

Weird index sorting display using tufte-book

I am using tufte-book for creating the document and makeidx for creating the index. The three column index generates correctly, but it displays it in a weird manner. Instead of alphabetical entries ...
1
vote
1answer
26 views

Customizing the Sub-entries of the Index for a Key Person Entry

Consider the subsequent Index which is generated by the following code: \documentclass[12pt]{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \begin{document} \large \par ...
0
votes
0answers
13 views

Vertically align page numbers in index

I would like to use dotfill between the index entries and the page numbers with the condition that the page numbers should start at the same column in each row, and there should be enough space (e.g. ...
0
votes
0answers
14 views

Don't print level 1 item in index when it does not have associated page numbers

I would like to achieve that in the index the second level items should be shown only when they have an associated page number. I tried to set item_x2 to "" but it does not give the expected ...
0
votes
0answers
9 views

Internal link leading to the wrong page

Below I write a minimal working example of a document in which one passes from roman numbering (in TOC) to arabic numbering in the "body" of the document. Note that I use imakeidx package ...
0
votes
1answer
31 views

Fix non-english alphabet in indexing

When I try to index non-english alphabet, it does not sort the letters according to the alphabet. For example, \index{\v{s}umnik} or equivalently \index{šumnik} puts the "š" after "z&...
0
votes
1answer
19 views

Empty line using index with hierarchies. How to avoid it?

For a German book about butterflies and moths I want to prepare an index of the plants on which the caterpillars grow. Unfortunately the German nomenclature consists of mixed single terms and composed ...
1
vote
1answer
89 views

Index does not show in toc and bibliography shows in uppercase

I am facing two issues: First issue is the index does not show in the table of content and the second issue is that the bibliography ( named as References) shows in uppercase. I meant to write the ...
1
vote
1answer
31 views

Better handling of person names in index

I am writing a book that mentions many people. Say that I mention Donald Knuth on a page. I would have: ... Donald Knuth\index{Knuth, Donald} In many other places I have mentioned Donald Knuth. ...
0
votes
0answers
27 views

Alphanumeric references in index (1A,2A,etc.)

I am trying to have an index in which, instead of normal page numbers, I get alphanumeric page numbers in the same style as 1A. I've been able to produce A1\renewcommand{\thepage}{A\arabic{page}} and ...
0
votes
2answers
30 views

How to use properly the indices in Latex editor like `Tex studio`?

How to use properly the indices in Latex editor like Tex studio ? For example, when I am typing $x^{p_{q_r}}$, it looks like $p$ and $q$ sits side by side and $r$ is at down. But these are all proper ...
4
votes
2answers
123 views

Wrong incrementation of counter?

Context I would like to add automatically numbered highlighted comments in text. Attempt Following this answer I wrote the following \documentclass{article} \usepackage{color} \usepackage{soul} \...
1
vote
0answers
22 views

\index command adds a space after command sequences, when used in \footnote

\index{Borel $\sigma$-algebra} behaves differently in a \footnote: In main text it writes (to the .idx file) \indexentry{Borel $\sigma$-algebra}{1} When in a \footnote it writes \indexentry{Borel $\...
1
vote
2answers
64 views

Extra space in index entry

Edit 2: At the bottom I have updated the question after incorporating the answer from here: newcommand for index inserts unwanted spaces when using {} I created a function to display a command in bold ...
2
votes
2answers
39 views

[i]makeidx together with scrlayer-scrpage and tabbing in header leads to 'Something's wrong--perhaps a missing \item. \end{theindex}' error

I tried to add an index to one of my documents. This however failed, as the following MWI does as well. The cryptic error message is: Something's wrong--perhaps a missing \item. \end{theindex} The ...
0
votes
0answers
20 views

Index gets created but not printed

I have been working on a document since June and every time I compile it, a nice index gets created. Yesterday I added some more content (a new section to my chapter) and all of a sudden the index ...
0
votes
0answers
20 views

Custom order in index

I would like to define a custom order on the keys in an index. I tried to set the desired order in glossaries descriptions and names, but it doesn't work (@ behaves differently than I expect). Can you ...
3
votes
1answer
28 views

“Numbers” heading in custom index with bibleref package

I'm getting some odd behavior in my Scripture index using the bibleref package and a style file. The word "Numbers" is unexplicably appearing as a header in the index. MWE: \documentclass{...
4
votes
2answers
85 views

Print a list of selected enumerated list labels

I'm working on a document which lists actions to expected results, in enumerated lists. Some of the actions are noteworthy, as are some of the results. I'd like the noteworthy actions' and results' ...
0
votes
0answers
46 views

What are *.ist, *.ptc and *.bcf files used for?

I am trying to clean up my LaTeX project source before uploading it to a versioning system, and there are a couple files that I'm not sure if I need to upload. Obvisouly, I don't need to track .pdf, ....
2
votes
0answers
56 views

Package to obtain the style of the TikZ/PGF-Documentation

The gold standard of LaTeX-documentation is - at least for me - the TikZ/PGF-documentation. It is formatted consistently, has great code highlighting and (one of the best features in my opinion) you ...
1
vote
0answers
18 views

Eliding premature tokenisation in index macro

I am generating a very large number of index entries containing formatting in a LaTeX document, and some of them are in regions that affect the premature tokenisation of the argument (footnotes, ...

1
2 3 4 5
25