Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am using latex; however the first page is completely blank. How can I fix the issue?

Below is my latex code at the beginning of the document that I am using it and I tried to remove many parts but it seems that it is not getting fixed.

'usepackage{xcolor}
 usepackage{chngcntr}                  
 counterwithin*{equation}{section}
 counterwithin*{equation}{subsection}
 documentclass [12pt]{article}
 addtolength{oddsidemargin}{-.875in}
addtolength{evensidemargin}{-.875in}
addtolength{	extwidth}{1.75in}

addtolength{	opmargin}{-.875in}
addtolength{	extheight}{1.75in}
usepackage{cite}
 %  usepackage[natbibapa] 

%usepackage[english]{babel}
 usepackage[natbibapa]{apacite}
 usepackage{natbib}
 linespread{2}
 usepackage{paralist}
 usepackage{titlesec}
 usepackage[utf8]{inputenc}
 usepackage{amsmath}
 usepackage[justification=centering]{caption}
 usepackage{pdfpages}
 usepackage{amsfonts}
 usepackage{booktabs}
 usepackage{amssymb}
 usepackage{paralist}
 usepackage{graphicx}
 usepackage{amsthm}
 usepackage{latexsym}
 usepackage{subfig}
 usepackage{esint}
 usepackage{authblk}
 usepackage{comment}
 usepackage{float}
 usepackage{lineno}
 usepackage[toc,page]{appendix}
 usepackage{titlesec}
 usepackage{pdfpages}
 usepackage{eso-pic}
 usepackage{everyshi}
 usepackage{enumitem}
 usepackage{array}
 
ewcolumntype{L}[1]{>          
 {
aggedrightlet
ewline\arraybackslashhspace{0pt}}m{#1}}
 
ewcolumntype{C}[1]{>          
 {centeringlet
ewline\arraybackslashhspace{0pt}}m{#1}}
 
ewcolumntype{R}[1]{> 
 {
aggedleftlet
ewline\arraybackslashhspace{0pt}}m{#1}}
 
ewcommand{sectionbreak}{clearpage}
 %usepackage(apacite}
 %usepackage{ltxtable} 
%usepackage{makeidx} 
 %usepackage(apacite}
 %usepackage{ltxtable} 
%usepackage{makeidx}  
 egin{document}
 section{Introduction}
This document talks about optimizing and programming and related concepts.
minimizing tardiness of each machine.

clearpage

 ibliographystyle{apacite}
 ibliography{bibfile}

end{document}

I tried to solve the issue but it seems complicated to solve. I searched the forum but could not find how to handle the issue. Thanks in advance.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
190 views
Welcome To Ask or Share your Answers For Others

1 Answer

I finally solved the issue by commenting the following:

usepackage{xcolor}
 usepackage{chngcntr}                  
 counterwithin*{equation}{section}
 counterwithin*{equation}{subsection}

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share

548k questions

547k answers

4 comments

86.3k users

...