GeneralMultiple Lists or Formatting Indexes

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
kaushik
Posts: 1
Joined: Sat Nov 08, 2008 9:57 am

Multiple Lists or Formatting Indexes

Post by kaushik »

I have report that I'm typing out that uses a couple of court cases, a few legal regulations and a some laws. I want to have some nice lists at the beginning of my document that go:
-------------------------
List of Cases

<case name1> <pg>
<case name2> <pg>
etc...

List of Regulations

<regulation1> <pg>
<regulation2> <pg>
etc...

List of Laws

<law1> <pg>
<law2> <pg>
etc...
-------------------------

I first tried using the index function and did

Code: Select all

\index{Cases!Case1}
and

Code: Select all

\index{Regulations!Regulation1}
and put

Code: Select all

\printindex
right after

Code: Select all

\begin{document}
. The problem with that is because of the way indexes are formatted (by default as 2 columns per page), it doesn't look nice.

Is there any other way I can get LaTeX to list them at the beginning of the document? Alternatively, is there a way I can change the formatting of indexes so that they don't appear as 2 columns a page?

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

Juanjo
Posts: 657
Joined: Sat Jan 27, 2007 12:46 am

Multiple Lists or Formatting Indexes

Post by Juanjo »

In this thread and in this other thread, you can find some redefinitions of theindex environment with the help of the multicol package. In this precise moment, I can't check it, but I suppose that they will also work for only one column. It would suffice to write \begin{multicols}{1} at the right place. Please note that each redefinition is valid for a specific document class. I think that the one given at the end of the second above cited thread will work with the report class.
The CTAN lion is an artwork by Duane Bibby. Courtesy of www.ctan.org.
Post Reply