Dear fellow LaTeX users,

I am new to the field and had to start quite deep with a relatively complex document template (PNAS research article template). The respective files can be obtained at: http://www.pnas.org/page/authors/latex

The template contains a box/object with a so-called "significance statement". Depending on how long I choose my introduction, the box moves to the next page. There's some threshold of raw length of the first paragraph that makes it reproducibly happening. I believe this should not happen, since all articles by PNAS have it on the bottom left right side of the first page (cf. my 2 screenshots)

Short introduction - Box in-place Long introduction - Box moves

There's nothing that sets up the location of this "Box" in the main .tex file, but I found the following in "the main" .sty file (cf. below). I tried to find out about it, I guess "afterpage" does put it on the following page? It this supposed to happen? Why does it happen after a threshold of paragraph length? How can I fix it to not move to the next page?


    \section*{Significance Statement}%
%     \medskip

Thank you very much

  • 1
    Welcome, don't worry about the layout, just care about the content. The journal will take care of the complete layout later on. – Johannes_B Nov 6 '18 at 7:16
  • (Had to merge accounts to comment, sorrry). I will have to send only the compiled PDF upon first submission, which will decide over the fate of my article. Since it is a high-end journal, I would to present a perfect document, with the box in its correct place, upon first submission – Andrew Nov 6 '18 at 10:00

The \afterpage command is there because the significance statement is a float, and this ensures that it still comes at the bottom of the column even if there are other floats on the first page.

You're seeing this behavior because the first paragraph is extremely long and LaTeX can't find room for the significance statement on the first page, so it moves to the next. Try breaking up that text into multiple paragraphs and the problem goes away.

Notice in the example below (BTW, you should normally provide a MWE in your questions), if you set the blindtext repeat value in the first paragraph to 10 or greater, there's not room for this whole paragraph on the first page, and so the behavior you're seeing occurs. If you set it to 9, the end of the first paragraph is still on the second page, but that's because there would be room for it if not for the significance statement.


\title{Template for preparing your research report submission to PNAS using Overleaf}
\author[a,c,1]{Author One}
\author[b,1,2]{Author Two} 
\author[a]{Author Three}

\affil[a]{Affiliation One}
\affil[b]{Affiliation Two}
\affil[c]{Affiliation Three}
\leadauthor{Lead author last name} 

\significancestatement{Authors must submit a 120-word maximum statement about the
significance of their research paper written at a level understandable to an undergraduate
educated scientist outside their field of speciality. The primary goal of the Significance
Statement is to explain the relevance of the work in broad context to a broad readership.
The Significance Statement appears in the paper itself and is required for all research papers.}

\authorcontributions{Please provide details of author contributions here.}
\authordeclaration{Please declare any conflict of interest here.}
\equalauthors{\textsuperscript{1}A.O.(Author One) and A.T. (Author Two) contributed equally to this work (remove if not applicable).}
\correspondingauthor{\textsuperscript{2}To whom correspondence should be addressed. E-mail: author.two\@email.com}
\keywords{Keyword 1 $|$ Keyword 2 $|$ Keyword 3 $|$ ...} 

Please provide an abstract of no more than 250 words in a single paragraph. Abstracts should
explain to the general reader the major contributions of the article. References in the
abstract must be cited in full within the abstract itself and cited in the text.
\dates{This manuscript was compiled on \today}



\dropcap{T}his PNAS journal template is provided to help you write your work in the correct
journal format.  Instructions for use are provided below. \blindtext[9] 



enter image description here

  • Thank you for the comment. When I add paragraphs myself the Overleaf Compiler crashes. Have to find another way --> I will have a look at your suggestion using the "blindtext" package – Andrew Nov 7 '18 at 18:19
  • The blindtext package is just there to provide some text for illustration. It has nothing to do with the problem. Without a MWE that illustrates the issue you're having, I'm afraid I can't be of much help. – Karl Hagen Nov 7 '18 at 19:28

I could not log into my old account somehow. I am "Andrew" who asked the question.


Use the LaTeX templates directly provided by Overleaf, rather than those provided by the PNAS webpage! I never ran into this issue again despite exactly the same text!

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.