尝试以下代码时
\documentclass{article}
\usepackage[demo]{graphicx}
\usepackage{caption, subcaption}
\usepackage[showframe]{geometry}
\begin{document}
\begin{figure}[H]
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=.8\linewidth]{imp₁.png}
\caption{image1}
\label{fig:1}
\end{subfigure}%
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=.8\linewidth]{imp₂.png}
\caption{image2}
\label{fig:2}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}\quad
\centering
\includegraphics[width=.8\linewidth]{imp₃.png}
\caption{image3}
\label{fig:3}
\end{subfigure}
\medskip
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=.8\linewidth]{imp₄.png}
\caption{image4}
\label{fig:4}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=.8\linewidth]{imp₅.png}
\caption{image5}
\label{fig:5}
\end{subfigure}
\begin{subfigure}{0.3\textwidth}
\centering
\includegraphics[width=.8\linewidth]{imp₆.png}
\caption{image6}
\label{fig:6}
\end{subfigure}
\caption{Fasi del processo di impregnazione}
\label{fig:images}
\end{figure}
\end{document}
弹出以下错误
LaTeX Error: Unknown float option
H'。[\begin{figure}[H]]`
欢迎提出任何建议
我需要在日记里放六张照片
photo1
photo2 photo3
photo4 photo5 photo6 and so on
这些照片将从照片 1 向下用线连接起来
我该怎么做?