我收到了硕士论文(乳腺癌)的修改。修改者希望将地形图的标题放在下一页。以下是我的代码示例:
\documentclass[12pt, oneside]{book}
\usepackage{graphicx}
\usepackage[a4paper,margin=1in]{geometry}
\usepackage{pdflscape}
\usepackage{caption}
\usepackage{csquotes}
\captionsetup[figure]{labelfont=bf}
\usepackage[table]{xcolor}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
%Load math package
\usepackage{amsmath}
%Set up the headers
\usepackage{fancyhdr}
\pagestyle{fancy}
\setlength\headheight{14.5pt}
%Allows first indent and loads setspace package to be used in different documents.
\usepackage{indentfirst}
\usepackage{setspace}
\usepackage{url}
%Make cell space and scientific notation
\usepackage{longtable, cellspace, booktabs}
\setlength\cellspacetoplimit{4pt}
\setlength\cellspacebottomlimit{4pt}
\usepackage[table]{xcolor}
\usepackage{siunitx}
\sisetup{scientific-notation = true}
%Enables paragraph spacing. Saves the old indent value and restores it after loading the parskip package. Otherwise, you lose the indents.
\edef\restoreparindent{\parindent=\the\parindent\relax}
\usepackage{parskip}
\restoreparindent
\usepackage[backend=biber,style=numeric,citestyle=apa,sorting=none]{biblatex}
\addbibresource{Chapters/references.bib}
\usepackage{cleveref}
\begin{document}
This figure illustrates the wide peak boundaries most likely to contain the targeted genes.
Regions are mapped onto the mm9 mouse genome. Recall that these regions have a FQR < 0.25. There are 44 amplified regions, 109 deleted regions, and 17 regions are both amplified and deleted in different tumour subsets. Importantly, there are clear arm-length deletions, namely 15p, 21p, and 22p. More than 50\% of 18q is split into two close regions. There is a series of centromeric and para-centromeric deletions on chromosome 9. There is no arm-length amplification.
\begin{landscape}
\begin{figure}[htbp]
\centering
\includegraphics[width=0.90\linewidth]{Figure6.png}
\caption[Statistically significant chromosomal aberrations]{\textbf{Statistically significant chromosomal aberrations.} There are 44 amplified regions, 109 deleted regions, and 16 regions that are both amplified and deleted in different tumour subsets. Particularly, there are 3 single arm-length deletions, namely 15p, 21p, and 22p. Additionally, more than 50\% of 18q is fragmented into close regions. There is no arm-length amplification. Regions are mapped onto the hg18 human genome.}
\label{fig:regions}
\end{figure}
\end{landscape}
\end{document}
以下是与main.tex处于同一路径下的图片:
如果您运行该示例,您将在第一页上获得一些文本,在第二页上获得带有粗体标题的文本标题的风景图片:“图 1:统计上显著的染色体畸变。...”
本质上,我需要将文本标题/框对齐到第三页的中间。有没有简单的方法可以做到这一点?谢谢!
答案1
不要使用常规方法,而是使用包的功能\caption
。从图形环境中删除标题,然后在图形后面放置:\captionof
caption
\vspace*{\fill}
\captionof{figure}[Statistically significant chromosomal aberrations]{\textbf{Statistically significant chromosomal aberrations.} There are 44
amplified regions, 109 deleted regions, and 16 regions that are both
amplified and deleted in different tumour subsets. Particularly, there are
3 single arm-length deletions, namely 15p, 21p, and 22p. Additionally, more
than 50\% of 18q is fragmented into close regions. There is no arm-length
amplification. Regions are mapped onto the hg18 human genome.}
\label{fig:regions}
\vspace{\fill}
\clearpage