Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I want to write a landscape two column document. Does anyone know if there's a possibility to use the \maketitle command such that the title is only in the left column and does not span the whole page?

share|improve this question

migrated from stackoverflow.com Mar 7 '13 at 18:41

This question came from our site for professional and enthusiast programmers.

    
Welcome to TeX.sx! Your post was migrated here from another Stack Exchange site. Please register on this site, too, and make sure that both accounts are associated with each other (by using the same OpenID), otherwise you won't be able to comment on or accept answers or edit your question. –  lockstep Mar 7 '13 at 18:44

2 Answers 2

When using the geometry package to set your landscape and twocolumn mode, \maketitle behaves as expected:

enter image description here

\documentclass{article}
\usepackage[landscape,twocolumn]{geometry}% http://ctan.org/pkg/geometry
\usepackage{lipsum}% http://ctan.org/pkg/lipsum
\author{An author}
\title{A title}
\begin{document}
\maketitle
\lipsum
\end{document}
share|improve this answer
    
Yes, because the twocolum option doesn't set if@twocolumn to true. However, geometry also changes the page parameters, that might need to be reset anyway. –  egreg Mar 7 '13 at 22:16

This is the default of the article class. We can do a couple of patches to the \maketitle command (responsible for the title spanning the two columns) and to \@maketitle. The second set of patches is meant not to have the title vertically shifted down and start instead level with the second column.

\documentclass[twocolumn,landscape]{article}
\usepackage{etoolbox}
\makeatletter
% Remove the brackets so LaTeX sees \twocolumn\@maketitle
\patchcmd{\maketitle}
  {[\@maketitle]}
  {\@maketitle}
  {}{}
% Remove the vertical shift from the title
\patchcmd{\@maketitle}
  {\null\vskip2em\begin{center}}
  {\vspace*{0pt}\nointerlineskip\begingroup\centering}
  {}{}
% In the final part we must remove \end{center}
\patchcmd{\@maketitle}
  {\end{center}\par}
  {\par\endgroup}
  {}{}
\makeatother
\usepackage{kantlipsum}
\begin{document}
\title{Title}
\author{Author}
\maketitle
\section{Section}
\kant[1-4]
\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.