![강제로 4x8 하위 그림의 큰 그림이 한 페이지에 나타납니다.](https://rvso.com/image/266410/%EA%B0%95%EC%A0%9C%EB%A1%9C%204x8%20%ED%95%98%EC%9C%84%20%EA%B7%B8%EB%A6%BC%EC%9D%98%20%ED%81%B0%20%EA%B7%B8%EB%A6%BC%EC%9D%B4%20%ED%95%9C%20%ED%8E%98%EC%9D%B4%EC%A7%80%EC%97%90%20%EB%82%98%ED%83%80%EB%82%A9%EB%8B%88%EB%8B%A4..png)
4x8 하위 그림의 큰 그림이 있는데 이제 약 20개의 하위 그림이 표시되고 나머지는 표시되지 않으므로 한 페이지에 강제로 표시하고 싶습니다.
업데이트:
나는 다음 줄에 이것을 작성해 보았습니다.
\includegraphics[height=0.8\textheight]
하지만 오류가 발생합니다
\begin{figure*}[t!]
\includegraphics[height=0.8\textheight]
\centering
답변1
암호
\documentclass[parskip]{scrartcl}
\usepackage[margin=25mm]{geometry}
\usepackage{tikz}
\begin{document}
\begin{figure}[p]
\begin{tikzpicture}
% calculate textwidth and textheight in cm; usually one would divide by 28.453, the 29 was chosen to avoid overfull boxes
\pgfmathsetmacro{\mytextwidth}{\textwidth/29}\mytextwidth
\pgfmathsetmacro{\mytextheight}{\textheight/29}\mytextheight
% cycle through 32 numbers; you'll need to set the scaling only once; the "draw" in the node options is to show the boundaries of each picture, simply remove it once you found the right scaling factor
% I didn't have 32 pictures ready, but if they're named systematically, you can use e.g.
% \includegraphics[scale=1.1]{figure\x.png}
% which will produce "figure0.png" to "figure31.png".
% If the numbers start at a different index, you can use
% \foreach \x [evaluate=\x as \y using \x+5] in {0,...,31}
% and then
% \includegraphics[scale=1.1]{figure\y.png}
% to produce "figure5.png" to "figure36.png"
\foreach \x in {0,...,31}
{ \node[below right,draw] at ({\mytextwidth/4*mod(\x,4)},{\mytextheight/8*div(\x,4)}) {\includegraphics[scale=1.04]{book.png}};
}
\end{tikzpicture}
\caption{The same book over and over.}
\end{figure}
\end{document}
산출
답변2
나는 당신이 graphicx와 같은 패키지를 로드했다고 가정합니다. 그런 다음
\scalebox{0.75}{Your matrix of figures}
. 확실히 0.75는 정확한 값의 근사치일 뿐입니다.
답변3
Przemyslaw의 답변 외에도 scale
키를 사용하여 다음을 수행할 수 있습니다 \includegraphics
.
\includegraphics[scale=.75]{path/to/image}