![绘制目录树时出现问题](https://linux22.com/image/399692/%E7%BB%98%E5%88%B6%E7%9B%AE%E5%BD%95%E6%A0%91%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
我正在尝试使用 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 文件位于同一文件夹中。
第一个错误
更改主要部分后出错