我想将我的图居中(水平和垂直)。我有一个子部分,我想保留在同一页(顶部),但它被“推”到了下一页。我使用以下代码:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{setspace}
\usepackage{cleveref}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{pdflscape}
\usepackage[margin=2.5cm]{geometry}
\usepackage{booktabs,caption,fixltx2e}
\usepackage[flushleft]{threeparttable}
\usepackage[capposition=top]{floatrow}
\usepackage{float}
\usepackage{rotating}
\usepackage{bm}
\usepackage{tabularx}
\linespread{1.5}
\usepackage{graphicx}
\usepackage{subfig}
\newcommand\inclfig[1]{% \includegraphics[width=120mm]{#1}}
并在文件中:
\subsection{Subsection 1}
\begin{figure}[p]
\centering
\includegraphics{Pictures/picture1.png}
\caption{Caption 1}
\floatfoot{Own illustration}
\label{fig:Label 1}
\end{figure}
请帮忙 :)