[comp.text.tex] help: double-column LaTeX style with aligned columns on last page

mcba@newt.phys.unsw.OZ.AU (Michael C. B. Ashley) (05/08/91)

Hi,

Problem:

     Page N-1              Page N
   .___________.        .___________.
   |textt|ttext|        |textt|xttex|
   |extte|textt|        |extte|ttext|
   |xttex|extte|        |xttex|textt|
   |textt|xtext|        |textt|xttex|
   |extte|textt|        |extte|ttext|
   |xttex|extte|        |     |     |
   |textt|xtext|        |     |     |
   |extte|textt|        |     |     |
   |xttex|extte|        |     |     |
   +-----------+        +-----------+

i.e., I want to align the column ends on the last page of a document. I
realize that this is done in The TeX Book, but can't see how to add it
to LaTeX. Presumably this is a FAQ, however, I have not been a reader of
this news group until recently and haven't seen it so far. If someone
could mail me a style file it would be a great help.

Thanks!
Michael Ashley mcba@newt.phys.unsw.oz.au Astrophysics Dept. 
University of New South Wales, Australia.

<HOMH@QUCDN.QueensU.CA> (05/08/91)

Try the multicols.sty at ymir.claremont.edu (134.173.4.23). It doesn't only
balance the two colums for you, but it also allows you to switch from one to
two or more columns and back in the same page. Note that there are more than
file to get for this style.

Minhhuy H\^o
HOMH@QUCDN.QueensU.CA

rahola@finsun.csc.fi (Jussi Rahola) (05/08/91)

A related problem: I need a double-column LaTeX style with the
possibility of changing between one-column and two-column style in the
middle of the page. If anyone has a style file, please mail it to me.
Thanks! 

Example:

     Page 
   .___________.
   |textt|ttext|
   |extte|textt|
   |xttex|extte|
   |texttexttex|
   |ttexttextte|
   |xttexttextt|
   |textt|xtext|
   |extte|textt|
   |xttex|extte|
   +-----------+

Jussi Rahola, Centre for Scientific Computing, Finland
rahola@csc.fi

rolfl@hedda.uio.no (Rolf Lindgren) (05/08/91)

   A related problem: I need a double-column LaTeX style with the
   possibility of changing between one-column and two-column style in the
   middle of the page. If anyone has a style file, please mail it to me.
   Thanks! 

Answer to both: multicol.sty, available from ymir.claremont.edu, allows:

\begin{multicols{2}
Bla bla bla
\end{multicols}
\begin{multicols{1]
More bla bla bla
\end{multicols}
\begin{multicols{2}
Still more bla bla bla
\end{multicols}

And ought to do exactly what you want.

Rolf Lindgren		| 	"The opinions expressed above are 
616 Bjerke Studentheim	|  	 not necessarily those of anyone"	
N-0589 OSLO 5		|             rolfl@hedda.uio.no 

texinfo1@rusmv1.rus.uni-stuttgart.de (Rainer Schoepf) (05/09/91)

In article <1422@usage.csd.unsw.oz.au> mcba@newt.phys.unsw.OZ.AU (Michael C. B. Ashley) writes:
>Hi,
>
>Problem:
>
>     Page N-1              Page N
>   .___________.        .___________.
>   |textt|ttext|        |textt|xttex|
>   |extte|textt|        |extte|ttext|
>   |xttex|extte|        |xttex|textt|
>   |textt|xtext|        |textt|xttex|
>   |extte|textt|        |extte|ttext|
>   |xttex|extte|        |     |     |
>   |textt|xtext|        |     |     |
>   |extte|textt|        |     |     |
>   |xttex|extte|        |     |     |
>   +-----------+        +-----------+
>
>i.e., I want to align the column ends on the last page of a document. I
>realize that this is done in The TeX Book, but can't see how to add it
>to LaTeX. Presumably this is a FAQ, however, I have not been a reader of
>this news group until recently and haven't seen it so far. If someone
>could mail me a style file it would be a great help.
>
>Thanks!
>Michael Ashley mcba@newt.phys.unsw.oz.au Astrophysics Dept. 
>University of New South Wales, Australia.


I suggest that you try Frank Mittelbach's excellent multicol style
option, which does exactly what you want. This is available from all
good servers, like ymir.claremont.edu, aston.ac.uk, or
rusmv1.rus.uni-stuttgart.de. You might also ask the Heidelberg
listserver (LISTSERV@DHDURZ1.bitnet) to send it to you. 

Rainer Schoepf

dahosek@biivax.dp.beckman.com (05/09/91)

In article <91128.084009HOMH@QUCDN.QueensU.CA>, HOMH@QUCDN.QueensU.CA writes:
> Try the multicols.sty at ymir.claremont.edu (134.173.4.23). It doesn't only
> balance the two colums for you, but it also allows you to switch from one to
> two or more columns and back in the same page. Note that there are more than
> file to get for this style.

Do note, however, that support for floats is somewhat lessened
within the multicols environment.

-dh

-- 
Don Hosek // Quixote Digital Typography   714-625-0147

On contract to Beckman Instruments        714-961-4562

dorai@titan.rice.edu (Dorai Sitaram) (05/10/91)

In article <1991May8.170029.14015@rusmv1.rus.uni-stuttgart.de> texinfo1@rusmv1.rus.uni-stuttgart.de (Rainer Schoepf) writes:
>In article <1422@usage.csd.unsw.oz.au> mcba@newt.phys.unsw.OZ.AU (Michael C. B. Ashley) writes:
>>     Page N-1              Page N
>>   .___________.        .___________.
>>   |textt|ttext|        |textt|xttex|
>>   |extte|textt|        |extte|ttext|
>>   |xttex|extte|        |xttex|textt|
>>   |textt|xtext|        |textt|xttex|
>>   |extte|textt|        |extte|ttext|
>>   |xttex|extte|        |     |     |
>>   |textt|xtext|        |     |     |
>>   |extte|textt|        |     |     |
>>   |xttex|extte|        |     |     |
>>   +-----------+        +-----------+
>>
>>i.e., I want to align the column ends on the last page of a document. I
>>realize that this is done in The TeX Book, but can't see how to add it
>>to LaTeX. Presumably this is a FAQ, however, I have not been a reader of
>>this news group until recently and haven't seen it so far. If someone
>>could mail me a style file it would be a great help.
>
>I suggest that you try Frank Mittelbach's excellent multicol style
>option, which does exactly what you want. This is available from all
>good servers, like ymir.claremont.edu, aston.ac.uk, or
>rusmv1.rus.uni-stuttgart.de. You might also ask the Heidelberg
>listserver (LISTSERV@DHDURZ1.bitnet) to send it to you. 

A related (actually reverse) problem re multicol.sty, which is indeed
excellent:

The multicol environment always splits its columns so they're of
(approx) the same size, which answers mcba's question.  Now, how do I
get it to be more leftist, cf. LaTeX's twocolumn.sty, i.e., get text
to fill the more left columns fully first before attempting the more
right ones?  (Why not just use twocolumn.sty, you query?  Well, I'd
like the full generality of n columns.)

Putting \vfills or \vspaces toward the end doesn't quite work (why?)
and \setcountering unbalance is too trial-and-errorish.

--d