MakeIndex, Nomenclature, Glossaries and AcronymsCustomizing Index

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
User avatar
svend_tveskaeg
Posts: 478
Joined: Sun Jul 12, 2009 5:31 am

Customizing Index

Post by svend_tveskaeg »

Hi all.

What should I write in my .ist file in order to get the layout/formatting as in the attached picture, except from the face that the subsubsection numbers should be page numbers?

(The two pieces of text in each row is first an English phrase from the text and second a Danish translation.)

Thank you in advance!
Attachments
test.jpg
test.jpg (228.03 KiB) Viewed 4087 times
``In the game of chess, you can never let your adversary see your pieces.''
-- Zapp Brannigan, Futurama (season 1, episode 4)

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
0.8.15
Posts: 16
Joined: Mon May 26, 2008 10:39 am

Customizing Index

Post by 0.8.15 »

try this .ist code:

Code: Select all

actual '='
quote '!'
level '>'
preamble "\\begin{theindex}\n
\\makeatletter\\scan@allowedfalse\n"
postamble
"\n\n \\end{theindex}\n"
headings_flag 1 heading_prefix "{\\bfseries\\normalsize\\hfill{}" %heading_suffix "\\hfill{}}\\nopagebreak\n" 
symhead_positive "Symbole" 
delim_0 "\\dotfill "       
delim_1 "\\dotfill "       
delim_2 "\\dotfill " 
% The next lines will produce some warnings when
% running Makeindex as they try to cover two different
% versions of the program:
lethead_prefix   "{\\bfseries\\hfil "
lethead_suffix   "\\hfil}\\nopagebreak\n"
lethead_flag       1
lethead_prefix   "{\\bfseries\\hfil "
lethead_suffix   "\\hfil}\\nopagebreak\n"
lethead_flag       1
if this does not meet your needs then write back.
Post Reply