Pages

Saturday, April 18, 2020

Troubleshooting LaTEX IEEE document

It happens that i compiled a file which was shifted to new page when author affiliations were entered. Moreover, the abstract appeared to be a normal text. Below is the remedy of this.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
\documentclass[journal]{IEEEtran}
\IEEEoverridecommandlockouts
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{cite}
\usepackage{amsmath}
\usepackage{array}
\ifCLASSINFOpdf
\else
\fi

\begin{document}

\title{A sample paper}

\author{Author 1, Author 2 , Author 3, Author 4% <-this % stops a space
\thanks{Author 1, Author 2 and Author 3 are with the Faculty of Electrical Engineering, Ghulam Ishaq Khan Institute of Engineering Sciences and Technology, 
Topi, 23460 Pakistan e-mail: (email@giki.edu.pk).}% <-this % stops a space
\thanks{Author 4 affiliation here}% <-this % stops a space
}
% make the title area
\maketitle
\begin{abstract}

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
For the issue of abstract, always use PDFLATEX as a default compiler. To set this is TexStudio, follow this sequence

Options > configure texstudio> build> default compiler > pdflatex 

click OK.

This solves the issues 

No comments:

Post a Comment