Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
193 views
in Technique[技术] by (71.8m points)

first page blank latex

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

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

1 Reply

0 votes
by (71.8m points)

I finally solved the issue by commenting the following:

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

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

1.4m articles

1.4m replys

5 comments

56.9k users

...