A Latex template

2019-01-11  本文已影响0人  Cabcab

需要用到IEEEtran.cls文件:
Link1
Link2

\documentclass[11pt,journal,compsoc]{IEEEtran}
\usepackage[colorlinks,linkcolor=blue]{hyperref}
\usepackage{indentfirst}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{subfigure}
\setlength{\parindent}{2em}
\ifCLASSOPTIONcompsoc
  \usepackage[nocompress]{cite}
\else
  \usepackage{cite}
\fi
\renewcommand{\thesubfigure}{\thefigure.\arabic{subfigure}} 
\makeatletter 
\renewcommand{\@thesubfigure}{\thesubfigure:\space} \renewcommand{\p@subfigure}{}
\makeatother

\hyphenation{op-tical net-works semi-conduc-tor}

\begin{document}
\title{title}
\author{NAME}

\markboth{a sample}
{Shell \MakeLowercase{\textit{et al.}}: Bare Demo of IEEEtran.cls for Computer Society Journals}

\IEEEtitleabstractindextext{
  \begin{abstract}
    Abstract here.
  \end{abstract}

  \begin{IEEEkeywords}
   A,\quad B,\quad C,\quad D
  \end{IEEEkeywords}
}

\maketitle

\IEEEdisplaynontitleabstractindextext

\IEEEpeerreviewmaketitle

\IEEEraisesectionheading
  {
  \section{Introduction}\label{sec:introduction}
  }
  \IEEEPARstart{I}{ntroduction}
   ahahah
  \hfill January 12, 2019

  \section{A}

  \begin{figure}[ht]
    \centering
    \includegraphics[width=8cm]{1.png}
    \caption{figure}
    \label{figure:label}
  \end{figure}

  \begin{table}[ht]
    \caption{1} % title of Table
    \centering % used for centering table
    \begin{tabular}{|c|c|c|}
    \hline 
    1&2&3\\
    \hline  
    4&5&6\\
    \hline 
    \end{tabular}
  \end{table}

  \section{Conclusion}
  Here is the conclusion.
  \appendices
 \section{aha}
  \ifCLASSOPTIONcompsoc
    \section*{Acknowledgments}
  \else
    \section*{Acknowledgment}
  \fi
  Thanks to XXX.
  \ifCLASSOPTIONcaptionsoff
    \newpage
  \fi

\end{document}
上一篇下一篇

猜你喜欢

热点阅读