繪製目錄樹時出現問題

繪製目錄樹時出現問題

我正在嘗試使用 IEEE Access 模板繪製目錄樹,但我不斷收到錯誤。問題是我有幾篇論文只在目錄樹中引用,由於這個原因和分辨率差,我無法拍攝快照。關於如何解決這個問題的任何想法。下面顯示了使用目錄樹的範例程式碼

 \documentclass{ieeeaccess}
 \usepackage{cite}
 \usepackage{amsmath,amssymb,amsfonts}
 \usepackage{algorithmic}
 \usepackage{graphicx}
 \usepackage{textcomp}
 \usepackage{dirtree}
 \def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
    T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
 \begin{document}
  \history{Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.}
  \doi{10.....}

  \title{Preparation of Papers for IEEE ACCESS}
  \author{\uppercase{First A. Author}\authorrefmark{1}, \IEEEmembership{Fellow, IEEE},
    \uppercase{Second B. Author\authorrefmark{2}}}
  \address[1]{National Institute of Standards and 
    Technology, Boulder, CO 80305 USA (e-mail: [email protected])}
  \address[2]{Department of Physics, Colorado State University, Fort Collins, 
    CO 80523 USA (e-mail: [email protected])}
  \tfootnote{This paragraph of the first footnote will contain support 
    information, including sponsor and financial support acknowledgment. For 
    example, ``This work was supported in part by the U.S. Department of 
    Commerce under Grant BS123456.''}

  \markboth
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}
{Author \headeretal: Preparation of Papers for IEEE TRANSACTIONS and JOURNALS}

   \corresp{Corresponding author: First A. Author (e-mail: author@ boulder.nist.gov).}

  \begin{abstract}
    These instructions give you guidelines for preparing papers for 
    IEEE Access. Use this document as a template if you are 
    using \LaTeX. Otherwise, use this document as an 
    instruction set. 
\end{abstract}

\begin{keywords}
    Enter key words or phrases in alphabetical 
    order, separated by commas. 
\end{keywords}

\titlepgskip=-15pt

\maketitle

\section{Introduction}
\label{sec:introduction}
\PARstart{T}{his} document is a template for \LaTeX. If you are 
reading a paper or PDF version of this document, please download the 
electronic file, trans\_jour.tex, from the IEEE Web site...

%%%%%%%%%%%%%main part%%%%%%%%%%%%%%%%%%
\Figure[t!][scale=0.5]{
\renewcommand\DTstyle{\rmfamily}
\dirtree{%
.1 Class1.
.2 Class2.
.3 Class3.
.4 Class4.
}}{Dir tree\label{dir}} 
%%%%%%%%%%%%%%%end of main part%%%%%%%%%%%%%%

\EOD




\end{document}

當我使用下面的程式碼時,出現第二個錯誤

 \Figure[t!][scale=0.5]{
 \renewcommand\DTstyle{\rmfamily}
 \dirtree{%
.1 Class1.
.2 Class2.
.3 Class3.
.4 Class4.
}}{Dir tree\label{dir}} 

此範本可從以下網址下載這裡。另請注意,我放置了 dtk-logs來自 CTAN 網站與 tex 檔案位於同一資料夾中。

第一個錯誤

第一個錯誤

更改主要部分後出錯

第二個錯誤

相關內容