Search found 5 matches

by habib_seif
Wed Nov 11, 2009 7:20 pm
Forum: General
Topic: Yet another question about columns
Replies: 0
Views: 985

Yet another question about columns

Hi friends,

Is there any way to switch between number of columns without any page break? The multicol package works great but I can't use it in the style I'm using...

I found the below code from the blog: http://blog.robfelty.com/2007/03/20/latex-two-column-layouts-and-rubber-lengths/ , but it ...
by habib_seif
Wed Nov 11, 2009 2:32 pm
Forum: General
Topic: A question about columns
Replies: 6
Views: 3220

A question about columns

I finally found the answers of question 2 and 3. Here is the code for solving the problems:

\newcommand*{\restorecolumns}{}
\makeatletter
\newenvironment*{OneColumn}{%
\if@twocolumn
\balance
\let\restorecolumns\twocolumn
\onecolumn
\else
\let\restorecolumns\@empty
\fi
\ignorespaces ...
by habib_seif
Tue Nov 10, 2009 6:25 pm
Forum: General
Topic: A question about columns
Replies: 6
Views: 3220

Re: A question about columns

Dear phi,

The code you proposed worked great for me. Thanks a lot...

But some other questions:

1- The first and most important one is that is there any reference or book that lists the most important commands (like \if@twocolumn) and explains how we can use them? I'm newbie, so what's the start ...
by habib_seif
Mon Nov 09, 2009 7:25 am
Forum: General
Topic: A question about columns
Replies: 6
Views: 3220

Re: A question about columns

OK, let me explain what I exactly want to do...

I'm writing a paper which its class has not been determined yet: IEEE, ACM, Springer, .... So I don't know that if the whole paper is one columned or two columned and I don't want to change overall style since it has been set by the class. But I just ...
by habib_seif
Sun Nov 08, 2009 6:32 pm
Forum: General
Topic: A question about columns
Replies: 6
Views: 3220

A question about columns

Dear friends,

Is there any environment for setting number of columns to one?

As you know \onecolumn can set number of columns to one, but it's a command not environment. Therefore, I can't set number of columns to what it was before the \onecolumn.... I would like to have an environment like ...