Questions tagged [idxlayout]

idxlayout is a package providing configurable index layout

Filter by
Sorted by
Tagged with
2 votes
1 answer
78 views

Idxlayout Paragraph Form---Adding a Period to Certain Page Numbers

This is a follow-up to Automatically Add a Period After Last Page Number in Each Index Entry Consider the MWE: \begin{filecontents*}{style.ist} delim_t "." \end{filecontents*} \...
DDS's user avatar
  • 8,796
1 vote
1 answer
50 views

How to Adjust Index Column Width and Add a Vertical Line Separator?

MWE: \documentclass{book} \usepackage{imakeidx} \let\cleardoublepage\clearpage \makeindex \usepackage{idxlayout} \usepackage{lipsum} \begin{document} \thispagestyle{empty} This is a sentence to be ...
DDS's user avatar
  • 8,796
0 votes
1 answer
56 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{...
DDS's user avatar
  • 8,796
3 votes
0 answers
43 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@\...
DDS's user avatar
  • 8,796
1 vote
1 answer
43 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 ...
DDS's user avatar
  • 8,796
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 ...
DDS's user avatar
  • 8,796
1 vote
1 answer
51 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 ...
DDS's user avatar
  • 8,796
2 votes
1 answer
263 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}{\...
DDS's user avatar
  • 8,796
2 votes
1 answer
276 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}} ...
DDS's user avatar
  • 8,796
1 vote
0 answers
43 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\\...
DDS's user avatar
  • 8,796
1 vote
0 answers
147 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 ...
DDS's user avatar
  • 8,796
1 vote
1 answer
75 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 \...
DDS's user avatar
  • 8,796
1 vote
1 answer
335 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{...
DDS's user avatar
  • 8,796
1 vote
0 answers
39 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{...
DDS's user avatar
  • 8,796
1 vote
1 answer
45 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}% <<<<<<<<<&...
DDS's user avatar
  • 8,796
3 votes
1 answer
68 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\...
DDS's user avatar
  • 8,796
1 vote
1 answer
55 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} \...
DDS's user avatar
  • 8,796
2 votes
1 answer
59 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., ...
DDS's user avatar
  • 8,796
1 vote
1 answer
139 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\...
DDS's user avatar
  • 8,796
2 votes
1 answer
114 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{...
DDS's user avatar
  • 8,796
2 votes
2 answers
135 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 ...
DDS's user avatar
  • 8,796
2 votes
2 answers
182 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[...
DDS's user avatar
  • 8,796
0 votes
1 answer
138 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} \...
DDS's user avatar
  • 8,796
1 vote
1 answer
69 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@\...
DDS's user avatar
  • 8,796
1 vote
1 answer
98 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}{\...
DDS's user avatar
  • 8,796
0 votes
1 answer
87 views

How to use multiple fonts in index?

I am typesetting a multilingual book with xetex, using polyglossia for different fonts. Since the index contains different languages I need to use a main font which contains both languages. But one ...
Mujeebcpy's user avatar
1 vote
1 answer
186 views

Adjusting the Spacing Between Headings, Entries, and Subentries with Idxlayout

Consider the code \RequirePackage{filecontents} \begin{filecontents*}{\jobname.mst} %delim_0 "\\IndexDotfill " %delim_1 "\\IndexDotfill " headings_flag 1 heading_prefix " \\...
DDS's user avatar
  • 8,796
1 vote
1 answer
47 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 ...
DDS's user avatar
  • 8,796
1 vote
1 answer
79 views

How to Shift Comma Inside Closing Quotes in Index

Consider the MWE \documentclass{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{xcolor} % Make all page numbers in index bold \let\oldindex\index \renewcommand{\index}[1]{% ...
DDS's user avatar
  • 8,796
2 votes
0 answers
67 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}...
DDS's user avatar
  • 8,796
3 votes
0 answers
77 views

Index Entries Disappear with the Use of pgfpagesuselayout{2 on 1} [2022, June: Question Still Relevant]

Consider the index generated by the following code: \documentclass{article} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \usepackage{pgfpages} %\pgfpagesuselayout{2 on 1} \begin{document} ...
DDS's user avatar
  • 8,796
2 votes
0 answers
144 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 \...
DDS's user avatar
  • 8,796
2 votes
1 answer
90 views

Is There a Command Analogous to \addtocontents{toc}{text} for an Index?

I would like to be able to add a comment to an Index. For example, say I have the index: produced by the code \documentclass[12pt]{book} \usepackage{imakeidx} \makeindex \usepackage{idxlayout} \...
DDS's user avatar
  • 8,796
0 votes
1 answer
180 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 ...
DDS's user avatar
  • 8,796
1 vote
0 answers
36 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} \...
DDS's user avatar
  • 8,796
0 votes
0 answers
80 views

Incompatible versions of luatex problem

When I run the code below, I get an error about Package ifluatex Error: Name clash, \ifluatex is already defined. Oddly, it says the error is on line 174, but there are not that many lines in the ...
Peter Flom's user avatar
  • 1,176
0 votes
0 answers
102 views

Unwanted white spaces between index entries

I have a very long index and I'm using a layout which you can find here, with an MWE: Fix the layout of index with imakeidx: a new implementation. It prints here and here unwanted white spaces ...
qwertxyz's user avatar
  • 542
1 vote
1 answer
323 views

Customized style of index with idxlayout package and abshang option

In another question I asked how to get custom delimiters with the idxlayout package using the singlepar option: I would ask if it is possible to mantain the same delimiters with the option abshang, ...
qwertxyz's user avatar
  • 542
0 votes
1 answer
356 views

idxlayout customized delimiters

I'm using the packages imakeidx and idxlayout (the latter with "singlepar" layout) and I'm trying to customize the default delimiters. My aim is to obtain different delimiters for subitem and ...
qwertxyz's user avatar
  • 542
4 votes
1 answer
1k views

Vertical spacing in index with idxlayout

I have some trouble formatting my index with idxlayout. As my MWE demonstrates, the vertical spacing between the entries is inconsistent. For example the vertical spacing among the entries of ...
kabauter's user avatar
1 vote
1 answer
1k views

How to adjust layout of the first page of index?

In my book I have a page with index. The content of it exceeds one page only with two items, so I would like to decrease some vertical spaces on this page to hold the whole index on this page. By ...
forrest's user avatar
  • 958
0 votes
1 answer
358 views

LaTeX: Unbalance imakeidx

My problem is: I have a huge index and I don't want to balance it. I have 12 indices and use this package: \usepackage[noautomatic, nonewpage]{imakeidx}. See picture attached to understand what I ...
gilu's user avatar
  • 666
7 votes
1 answer
1k views

Different number of columns in multiple indices

For a book project I have created two indices using imakeidx. In addition, I am using idxlayout to control the layout of the indices. I would like the first index to be two columns and the second ...
D Ogle's user avatar
  • 183
3 votes
1 answer
356 views

Index layout: on the same line when only one subitem

I am making an index for my document using \makeindex. And in my document I have subindex entries like : \index{word1!subword11} \index{word1!subword12} But when there is only one subentry in the ...
Vincent's user avatar
  • 5,163
3 votes
1 answer
566 views

Undefined control sequence \ifnumcomp and idxlayout

I am struggling with idxlayout for generating a formatted index (my intent is to be able to group all subentries in one paragraph). Here is a minimal example: \documentclass[12pt]{article} \...
mzi's user avatar
  • 31
2 votes
0 answers
991 views

Publishers and Talmud layout

a) What software do publishers use for creating the complex layout of the Talmud? Here is a picture of what it looks like: b) Can anyone recommend to me a software that's easy to use for this?
Chiddushei Torah's user avatar
4 votes
1 answer
2k views

Adding dot leaders in index

How do I get the indexing (which I have set to 1 column) to use dot leaders? I have seen questions relating to tocloft, but this is for the TOC and not the index. Is there an idxlayout command I can ...
user55972's user avatar
  • 113
2 votes
1 answer
336 views

Index heading style is different

I have document like this (MWE): \documentclass[10pt,twoside,final]{book} \usepackage{xltxtra} \usepackage{fontspec} \usepackage{fancyhdr} \usepackage{titlesec} \usepackage[hang,flushmargin]{...
Ondrej profant's user avatar
3 votes
1 answer
258 views

No page break after index with idxlayout

In the idxlayout manual I read that the memoir class with twocolumn options forces a page break after the index. Is there any way around this behavior? I would like the following to remain on one page,...
Marijnn's user avatar
  • 401
5 votes
1 answer
1k views

How to number the index with tocbibind and idxlayout?

I'm trying to number the index section in my document. If I use only tocbibind it works perfectly, but once I add idxlayout, it doesn't work. idxlayout doesn't have a numindex option like tocbibind. ...
Baptiste Wicht's user avatar