This is a search tool for the LaTeX bugs database.

This search tool allows you to search the LaTeX3 project team's database of all bug reports for LaTeX. If you discover what you believe to be a bug with LaTeX, you can search this database to find out if it has already been reported.

Note that you can only search for bugs which were reported after December 1994, when we made the database public.


You can search for all the bug reports about:
which are the responsibility of:
with the status of:
containing the keyword:
or having the reference
(of the form category/number):
by pressing here:  .
PR number: latex/3126
Synopsis: \twocolumn causes smaller space before new chapter
Confidential: no
State: open
Arrival date: Thu Nov 18 15:01:07 1999


Reichelt
Thu, 18 Nov 1999 13:43:43 +0100 (MEZ)

Description of bug:
Using the the \twocolumn command causes the space above the heading
of a new chapter to be smaller than on pages with only one textcolumn.
This behaviour can be observed with the styles 'book' and 'report'.
It results e.g. in a misaligned heading for an index. The problem might
be related to bug number 1988 in the database, but I'm not sure about that.

An additionial 'feature' of the \twocolumn command is that the first
paragraph of the new chapter starts with an indentation (which can be
circumvented by using \noindent.)

Best regards,
Volker Reichelt



Sample file which indicates the problem:
========================================
\documentclass{report}
\begin{document}
\chapter{One column}
Without indentation.
\twocolumn
\chapter{Two columns}
With indentation.
\end{document}


The log file from running LaTeX on the sample:
==============================================
This is TeX, Version 3.14159 (Web2C 7.2) (format=latex 1998.12.14)  18 NOV 1999 00:33
**bug2col
(bug2col.tex
LaTeX2e <1998/06/01>
Babel <v3.6j> and hyphenation patterns for american, french, german, ngerman, n
ohyphenation, loaded.
(/usr/share/texmf/tex/latex/base/report.cls
Document Class: report 1998/05/05 v1.3y Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 1998/05/05 v1.3y Standard LaTeX file (size option)
)
\c@part=\count79
\c@chapter=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\c@figure=\count86
\c@table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (bug2col.aux)
\openout1 = `bug2col.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.

Chapter 1.
[1


]
Chapter 2.
[2



] (bug2col.aux) ) 
Here is how much of TeX's memory you used:
 219 strings out of 10904
 2138 string characters out of 72705
 45428 words of memory out of 263001
 3218 multiletter control sequences out of 10000+0
 4553 words of font info for 17 fonts, out of 200000 for 1000
 15 hyphenation exceptions out of 1000
 23i,4n,18p,127b,174s stack positions out of 300i,100n,500p,30000b,4000s

Output written on bug2col.dvi (2 pages, 560 bytes).

============================================================

End of LaTeX2e bug report.
============================================================

>Fix:
LaTeX2e bug report.
Generated by latexbug.tex on 1999/11/18

Reports may be submitted by email to latex-bugs@uni-mainz.de
Please use the subject line:
Subject: \twocolumn causes smaller space before new chapter
============================================================

 *** Initex configuration files
hyphen.cfg
 1998/03/24 v3.6j Babel language switching mechanism
 ***

Martin Schroeder
Thu, 2 Dec 99 00:03:32 +0100

In <199911181401.PAA31225@trudi.zdv.Uni-Mainz.DE> reichelt@igpm.RWTH-Aachen.DE (Reichelt) writes:
>Description of bug:
>Using the the \twocolumn command causes the space above the heading
>of a new chapter to be smaller than on pages with only one textcolumn.
>This behaviour can be observed with the styles 'book' and 'report'.
>It results e.g. in a misaligned heading for an index. The problem might
>be related to bug number 1988 in the database, but I'm not sure about that.

>An additionial 'feature' of the \twocolumn command is that the first
>paragraph of the new chapter starts with an indentation (which can be
>circumvented by using \noindent.)

Volker,
thanks for your bug report.

Dear Team,
the two pages are these:
---------------
Completed box being shipped out [1]
\vbox(633.0+0.0)x407.0
.\glue 16.0
.\vbox(617.0+0.0)x345.0, shifted 62.0
..\vbox(12.0+0.0)x345.0, glue set 12.0fil
...\glue 0.0 plus 1.0fil
...\hbox(0.0+0.0)x345.0
..\glue 25.0
..\glue(\lineskip) 0.0
..\vbox(550.0+0.0)x345.0, glue set 362.96123fil
...\write-{}
...\write-{}
...\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numberli
ne \ETC.}
...\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
...\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
...\glue(\topskip) 10.0
...\rule(0.0+0.0)x*
...\penalty 10000
...\glue 50.0
...\glue 0.0
...\glue(\parskip) 0.0 plus 1.0
...\glue(\baselineskip) 10.59724
...\hbox(14.40276+4.03276)x345.0, glue set 121.0941fil
....\hbox(0.0+0.0)x0.0
....\OT1/cmr/bx/n/20.74 C
....\OT1/cmr/bx/n/20.74 h
....\OT1/cmr/bx/n/20.74 a
....\OT1/cmr/bx/n/20.74 p
....\OT1/cmr/bx/n/20.74 t
....\OT1/cmr/bx/n/20.74 e
....\OT1/cmr/bx/n/20.74 r
....\glue 7.7775 plus 3.88875 minus 2.5925
....\OT1/cmr/bx/n/20.74 1
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0 plus 1.0fil
...\penalty 10000
...\glue 20.0
...\glue(\parskip) 0.0 plus 1.0
...\glue(\baselineskip) 8.68948
...\hbox(17.27776+0.0)x345.0, glue set 98.84628fil
....\hbox(0.0+0.0)x0.0
....\OT1/cmr/bx/n/24.88 O
....\OT1/cmr/bx/n/24.88 n
....\OT1/cmr/bx/n/24.88 e
....\glue 9.33 plus 4.665 minus 3.11
....\OT1/cmr/bx/n/24.88 c
....\OT1/cmr/bx/n/24.88 o
....\OT1/cmr/bx/n/24.88 l
....\OT1/cmr/bx/n/24.88 u
....\OT1/cmr/bx/n/24.88 m
....\OT1/cmr/bx/n/24.88 n
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0 plus 1.0fil
...\penalty 10000
...\glue 40.0
...\glue(\parskip) 0.0 plus 1.0
...\glue(\baselineskip) 5.05556
...\hbox(6.94444+0.0)x345.0, glue set 252.22198fil
....\OT1/cmr/m/n/10 W
....\OT1/cmr/m/n/10 i
....\OT1/cmr/m/n/10 t
....\OT1/cmr/m/n/10 h
....\OT1/cmr/m/n/10 o
....\OT1/cmr/m/n/10 u
....\OT1/cmr/m/n/10 t
....\glue 3.33333 plus 1.66666 minus 1.11111
....\OT1/cmr/m/n/10 i
....\OT1/cmr/m/n/10 n
....\OT1/cmr/m/n/10 d
....\OT1/cmr/m/n/10 e
....\OT1/cmr/m/n/10 n
....\kern-0.27779
....\OT1/cmr/m/n/10 t
....\OT1/cmr/m/n/10 a
....\OT1/cmr/m/n/10 t
....\OT1/cmr/m/n/10 i
....\OT1/cmr/m/n/10 o
....\OT1/cmr/m/n/10 n
....\OT1/cmr/m/n/10 .
....\penalty 10000
....\glue(\parfillskip) 0.0 plus 1.0fil
....\glue(\rightskip) 0.0
...\glue 0.0 plus 1.0fil
...\glue 0.0
...\glue 0.0 plus 0.0001fil
..\glue(\baselineskip) 23.55556
..\hbox(6.44444+0.0)x345.0, glue set 170.0fil
...\glue 0.0 plus 1.0fil
...\OT1/cmr/m/n/10 1
...\glue 0.0 plus 1.0fil
---------------
Completed box being shipped out [2]
\vbox(633.0+0.0)x407.0
.\glue 16.0
.\vbox(617.0+0.0)x345.0, shifted 62.0
..\vbox(12.0+0.0)x345.0, glue set 12.0fil
...\glue 0.0 plus 1.0fil
...\hbox(0.0+0.0)x345.0
..\glue 25.0
..\glue(\lineskip) 0.0
..\vbox(550.0+0.0)x345.0
...\vbox(134.40276+0.0)x345.0
....\rule(0.0+0.0)x*
....\penalty 10000
....\glue 50.0
....\glue 0.0
....\glue(\parskip) 0.0
....\hbox(14.40276+4.03276)x345.0, glue set 121.0941fil
.....\hbox(0.0+0.0)x0.0
.....\OT1/cmr/bx/n/20.74 C
.....\OT1/cmr/bx/n/20.74 h
.....\OT1/cmr/bx/n/20.74 a
.....\OT1/cmr/bx/n/20.74 p
.....\OT1/cmr/bx/n/20.74 t
.....\OT1/cmr/bx/n/20.74 e
.....\OT1/cmr/bx/n/20.74 r
.....\glue 7.7775 plus 3.88875 minus 2.5925
.....\OT1/cmr/bx/n/20.74 2
.....\penalty 10000
.....\glue(\parfillskip) 0.0 plus 1.0fil
.....\glue(\rightskip) 0.0 plus 1.0fil
....\penalty 10000
....\glue 20.0
....\glue(\parskip) 0.0
....\glue(\baselineskip) 8.68948
....\hbox(17.27776+0.0)x345.0, glue set 91.54787fil
.....\hbox(0.0+0.0)x0.0
.....\OT1/cmr/bx/n/24.88 T
.....\OT1/cmr/bx/n/24.88 w
.....\kern-0.77751
.....\OT1/cmr/bx/n/24.88 o
.....\glue 9.33 plus 4.665 minus 3.11
.....\OT1/cmr/bx/n/24.88 c
.....\OT1/cmr/bx/n/24.88 o
.....\OT1/cmr/bx/n/24.88 l
.....\OT1/cmr/bx/n/24.88 u
.....\OT1/cmr/bx/n/24.88 m
.....\OT1/cmr/bx/n/24.88 n
.....\OT1/cmr/bx/n/24.88 s
.....\penalty 10000
.....\glue(\parfillskip) 0.0 plus 1.0fil
.....\glue(\rightskip) 0.0 plus 1.0fil
....\penalty 10000
....\glue 40.0
....\glue -20.0 plus -2.0 minus -4.0
...\glue 12.0 plus 2.0 minus 2.0
...\glue -12.0 plus -2.0 minus -2.0
...\glue 20.0 plus 2.0 minus 4.0
...\vbox(395.59724+0.0)x345.0
....\hbox(395.59724+0.0)x345.0, glue set 5.0fil
.....\hbox(395.59724+0.0)x167.5
......\vbox(395.59724+0.0)x167.5, glue set 385.55606fil
.......\write-{}
.......\write-{}
.......\write1{\@writefile{toc}{\protect \contentsline {chapter}{\protect \numb
erline \ETC.}
.......\write1{\@writefile{lof}{\protect \addvspace {10\p@ }}}
.......\write1{\@writefile{lot}{\protect \addvspace {10\p@ }}}
.......\glue(\topskip) 3.05556
.......\hbox(6.94444+0.0)x167.5, glue set 74.16647fil
........\hbox(0.0+0.0)x15.0
........\OT1/cmr/m/n/10 W
........\OT1/cmr/m/n/10 i
........\OT1/cmr/m/n/10 t
........\OT1/cmr/m/n/10 h
........\glue 3.33333 plus 1.66666 minus 1.11111
........\OT1/cmr/m/n/10 i
........\OT1/cmr/m/n/10 n
........\OT1/cmr/m/n/10 d
........\OT1/cmr/m/n/10 e
........\OT1/cmr/m/n/10 n
........\kern-0.27779
........\OT1/cmr/m/n/10 t
........\OT1/cmr/m/n/10 a
........\OT1/cmr/m/n/10 t
........\OT1/cmr/m/n/10 i
........\OT1/cmr/m/n/10 o
........\OT1/cmr/m/n/10 n
........\OT1/cmr/m/n/10 .
........\penalty 10000
........\glue(\parfillskip) 0.0 plus 1.0fil
........\glue(\rightskip) 0.0
.......\glue 0.0 plus 1.0fil
.......\glue 0.0
.......\glue 0.0 plus 0.0001fil
......\glue 0.0 plus 1.0fil minus 1.0fil
.....\glue 0.0 plus 1.0fil
.....\rule(*+*)x0.0
.....\glue 0.0 plus 1.0fil
.....\hbox(395.59724+0.0)x167.5, glue set 167.5fil
......\vbox(395.59724+0.0)x0.0, glue set 385.55606fil
.......\write-{}
.......\glue(\topskip) 10.0
.......\vbox(0.0+0.0)x0.0
.......\glue 0.0 plus 1.0fil
.......\glue 0.0
.......\glue 0.0 plus 0.0001fil
......\glue 0.0 plus 1.0fil minus 1.0fil
..\glue(\baselineskip) 23.55556
..\hbox(6.44444+0.0)x345.0, glue set 170.0fil
...\glue 0.0 plus 1.0fil
...\OT1/cmr/m/n/10 2
...\glue 0.0 plus 1.0fil
---------------

The difference in regard to the chapter position is
- on the first page the topskip is before the chapter, on the second
  after it
- on the first page we have a baselineskip before the chapter

latex/2883 may be related.

The parindent I fear comes from the use of \@topnewpage?

I've looked at the trace for half an hour and must confess I don't understand
it. Chris? :-)

Best regards
	Martin

-- 
       Martin Schr"oder  --  Martin.Schroeder@latex-project.org

Donald Arseneau
23 Apr 2001 00:56:30 -0700


Here is a proposed \topnewpage.  It could be used in LaTeX itself, 
or in fixltx.  It could use some more testing, especially in relation 
to some of the noted troubles with rules, and also in concert with
color.  (I stripped off the second layer of box used for color,
but maybe a box really is necessary?)

If there is any interest, I will comment it properly.

\long\def \@topnewpage [#1]{%
  \@nodocument
  \@next\@currbox\@freelist{}{}%
  \global \setbox\@currbox
      \vbox {%
        \break
        \prevdepth\z@
        \begingroup
        \normalcolor
        \hsize\textwidth
        \@parboxrestore
        \col@number \@ne
        #1%
        \vskip -\dbltextfloatsep
        \endgroup
        \null % ordinary \baselineskip
        \vskip -\topskip
  }%
  \begingroup \showbox\@currbox
    \splitmaxdepth\maxdepth \splittopskip\topskip
    \setbox\@tempboxa \vsplit\@currbox to\z@
  \endgroup \showbox\@currbox
  \ifdim \ht\@currbox>\textheight
    \ht\@currbox \textheight
  \fi
  \global \count\@currbox \tw@
  \@tempdima -\ht\@currbox
  \advance \@tempdima -\dbltextfloatsep
  \global \advance \@colht \@tempdima
  \ifx \@dbltoplist \@empty
  \else
    \@latexerr{Float(s) lost}\@ehb
    \let \@dbltoplist \@empty
  \fi
  \@cons \@dbltoplist \@currbox
  \global \@dbltopnum \m@ne
  \ifdim \@colht<2.5\baselineskip
    \@latex@warning@no@line {Optional argument of \noexpand\twocolumn
                too tall on page \thepage}%
    \@emptycol
    \if@firstcolumn
    \else
      \@emptycol
    \fi
  \else
    \global \vsize \@colht
    \global \@colroom \@colht
    \@floatplacement
  \fi
}

 
Donald Arseneau                          asnd@triumf.ca



Address information
Copyright 1994 — 2011 the LaTeX3 project and Alan Jeffrey.


The LaTeX home page