General ⇒ Blank page before the first page
-
- Posts: 6
- Joined: Thu Mar 03, 2011 10:48 pm
Blank page before the first page
When I produce pdf file I get blank page before my first intended page. I don't know how to get rid of this blank page. Any help will be highly appreciated. I post my files as attachment.
Sincerely,
Nikola
- Attachments
-
- Poročilo.pdf
- (216.41 KiB) Downloaded 229 times
-
- Poročilo.tex
- (10.11 KiB) Downloaded 197 times
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Blank page before the first page
Code: Select all
file Poročilo.texPoročilo.tex: LaTeX 2e document, UTF-8 Unicode (with BOM) text, with very long lines, with CRLF line terminators
Code: Select all
\documentclass[a4paper,12pt]{article}\usepackage[utf8]{inputenc} %input encoding; lahko je tudi [cp1250] ali [latin2]\usepackage[slovene,english]{babel}\usepackage{color}%JB:\usepackage{physics}\usepackage{siunitx}\usepackage{booktabs}\usepackage{parskip}%not setting it manually%JB:\usepackage{amssymb,amsmath}\usepackage[T1]{fontenc}%JB: \usepackage[cp1250]{inputenc}You did load inputenc before with%JB: another option. Be sure not to confuse the program or yourself.\usepackage[%pdftex]{graphicx}%JB: leave out the option, it is no good\usepackage{array}\usepackage[a4paper]{geometry}%You already set that as a global option\geometry{top=1.0in, bottom=1.0in, left=1in, right=1.0in}\begin{document}\selectlanguage{slovene}%JB: You could set the title and name like this\title{Projektna naloga iz matematična fizikaKeplerjev problem}\author{Nikola Miljevski\\28030415}%\begin{center}%\LARGE Projektna naloga iz matematična fizika\\%\Large Keplerjev problem%%%\vspace{2 mm}%%\normalsize Nikola Miljevski\\%\normalsize 28030415%
-
- Posts: 6
- Joined: Thu Mar 03, 2011 10:48 pm
Blank page before the first page
I am not sure I understand what should I do.
"The BOM is confusing LaTeX, safe it without and everything will be fine."
I mean, how an I save it without?
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Re: Blank page before the first page
There should be utf8, no BOM (Byte Order Mark) mentioned.
-
- Posts: 6
- Joined: Thu Mar 03, 2011 10:48 pm
Re: Blank page before the first page
