如何解决同一行中有两个项目索引
我用乳胶写过以下内容
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{description}
\item Ans:
\begin{enumerate}
\item text
\end{enumerate}
\end{description}
\end{document}
我得到类似
的输出Ans:
1. text
我想知道是否有办法获得这样的输出
Ans: 1. text
解决方法
\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\begin{document}
\begin{description}
\item[Ans:]
\begin{enumerate}
\item text
\end{enumerate}
\end{description}
\end{document}
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。