Page Layout ⇒ switch from two-column to one-column page without pagebreak
-
- Posts: 7
- Joined: Sat Dec 26, 2015 8:49 pm
switch from two-column to one-column page without pagebreak
I'm trying to find a way to switch a twocolumn article (\documentclass[twocolumn]{article}) temporarily to single column. The problem is that \onecolumn, \twocolumn page-break each time. The alternative of multicol is not acceptable since it allows only page-wide floats.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
switch from two-column to one-column page without pagebreak
This is a bit of a problem for LaTeX. You can place boxes like that only on the top of pages. Either bei using
Look at the parbox with the green text. LaTeX cannot remember, that this place is already filled. Ask yourself a question: How would LaTeX decide if the first column above is typeset and then the other column above, the two at the bottom at the end. Or first column one top and bottom, and later column two top to bottom. How would the reader of a document decide which way to read?
Package stfloats extends the standard and allows floats at the bottom of pages.
\twocolumn
which is internally used for abstracts and the like; or you use a doublefloat in which you pack what you want/need. Code: Select all
\documentclass[twocolumn]{article}
\usepackage{xcolor}
\usepackage{blindtext}
\begin{document}
\blindtext
\twocolumn[\textcolor{red!60!black}\blindtext]
\begin{figure*}
\textcolor{blue!50!black}\blindtext
\end{figure*}
\blindtext
\begin{table*}[bp]
\textcolor{orange!50!black}\blindtext
\end{table*}
\noindent\parbox{\textwidth}{\textcolor{green!50!black}\blindtext}
\blindtext[4]
\end{document}
Package stfloats extends the standard and allows floats at the bottom of pages.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
-
- Posts: 7
- Joined: Sat Dec 26, 2015 8:49 pm
switch from two-column to one-column page without pagebreak
This is really strange. There's a massive amount of scientific papers doing what i'm asking for. Just to be precise, i want, right after the title, to insert a few page-length lines of information about authors,keywords,contact info etc. I tried to suppressing pagebreak for a single command but later on page-length text is overwritten by the second column text:
I'll keep searching among various templates and perhaps will find a solution. Really frustrating though...
Code: Select all
\begingroup
\let\clearpage\relax
\onecolumn
\endgroup
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
switch from two-column to one-column page without pagebreak
I bet you are generating the title using
Put the title as well as the abstract and the keywords in the optional argument of
\maketitle
. Don't; the standard title is quite ugly anyway.Put the title as well as the abstract and the keywords in the optional argument of
twocolumn
.Code: Select all
\documentclass[twocolumn]{article}
\usepackage{blindtext}
\begin{document}
\twocolumn[{\centering{\Huge Why is this all
happening?\par}\vspace{3ex}
{\Large Crazy Cabybara\par}\vspace{2ex}
\today\par\vspace{4ex}}
{\centering\bfseries Abstract\par}
\smallbreak
\blindtext
\medbreak
Keywords: Ant, Bee, Penguin
\par\vspace{2ex}]
\blindtext[5]
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.