1

I'm trying to use the PNAS two column class (pnastwo.cls). I include it by writing

\documentclass{pnastwo}

in my tex file. However, it still shows the text as one column. Why is that happening and how can I fix that?

The documentation (http://www.pnas.org/site/misc/PNASDOCS.PDF) doesn't seem to mention anything about such behavior

  • 2
    Please, add a MWE showing the issue. – egreg Apr 6 '15 at 22:22
  • Welcome to TeX.SX!. The convention is not to add "thanks" comments to posts and, as egreg says, to add a full minimal working example so that people can see what packages etc you need to get your code to work (but don't add code that is not needed). This makes it much easier for people to help you. – Andrew Apr 6 '15 at 22:41
4

The \begin{article}...\end{article} environment wrapper inside the body is needed for a twocolumn setup (strangely enough, however)

The document class can be found at PNAS Author site

\documentclass{pnastwo}

\author{Miss Ann Elk\affil{1}{Ministry of Silly Walks}}
\title{On Brontosaurs}

\usepackage{blindtext}
\begin{document}
\maketitle
\begin{article}
\begin{materials}

\blindtext
\end{materials}
\end{article}
\end{document}

enter image description here

  • This works but I'm also using the multicol package. When I include that via usepackge, I get the following error "! Output routine didn't use all of \box255" – Opt Apr 6 '15 at 23:58
  • 3
    @Opt: Well, your post did not reveal that you use multicol package. And in fact, you don't need it, I would say – user31729 Apr 6 '15 at 23:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.