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
2 votes
1 answer
36 views

Need to add vertical space in Index entries

My codes are follows: \documentclass[executive,twoside, justified, symmetric, notoc, openany]{tufte-book} \usepackage{imakeidx} \makeindex[intoc, name = Rindex, title = Index of R and RStudio, ...
MadyYuvi's user avatar
  • 12.8k
0 votes
0 answers
53 views

Importing a pre-generated index file to Overleaf

I have a problem with the index generated using Overleaf. I am using imaxeidx with no flags other than the title and number of columns. After generating the .idx file I simply use \printindex to print ...
nikpol's user avatar
  • 1
0 votes
0 answers
17 views

How to Get the Index to Display "Ibid" Instead of Page Numbers Where Applicable

Consider the MWE: \documentclass{article} \usepackage{makeidx} \makeindex \usepackage{filecontents} \usepackage[style=verbose-trad2,ibidpage=true]{biblatex} \begin{filecontents}{\jobname.mst} ...
Garfunkel's user avatar
  • 102
0 votes
0 answers
27 views

Customize lst index list list of listings

I would like to see if there is a way to make the same format like this to show figures but for lst listings. I would like to have something like: CODE 1. CODE 1 CODE 2. CODE 2 That is to say, add ...
user271863's user avatar
2 votes
1 answer
119 views

Line-breaking problem produced by \dotfill and long index entries

First an MWE and its index page are as follows. \documentclass[12pt]{article} %%%index setting%%%%%%%%%%%%%%%%%%%%%%%% \usepackage{imakeidx} \usepackage[colorlinks,linkcolor=blue]{hyperref} \...
M. Logic's user avatar
  • 3,785
0 votes
1 answer
40 views

OSCOLA Biblatex and UN Resolutions

I'd like to cite UN resolutions using the OSCOLA Biblatex package (from Paul Stanley). I have my entry in the .bib file as: @misc{UNGA_Res2222, institution = {UNGA}, title = {Treaty on ...
d80b2t's user avatar
  • 1
0 votes
1 answer
66 views

zhmakeindex is denied when to make Chinese index with imakeidx

First an MWE is as follows. \documentclass{ctexart} \usepackage{imakeidx} \usepackage[colorlinks,linkcolor=blue]{hyperref} \makeatletter \def\imki@progdefault{zhmakeindex} \makeatother \makeindex \...
M. Logic's user avatar
  • 3,785
0 votes
2 answers
56 views

Index of Names and Index of Terms are not recognized as sections

First an MWE and its output to the contents and index pages are as follows. \documentclass{book} \usepackage{imakeidx} \usepackage{hyperref} \usepackage[totoc=true]{idxlayout} \indexsetup{level=\...
M. Logic's user avatar
  • 3,785
1 vote
0 answers
98 views

Justifying problem on index entries

First an MWE and its output to the index page are as follows. \documentclass[a4paper]{article} \usepackage{idxlayout} \usepackage{imakeidx} \makeindex[columns=2,columnsep=2em] \begin{document} ...
M. Logic's user avatar
  • 3,785
2 votes
0 answers
34 views

Why is Pgfpages with the Pgfpagesuselayout{2 on 1} Command Not Picking Up the Index? [duplicate]

The following code \documentclass[openany]{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{pgfpages} %\pgfpagesuselayout{2 on 1} \begin{document} \LARGE Some words.\index{...
mlchristians's user avatar
  • 7,514
0 votes
1 answer
60 views

I would like to insert a counter inside an index in LaTeX

This is my first question on Stackexchange, please apologize if I am too naive! In my lecture notes, I am inserting exercises in the text. They have a specific counter, say \ExoCounter. I am using a ...
user270959's user avatar
1 vote
2 answers
244 views

Dot spaces in Contents and Index

First an MWE and its output: \documentclass[a4paper, 10pt]{book} \usepackage{hyperref} \usepackage{imakeidx} \makeindex \newcommand{\AddIndexLetterToTOC}[1]{\textbf{#1}\phantomsection\...
M. Logic's user avatar
  • 3,785
2 votes
1 answer
93 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} ...
M. Logic's user avatar
  • 3,785
1 vote
0 answers
11 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 ...
Skeptic's user avatar
  • 2,885
0 votes
1 answer
140 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 ...
Reddimus's user avatar
0 votes
1 answer
36 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{...
jean-marie's user avatar
1 vote
0 answers
54 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 ...
Giorgio Abbattista's user avatar
0 votes
1 answer
27 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} ...
fauve's user avatar
  • 2,233
1 vote
1 answer
117 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 ...
Marius Hofert's user avatar
0 votes
0 answers
96 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 ...
Marius Hofert's user avatar
0 votes
0 answers
55 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 ...
Jhor's user avatar
  • 3,964
0 votes
2 answers
72 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, ...
Wilhelm's user avatar
  • 75
0 votes
1 answer
64 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. ...
johnny7's user avatar
  • 111
1 vote
0 answers
97 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} \...
William Wei's user avatar
0 votes
0 answers
19 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 ...
Maximilian Keßler's user avatar
0 votes
0 answers
33 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 ...
Exotoxins Lab's user avatar
3 votes
0 answers
42 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@\...
mlchristians's user avatar
  • 7,514
4 votes
1 answer
88 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 ...
mlchristians's user avatar
  • 7,514
1 vote
1 answer
37 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 ...
mlchristians's user avatar
  • 7,514
0 votes
1 answer
46 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 ...
letax's user avatar
  • 41
2 votes
1 answer
64 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{...
mlchristians's user avatar
  • 7,514
1 vote
1 answer
72 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 \...
Luigi GG's user avatar
4 votes
0 answers
48 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 ...
Vince Vatter's user avatar
2 votes
1 answer
82 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 ...
B Luthra's user avatar
  • 123
2 votes
1 answer
47 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 ...
mlchristians's user avatar
  • 7,514
0 votes
2 answers
45 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 \...
Peter Smith's user avatar
1 vote
1 answer
44 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 ...
mlchristians's user avatar
  • 7,514
1 vote
1 answer
94 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 ...
Maximilian Keßler's user avatar
2 votes
1 answer
103 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}{\...
mlchristians's user avatar
  • 7,514
0 votes
1 answer
60 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 ...
Rob LEduc's user avatar
0 votes
1 answer
69 views

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

I am 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*...
Rob LEduc's user avatar
2 votes
1 answer
158 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}} ...
mlchristians's user avatar
  • 7,514
1 vote
1 answer
37 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, ...
tush's user avatar
  • 1,012
1 vote
0 answers
33 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\\...
mlchristians's user avatar
  • 7,514
1 vote
0 answers
77 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 ...
mlchristians's user avatar
  • 7,514
1 vote
1 answer
64 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 \...
mlchristians's user avatar
  • 7,514
1 vote
1 answer
149 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{...
mlchristians's user avatar
  • 7,514
1 vote
0 answers
37 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{...
mlchristians's user avatar
  • 7,514
1 vote
1 answer
39 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}% <<<<<<<<<&...
mlchristians's user avatar
  • 7,514
3 votes
1 answer
66 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\...
mlchristians's user avatar
  • 7,514

1
2
3 4 5
28