这是第一次使用描述,但描述覆盖了文本,如下所示
这是我正在使用的脚本:
\documentclass[conference]{IEEEtran}
\usepackage{cite}
\usepackage{tabularx,booktabs}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{epstopdf}
%\usepackage{subcaption}
\usepackage{longtable}
\usepackage{comment}
\usepackage{tabularx}
\usepackage[table]{xcolor}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{caption}
%\usepackage{subcaption}
\usepackage{longtable}
\usepackage{comment}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{gensymb}
\usepackage{adjustbox}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{enumerate}
\usepackage{algorithm}
\usepackage{algorithmic}
\ifCLASSINFOpdf
\else
\fi
\bibliographystyle{IEEEtran}
\begin{document}
\title{A}
\author{\IEEEauthorblockN{}}
\maketitle
\IEEEpeerreviewmaketitle
\begin{description}
\item[Experiment 1 :] In this experiment, aaaa
\item[Experiment 2 :] This experiment is the same as Experiment 1, but
\item[Experiment 3 :] This experiment is the same as Experiment 1, but the
\end{description}
\bibliography{../refhJ}
\end{document}
答案1
如果你添加\usepackage{enumitem}
到序言中,然后用定义你的列表\begin{description}[leftmargin=8em,style=nextline]
,你可以摆脱你的问题,如中所述具有固定标签宽度的描述类环境。
完整示例:
\documentclass[conference]{IEEEtran}
\usepackage{cite}
\usepackage{tabularx,booktabs}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{caption}
\usepackage{epstopdf}
%\usepackage{subcaption}
\usepackage{longtable}
\usepackage{comment}
\usepackage{tabularx}
\usepackage[table]{xcolor}
\usepackage{graphicx}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{caption}
%\usepackage{subcaption}
\usepackage{longtable}
\usepackage{comment}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{gensymb}
\usepackage{adjustbox}
\usepackage{subfig}
\usepackage{tikz}
\usepackage{enumerate}
\usepackage{enumitem}
\usepackage{algorithm}
\usepackage{algorithmic}
\ifCLASSINFOpdf
\else
\fi
\bibliographystyle{IEEEtran}
\begin{document}
\title{A}
\author{\IEEEauthorblockN{}}
\maketitle
\IEEEpeerreviewmaketitle
\begin{description}[leftmargin=8em,style=nextline]
\item[Experiment 1 :] In this experiment, aaaa
\item[Experiment 2 :] This experiment is the same as Experiment 1, but
\item[Experiment 3 :] This experiment is the same as Experiment 1, but the
\end{description}
\bibliography{../refhJ}
\end{document}
显示列表如下: