Page LayoutBeamerarticle: two columns?

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
stinkinrich88
Posts: 52
Joined: Sat Jun 07, 2008 11:56 am

Beamerarticle: two columns?

Post by stinkinrich88 »

Hello,

How can I make my beamerarticle have two columns? Here is my header so far:

Code: Select all

\documentclass[twocolumn]{article} 
\usepackage{beamerarticle}
\usepackage{parskip}
\usepackage{graphicx}
\usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}
I thought the [twocolumn] would do it, but it doesn't (just makes the text area wider).

Thanks!

Rich

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Beamerarticle: two columns?

Post by frabjous »

I get two columns when I use the preamble you listed. Please post a full, compiliable, MWE that actually shows the problem.
stinkinrich88
Posts: 52
Joined: Sat Jun 07, 2008 11:56 am

Beamerarticle: two columns?

Post by stinkinrich88 »

Hi I'm not sure what an MWN is but here is my entire code:

PeopleTracking.article.tex:

Code: Select all

\documentclass[twocolumn]{article} 
\usepackage{beamerarticle}
\usepackage{parskip}
\usepackage{graphicx}
\usepackage[left=2cm,top=1cm,right=3cm,nohead,nofoot]{geometry}

\renewcommand{\vfill}{}

\newcommand{\putdecoration}[4][0]{}
% #1=x-pos (default center), #2=y position, #3=width, #4=image path
\newcommand{\putimage}[4][0]{\begin{figure}[h]\includegraphics[width=#3]{#4}\end{figure}}
% #1=xpos (defult center), #2=y positoin, #3=text
\newcommand{\puttext}[3][0]{#3}

\input{PeopleTracking.tex}
PeopleTracking.tex (with most content removed):

Code: Select all

\usepackage{booktabs}
\usepackage[absolute,overlay]{textpos}

\usetheme{Manhattan}
\author{Rich Coombs}
\title{People Tracking}
\date{January 2010}



\def \colorize <#1>{\temporal <#1>{\color{structure!50}}{\color{black}}{\color{black!50}}}

\newcommand{\fm}{$\longrightarrow$ }
                            
\AtBeginSection[] {
	\begin{frame} 
			\begin{Huge}\insertsection\end{Huge}
	\end{frame} 
} 

\begin{document}

	\frame{\titlepage}
	
	\frame{\tableofcontents}
	
	\section{WLAN Traces}
	
	\fm\frame{
		A Mobility Model Based on WLAN Traces and its Validation
		\vfill
		By Cristian Tuduce and Thomas Gross
	}
	
	\fm\frame{Realistic mobility model for mobile network simulators}
	
Felt other mobility models were too random and had not been validated with real world data. 

Decided to track real-life movement of people using WLAN traces.

\end{document}
User avatar
frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Beamerarticle: two columns?

Post by frabjous »

The problem is the line:

\frame{\titlepage}

"titlepage" is to be used as an environment, not as a command like this. The way you have it, it's treating the whole document as if it were a title, and hence, not putting it in columns.

Perhaps you meant

\frame{\maketitle}

?

In general, your code is messy. I don't understand the \fm commands and other text outside of frames (which will not work well if you switch this back to an actual beamer document). Personally, I prefer the syntax \begin{frame}...\end{frame} to \frame{...} as well.
stinkinrich88
Posts: 52
Joined: Sat Jun 07, 2008 11:56 am

Beamerarticle: two columns?

Post by stinkinrich88 »

Ahhh! Brilliant! Thank you, that solved it!

Hmmm, yep, I really need to tidy up and comment the code.

Any text outside of frames is ignored in the presentation because of this line:

Code: Select all

\documentclass[ignorenonframetext]{beamer} 
But all text is included in the beamerarticle (this means I can add notes to the beamerarticle by writing outside of the frames).

The \fm command simply puts an arrow in front of each new slide in the beamerarticle so it is easy to find which slide I am on (makes it easy to skim over reading the notes). As it is outside of a frame, it is ignored in the presentation slides.

Thanks for your advice and help!!
Post Reply