插入整頁子圖

插入整頁子圖

我試圖瀏覽 TeX.SE 問題(例如,像)來弄清楚如何佈局完整頁面子圖(具有相同標題的兩個整頁圖,但有自己的子標題,例如“(a)”和“(b)”,如下圖所示)。我嘗試在 Word 中繪製該佈局,如附圖所示。如果能夠在每個圖形周圍放置邊界框,那就太好了。

在此輸入影像描述

預先感謝您的幫忙!

答案1

\captionof{subfigure}幾乎可以在任何地方使用。有很多軟體包會在圖形或子圖形周圍放置方框,但您確實不需要它。請記住,該框還必須適合文字區域。

\documentclass[12pt]{article}
\usepackage{subcaption}
\captionsetup[subfigure]{labelformat=parens}
\usepackage{showframe}% MWE only
\begin{document}
{\centering
  \fbox{\rule{0.8\textwidth}{0.8\textheight}}
  \captionof{subfigure}{title}
}\par
\end{document}

更多關於您的問題的細節:

請注意,圖形標題將在圖形清單中出現兩次。

\documentclass{article}
\usepackage{subcaption}
\usepackage{showframe}% MWE only
\begin{document}
\begin{figure}[p]
  \begin{subfigure}{\textwidth}
    \centering
    \fbox{\rule{0.8\textwidth}{0.8\textheight}}
    \caption{}
  \end{subfigure}
  \caption{figure caption}
\end{figure}
\addtocounter{figure}{-1}%
\begin{figure}[p]
  \begin{subfigure}{\textwidth}
    \centering
    \fbox{\rule{0.8\textwidth}{0.8\textheight}}
    \setcounter{subfigure}{1}%
    \caption{}
  \end{subfigure}
  \caption{figure caption}
\end{figure}
\end{document}

相關內容