Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 05-01-2007, 04:48 PM   #1
Registered: Jul 2002
Location: Germany
Distribution: Redhat 7.3, Debian 3.1, Knoppix 3.1, Ubuntu 6.10
Posts: 113

Rep: Reputation: 15
Thumbs up How to change style of index in LaTeX?

I like to print index entries in the following latex file with some fancy style, like horizontal lines as seperator between different index entries beginning with a new alphabet or have on letter of alphabet printed. I used these fancy styles a while ago but somehow lost the latex sources and do not remember how to change the activate that option.

Currently following is the index output:


background, 1
H.264, 2

I would like something like:


background, 1

H.264, 2


Here is the latex file.tex:




\author{Luqman Munawar}
\title{Results of Simulation}


 Some text in abstract


Here I will write\index{Writing} some information\index{Information} on background\index{background} of the project.
Here I will write some information\index{Information} on H.264\index{H.264}.

Here I will write some information\index{Information} on UMTS\index{UMTS}.

Any hint or pointer to documentation is much appreciated. I did search in the Internet for "latex index styles" or "latex index" but did not find any relevant document.

The closest I found was "Makeindex" by Peter Mosgen:
{\bf H}
\item Heinrich-Heine-Universit\"at\dotfill 1
{\bf N}
\item Neurobiologie\dotfill 1

Heinrich-Heine-Universitat 1
Neurobiologie 1
I would like to avoid editing file.ind manually. Maybe there is an option that can be used to select the style in .tex file?
Old 05-02-2007, 05:07 AM   #2
Registered: Nov 2003
Location: Edinburgh, UK
Distribution: Arch
Posts: 43

Rep: Reputation: 18
I think you either want to consult the web for the details of makeindex style files (in particular, read about letter groups) or use another tool such as xindy ( instead.
Old 05-02-2007, 07:31 AM   #3
Registered: Sep 2004
Location: Germany
Distribution: Gentoo
Posts: 164

Rep: Reputation: 31
You can change the output style of makindex by putting something like this into a new file:
headings_flag 1
heading_prefix "{\\bfseries\\hfil--- "
heading_suffix " ---\\hfil}\\nopagebreak\n"
Old 05-02-2007, 08:13 AM   #4
Diego Torquemada
LQ Newbie
Registered: Jan 2007
Location: Innsbruck, Austria
Distribution: Fedora Core 4
Posts: 14

Rep: Reputation: 0
This is not the best place to ask about latex...

go to


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the default webpage configuration from index.php to index.htm, etc meema Linux - Server 4 08-22-2008 10:06 PM
Installing new/original latex style files tylerrp Linux - Software 4 03-01-2007 04:42 AM
[SOLVED] Figure placement in LaTeX style sheet. eamesj Linux - Software 1 08-18-2006 03:43 PM
[SOLVED] latex, search path for style file. kaz2100 Linux - Software 8 08-15-2006 03:18 PM
latex question; how do I add a new style sheet qanopus Linux - Software 0 01-07-2003 06:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration