如何在枚举列表中的项目之间放置数字?

Aug*_*sto 5 latex list enumerate

我有一个枚举列表,有些项目有数字。我这样写:

\begin{enumerate}
    \item Estado da arte: 
    \item Levantar os requisitos
    \item Com o microcontrolador
\ref{figurametodo3}.    
    \begin{figure}[h!]
        \begin{center}
            \includegraphics[scale=0.6]{./dados/figuras/metodo_3}
            \caption{Sistema para leitura da identificação de uma Tag} 
            \label{figurametodo3}
        \end{center}
    \end{figure}


    \item Estudar

    \begin{figure}[h]
    \begin{center}
        \includegraphics[scale=0.4]{./dados/figuras/metodo_4}
        \caption{Comunicação entre o microcontrolador e o celular} 
        \label{figurametodo4}
    \end{center}
\end{figure}

    \item Desenvolver 

    \begin{figure}[h]
    \begin{center}
        \includegraphics[scale=0.6]{./dados/figuras/metodo_final}
        \caption{Comunicação entre celulares e servidor} 
        \label{figura22}
    \end{center}
\end{figure}

\end{enumerate}
Run Code Online (Sandbox Code Playgroud)

但它将列表下方的所有数字对齐,超出了我想要的位置。我希望我的数字保持在你的项目之下。名单内。

rkt*_*kta 8

使用minipage环境插入图像:

\n\n
\\documentclass{article}\n\\usepackage[demo]{graphicx}\n\\usepackage{caption}\n\\begin{document}\n\\begin{enumerate}\n  \\item Estado da arte:\n  \\item Levantar os requisitos\n  \\item\n    \\begin{minipage}[t]{\\linewidth}\n      Com o microcontrolador \\newline                                \n      \\includegraphics[scale=0.6]{./dados/figuras/metodo_3}\n      \\captionof{figure}{Sistema para leitura da identifica\xc3\xa7\xc3\xa3o de    uma Tag}\n    \\end{minipage}\n\n\\end{enumerate}\n\\end{document}\n
Run Code Online (Sandbox Code Playgroud)\n\n

figure如果您不想要浮动,则不应使用, 。

\n\n

LaTeX维基百科解释道:

\n\n
\n

浮动体是文档中内容的容器,不能在页面上分解。LaTeX 默认情况下识别“表格”和“图形”浮点数,\n [...]。\n 浮点数的作用是处理对象不适合当前页面的问题,并提供帮助当您现在确实不想要该对象时。

\n
\n\n

要在图形之外提供标题,需要使用包title,它提供了captionof命令。

\n\n

如果您只是对使用命令感兴趣,还有一个capt-of\\captionof包。

\n


Wer*_*ner 7

这在以下常见问题解答中进行了介绍:

这是使用float的一个选项,它是[H]ERE 浮点说明符:

在此处输入图片说明

\documentclass{article}

\usepackage{float,graphicx}

\begin{document}

\begin{enumerate}
  \item Item 1
  \item Item 2
  \item Item 3

  \begin{figure}[H]
    \centering
    \includegraphics[width = .5\linewidth]{example-image-a}
    \caption{A figure caption}
  \end{figure}

  \item Item 4

  \begin{figure}[H]
    \centering
    \includegraphics[width = .5\linewidth]{example-image-b}
    \caption{B figure caption}
  \end{figure}

  \item Item 5
  \item Item 6
\end{enumerate}

\end{document}
Run Code Online (Sandbox Code Playgroud)