美文网首页
A Latex template

A Latex template

作者: Cabcab | 来源:发表于2019-01-11 23:45 被阅读0次

    需要用到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}
    

    相关文章

      网友评论

          本文标题:A Latex template

          本文链接:https://www.haomeiwen.com/subject/jexqdqtx.html