I am writing an article in LaTeX 2e with \documentclass[twocolumn]{article}, including an index. The document prelude includes \usepackage{makeidx} and the \makeindex command. At the point where I want the index to print I say \printindex. The indexing operations all work perfectly. However, when the document is formatted, a page break is inserted both before and after the index. I want to eliminate both page breaks. I assume that \printindex calls \include, which performs \clearpage, though I don't really know that. How can I eliminate the two page breaks?
|
|
||||
|
migrated from stackoverflow.com Jul 23 '11 at 1:59
|
The
The line
forces a new page (
also forces a new page ( To avoid this behaviour you can redefine the
A little working example:
which produces
|
|||
|
|
The answer of Gonzalo Medina is great for documents which use the For "overkill" (http://tex.blogoverflow.com/2011/10/overkill-is-a-good-thing/; and because this is way too long for a comment and comments cannot be formated like this) it is possible to handle this for one- and two-column documents (I had this problem for a one-column document and was able to solve it because of Gonzalo Medina's answer):
|
|||
|
|
