Skip to content

Instantly share code, notes, and snippets.

@yegor256
Last active April 19, 2024 07:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yegor256/58b289432d9ca13a6fd5946c77d8bd48 to your computer and use it in GitHub Desktop.
Save yegor256/58b289432d9ca13a6fd5946c77d8bd48 to your computer and use it in GitHub Desktop.
A template of a research paper that uses the IEEEtran document class

Use the following LaTeX template, if a conference asks you to use the IEEEtran document class (create your orcid here):

\documentclass[conference]{IEEEtran}
\usepackage[backend=bibtex,style=numeric,natbib=true]{biblatex}
\usepackage{href-ul}
\usepackage{orcidlink}
\addbibresource{main.bib}
\begin{document}
\title{Beautiful Research Paper}
\newcommand{\athr}[4][]{%
  \IEEEauthorblockN{%
    \def\orcid{#1}%
    #2\,%
    \ifx\orcid\empty\else\orcidlink{\orcid}\fi%
  }%
  \IEEEauthorblockA{%
    \def\address{#3}%
    \def\email{#4}%
    \ifx\address\empty\else#3\\\fi%
    \ifx\email\empty\else#4\fi%
  }
}
\makeatletter
\newcommand{\linebreakand}{%
  \end{@IEEEauthorhalign}
  \hfill\mbox{}\par
  \mbox{}\hfill\begin{@IEEEauthorhalign}
}
\makeatother
\author{
  \athr
    [0000-0001-6370-0678]
    {Yegor Bugayenko}
    {Huawei, China}
    {yegor256@gmail.com}
  \and
  \athr
    {Donald Knuth}
    {Stanford University \\ California, USA}
    {donald@gmail.com}
  \linebreakand
  \athr
    {Martin Fowler}
    {}
    {martin@gmail.com}
  \and
  \athr
    {Albert Einstein}
    {}
    {}
}
\maketitle
\begin{abstract}
It's amazing!
\end{abstract}
\section{Introduction}
Hello, world!
\printbibliography
\end{document}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment