尝试插入图片时,无法找到导致此代码出现错误的原因

尝试插入图片时,无法找到导致此代码出现错误的原因
\documentclass[12pt]{article}


\usepackage{cite}

\usepackage[UKenglish]{babel}
\usepackage{fixltx2e}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}

\usepackage{graphicx}
\usepackage{chngcntr}
\counterwithin{figure}{section}

\usepackage[labelfont=bf]{caption}
\captionsetup{font=small}

\usepackage[font=small]{subcaption}

\usepackage[export]{adjustbox}

\usepackage{float}

\usepackage{titling}
\setlength{\droptitle}{-2cm}
\predate{}
\date{}
\postdate{}
\begin{document}
\begin{figure}[H]
\centering
\includegraphics[width=\textwidth]{example-image}
\caption{Theoretical model of erbium excitation by sensitization through 
organic ligand, occuring as follows: 
\begin{enumerate}
\item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st 
singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
\item In some cases the ligand de-excites, emitting a photon, flourescing, 
in some cases energy transfers from the 1st singlet excited state to the 
erbium, subsaquently:
\begin{enumerate}
\item The erbium de-excites, by non-radiative transition, to a lower excited 
(4f orbital) state.
\item By induced electric dipole transition, the erbium de-excites, emitting 
the desired 1.5$\mu$m wavelength emission.
\end{enumerate}
\item In other cases the organic ligand transitions from 1st excited singlet 
state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing 
mechanism (ISC) where a photon may be emitted, (with a long decay time) 
phosphorescing, or the energy transfers from the 1st excited triplet state 
to the erbium.
\item The erbium de-excites, by non-radiative transition, to a lower excited 
(4f orbital) state.
\item By induced electric dipole transition, the erbium de-excites, emitting 
the desired 1.5$\mu$m wavelength emission.
\end{enumerate}}

\label{fig:1.2}
\end{figure}



\end{document}

答案1

\caption并不是真正为这么长的文本而设计的,但如果你取消检查它是一行(nooneline选项)并为图片列表提供一个较短的标题,那么它就可以工作

但请注意,我使用的示例图像对于页面来说太大了

latex 警告

 Overfull \vbox (79.45732pt too high) has occurred while \output is active

您可以缩小文本或使用较小的字体。或者进一步缩放图像以腾出更多空间或......

在此处输入图片描述

\documentclass[12pt]{article}


\usepackage{cite}

\usepackage[UKenglish]{babel}
%\usepackage{fixltx2e}
\usepackage{hyperref}
\usepackage[utf8]{inputenc}

\usepackage{graphicx}
\usepackage{chngcntr}
\counterwithin{figure}{section}

\usepackage[labelfont=bf,nooneline]{caption}
\captionsetup{font=small}

\usepackage[font=small]{subcaption}

\usepackage[export]{adjustbox}

\usepackage{float}

\usepackage{titling}
\setlength{\droptitle}{-2cm}
\predate{}
\date{}
\postdate{}
\begin{document}
\begin{figure}[H]
\centering
\includegraphics[width=\textwidth]{example-image}
\caption[short caption for the list of figures]{Theoretical model of erbium excitation by sensitization through 
organic ligand, occuring as follows: 
\begin{enumerate}
\item Organic ligand (singlet) groundstate, 'S$_{0}$', is excited to the 1st 
singlet excited state, 'S$_{1}$' by the absorbtion of a photon.
\item In some cases the ligand de-excites, emitting a photon, flourescing, 
in some cases energy transfers from the 1st singlet excited state to the 
erbium, subsaquently:
\begin{enumerate}
\item The erbium de-excites, by non-radiative transition, to a lower excited 
(4f orbital) state.
\item By induced electric dipole transition, the erbium de-excites, emitting 
the desired 1.5$\mu$m wavelength emission.
\end{enumerate}
\item In other cases the organic ligand transitions from 1st excited singlet 
state to 1st excited triplet state, 'T$_{1}$', by some inter-system-crossing 
mechanism (ISC) where a photon may be emitted, (with a long decay time) 
phosphorescing, or the energy transfers from the 1st excited triplet state 
to the erbium.
\item The erbium de-excites, by non-radiative transition, to a lower excited 
(4f orbital) state.
\item By induced electric dipole transition, the erbium de-excites, emitting 
the desired 1.5$\mu$m wavelength emission.
\end{enumerate}}

\label{fig:1.2}
\end{figure}



\end{document}

相关内容