LaTeX forum ⇒ Page LayoutBlank page in front of title page

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
peaches2165
Posts: 23
Joined: Wed Oct 22, 2008 5:03 pm

Blank page in front of title page

Postby peaches2165 » Mon Oct 16, 2017 5:00 pm

Hi,

I am typesetting a paper and keep getting a blank page in front of the title page. Can anyone tell me how to fix this. My setup is
  1. \documentclass{llncs}
  2. \usepackage{amsmath, amssymb}
  3.  
  4. \setlength{\textwidth}{12.2cm}
  5. \setlength{\textheight}{19.3cm}
  6.  
  7. \begin{document}
  8.  
  9. \title{The }
  10.  
  11. \author{author}
  12. \institute{institute, address, address, \email{name}}\\
  13.  
  14. \maketitle
  15.  
  16. \section{Introduction}
  17.  
  18. \end{document}

Thanks,
Peaches

User avatar
Johannes_B
Site Moderator
Posts: 3548
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Mon Oct 16, 2017 5:35 pm

Where can we get llncs from?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8451
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Mon Oct 16, 2017 7:40 pm

I guess that's from Springer.

Stefan
Site admin

rais
Posts: 148
Joined: Sun Nov 16, 2014 8:51 pm

Postby rais » Tue Oct 17, 2017 12:39 am

Well, I can't reproduce the reported issue with the code provided, I get a single page output instead.

Even so, there was a `! LaTeX Error: There's no line here to end.' message caused by the \\---what did you expect from it?
Neither \author, \institute, nor \title command produces any text output directly. that's \maketitle's job.
In fact, I'd put those three commands into the preamble, not into the text body of the document.

If you put \listfiles above \documentclass, you can compare your file versions with mine:
  1. *File List*
  2. llncs.cls 2017/09/04 v2.19
  3. LaTeX document class for Lecture Notes in Computer Science
  4. article.cls 2014/09/29 v1.4h Standard LaTeX document class
  5. size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
  6. multicol.sty 2017/04/11 v1.8q multicolumn formatting (FMi)
  7. aliascnt.sty 2016/05/16 v1.4 Alias counters (HO)
  8. remreset.sty
  9. amsmath.sty 2016/11/05 v2.16a AMS math features
  10. amstext.sty 2000/06/29 v2.01 AMS text
  11. amsgen.sty 1999/11/30 v2.0 generic functions
  12. amsbsy.sty 1999/11/29 v1.2d Bold Symbols
  13. amsopn.sty 2016/03/08 v2.02 operator names
  14. amssymb.sty 2013/01/14 v3.01 AMS font symbols
  15. amsfonts.sty 2013/01/14 v3.01 Basic AMSFonts support
  16. umsa.fd 2013/01/14 v3.01 AMS symbols A
  17. umsb.fd 2013/01/14 v3.01 AMS symbols B
  18. ***********

(you'll find it close to the end of your .log file)

BTW: \textwidth and \textheight are set by the llncs class to the exact same dimensions, already (means, you don't need to repeat those \setlength statements in your preamble).

KR
Rainer

Onlyzen
Posts: 3
Joined: Sat Jul 22, 2017 3:06 pm

Postby Onlyzen » Thu Nov 09, 2017 8:52 am

  1. \documentclass{article}%
  2.  
  3. \usepackage{amsmath}%
  4. \usepackage{amsfonts}%
  5. \usepackage{amssymb}%
  6. \usepackage{graphicx}
  7.  
  8. \begin{document}
  9.  
  10. \title{This is the Title of a Standard \LaTeX\ Article}
  11. \author{J. A. Smith\thanks{This is for making an acknowledgement.}
  12. \\The University of Miskolc, Hungary}
  13. \date{February 24, 2002}
  14. \maketitle
  15.  
  16. \begin{abstract}
  17. This is a sample document which shows the most important features of the Standard
  18. \LaTeX\ Journal Article class.
  19. \end{abstract}
  20.  
  21. \section{Introduction}
  22.  
  23. \noindent The front matter has various entries such as\\
  24.  
  25.  
  26. \appendix
  27.  
  28. \section{The First Appendix}
  29.  
  30. The appendix fragment is used only once. Subsequent appendices can be created
  31. using the Section Section/Body Tag.
  32. \end{document}

User avatar
Johannes_B
Site Moderator
Posts: 3548
Joined: Thu Nov 01, 2012 4:08 pm

Postby Johannes_B » Thu Nov 09, 2017 8:57 am

HI,

why did you post this minimal working example?
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.

User avatar
Stefan Kottwitz
Site Admin
Posts: 8451
Joined: Mon Mar 10, 2008 9:44 pm
Location: Hamburg, Germany
Contact:

Postby Stefan Kottwitz » Thu Nov 09, 2017 2:03 pm

Well, it seems to be just a small clean working example for somebody to start. :-)

But why not comment on it. \noindent is not necessary after \section. At the beginning of sections, there is no indentation. That makes sense, since there's no need for visualizing a paragraph break by this. But in the same sense, I would put \noindent at the beginning of the abstract, to avoid the indentation there. It's not off by default there.

And the small example shows a potential danger. ;) Usually one should not use \\ in normal text. It's for ending lines in tables, matrices, multi-line formulas, or layout stuff such as titles. Normal text has paragraph breaks (empty lines) instead of just \\ line endings. Just my opinion.

Stefan
Site admin


Return to “Page Layout”

Who is online

Users browsing this forum: No registered users and 2 guests