안녕하세요. 이 문제를 설명하는 제목을 만드는 방법을 잘 모르겠습니다. 조금 이상합니다. 섹션 끝 부분에 표가 있고 그 위와 아래에 텍스트가 있으면 다음 페이지에서 다음 섹션이 시작되기 전에 텍스트가 페이지 아래쪽으로 이동하여 전체 페이지를 채웁니다. 코드 예제와 함께 제가 의미하는 바를 보여주기 위해 일부 스크린샷을 첨부했습니다. 이상적으로 내가 원하는 것은 항상 그렇듯이 텍스트가 테이블 바로 아래에 있고 다음 섹션이 다음 페이지에서 시작되는 것입니다. 즉, "수직 채우기"를 원하지 않습니다. 감사합니다. 명확하지 않은 점이 있으면 죄송합니다.
암호:
\documentclass[12pt,twoside]{report}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{array}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1\textwidth}}
\usepackage[english]{babel}
\usepackage{blindtext}
\begin{document}
\section{test}
\blindtext[3]
\subsection{more test}
\blindtext[1]
\begingroup
\renewcommand{\arraystretch}{1.5}
\begin{table}[t]
\setlength\tabcolsep{0pt}
\caption[test caption]{This is a test of the caption}
\label{tab-review}
\footnotesize
\centering
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}%
M{0.2}M{0.09}M{0.08}M{0.15}M{0.13}M{0.14}M{0.085}}
%
\hline
Reference & Pub Year & \# Cases & Method & Median Follow-up (months) & Good/Excellent coss & IBTR \\ \hline
Name1 [41] & 2009 & 20 & test method & 1 2 & 82\% & 0.00\% \\
Name1 [41] & 2010 & 20 & test method & 1 2 & 89\% & 1.10\% \\
Name1 [41] & 2011 & 100 & test method & 1 2 & 82\% & 1.00\% \\
Name1 [41] & 2012 & 20 & test method & 1 2 & 97\% & 3.00\% \\
Name1 [41] & 2013 & 20 & test method & 1 2 & 75\% & 0.00\% \\
Name1 [41] & 2013 & 20 & test method & 53.1 & 88\% & 0.70\% \\
Name1 [41] & 2013 & 20 & test method & 18.9 & 95\% & 0.00\% \\
Name1 [41] & 2014 & 30 & test method & 60 & 73\% & 3.00\% \\
Name1 [41] & 2014 & 98 & longer test method & 82.5 & 62\% & 11.00\% \\
Name1 [41] & 2014 & 98 & test method & 82.5 & 94\% & 4.00\% \\
Name1 [41] & 2015 & 260 & test method & 60 & 100\% & 1.40\% \\
Name1 [41] & 2015 & 569 & test method & 36 & 71\% & NS \\
Name1 [41] & 2016 & 141 & test method & 60 & 95\% & 0.70\% \\
Name1 [41] & 2016 & 52 & test method & 96 & 64\% & 7.70\% \\
Name1 [41] & 2017 & 669 & test method & 72.2 & NS & 0.50\% \\ \hline
\end{tabular*}
\end{table}
\endgroup
\blindtext[1]
\section{test}
\subsection{more test}
\blindtext[4]
\begingroup
\renewcommand{\arraystretch}{1.5}
\begin{table}[t]
\setlength\tabcolsep{0pt}
\caption[test caption]{This is a test of the caption}
\label{tab-review}
\footnotesize
\centering
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}%
M{0.2}M{0.09}M{0.08}M{0.15}M{0.13}M{0.14}M{0.085}}
%
\hline
Reference & Pub Year & \# Cases & Method & Median Follow-up (months) & Good/Excellent coss & IBTR \\ \hline
Name1 [41] & 2009 & 20 & test method & 1 2 & 82\% & 0.00\% \\
Name1 [41] & 2010 & 20 & test method & 1 2 & 89\% & 1.10\% \\
Name1 [41] & 2011 & 100 & test method & 1 2 & 82\% & 1.00\% \\
Name1 [41] & 2012 & 20 & test method & 1 2 & 97\% & 3.00\% \\
Name1 [41] & 2013 & 20 & test method & 1 2 & 75\% & 0.00\% \\
Name1 [41] & 2013 & 20 & test method & 53.1 & 88\% & 0.70\% \\
Name1 [41] & 2013 & 20 & test method & 18.9 & 95\% & 0.00\% \\
Name1 [41] & 2014 & 30 & test method & 60 & 73\% & 3.00\% \\
Name1 [41] & 2014 & 98 & longer test method & 82.5 & 62\% & 11.00\% \\
Name1 [41] & 2014 & 98 & test method & 82.5 & 94\% & 4.00\% \\
Name1 [41] & 2015 & 260 & test method & 60 & 100\% & 1.40\% \\
Name1 [41] & 2015 & 569 & test method & 36 & 71\% & NS \\
Name1 [41] & 2016 & 141 & test method & 60 & 95\% & 0.70\% \\
Name1 [41] & 2016 & 52 & test method & 96 & 64\% & 7.70\% \\
Name1 [41] & 2017 & 669 & test method & 72.2 & NS & 0.50\% \\ \hline
\end{tabular*}
\end{table}
\endgroup
\blindtext[1]
\end{document}
답변1
서문에 추가하기만 \raggedbottom
하면 LaTeX는 전체 페이지를 텍스트로 채우지 않고 페이지 하단에 약간의 공간을 남겨 둘 수 있습니다.
MWE:
\documentclass[12pt,twoside]{report}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{array}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1\textwidth}}
\usepackage[english]{babel}
\usepackage{blindtext}
\raggedbottom % <=======================================================
\begin{document}
\section{test}
\blindtext[3]
\subsection{more test}
\blindtext[1]
\begingroup
\renewcommand{\arraystretch}{1.5}
\begin{table}[t]
\setlength\tabcolsep{0pt}
\caption[test caption]{This is a test of the caption}
\label{tab-review}
\footnotesize
\centering
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}%
M{0.2}M{0.09}M{0.08}M{0.15}M{0.13}M{0.14}M{0.085}}
%
\hline
Reference & Pub Year & \# Cases & Method & Median Follow-up (months) & Good/Excellent coss & IBTR \\ \hline
Name1 [41] & 2009 & 20 & test method & 1 2 & 82\% & 0.00\% \\
Name1 [41] & 2010 & 20 & test method & 1 2 & 89\% & 1.10\% \\
Name1 [41] & 2011 & 100 & test method & 1 2 & 82\% & 1.00\% \\
Name1 [41] & 2012 & 20 & test method & 1 2 & 97\% & 3.00\% \\
Name1 [41] & 2013 & 20 & test method & 1 2 & 75\% & 0.00\% \\
Name1 [41] & 2013 & 20 & test method & 53.1 & 88\% & 0.70\% \\
Name1 [41] & 2013 & 20 & test method & 18.9 & 95\% & 0.00\% \\
Name1 [41] & 2014 & 30 & test method & 60 & 73\% & 3.00\% \\
Name1 [41] & 2014 & 98 & longer test method & 82.5 & 62\% & 11.00\% \\
Name1 [41] & 2014 & 98 & test method & 82.5 & 94\% & 4.00\% \\
Name1 [41] & 2015 & 260 & test method & 60 & 100\% & 1.40\% \\
Name1 [41] & 2015 & 569 & test method & 36 & 71\% & NS \\
Name1 [41] & 2016 & 141 & test method & 60 & 95\% & 0.70\% \\
Name1 [41] & 2016 & 52 & test method & 96 & 64\% & 7.70\% \\
Name1 [41] & 2017 & 669 & test method & 72.2 & NS & 0.50\% \\ \hline
\end{tabular*}
\end{table}
\endgroup
\blindtext[1]
\section{test}
\subsection{more test}
\blindtext[4]
\begingroup
\renewcommand{\arraystretch}{1.5}
\begin{table}[t]
\setlength\tabcolsep{0pt}
\caption[test caption]{This is a test of the caption}
\label{tab-review}
\footnotesize
\centering
\begin{tabular*}{\textwidth}{@{\extracolsep{\fill}}%
M{0.2}M{0.09}M{0.08}M{0.15}M{0.13}M{0.14}M{0.085}}
%
\hline
Reference & Pub Year & \# Cases & Method & Median Follow-up (months) & Good/Excellent coss & IBTR \\ \hline
Name1 [41] & 2009 & 20 & test method & 1 2 & 82\% & 0.00\% \\
Name1 [41] & 2010 & 20 & test method & 1 2 & 89\% & 1.10\% \\
Name1 [41] & 2011 & 100 & test method & 1 2 & 82\% & 1.00\% \\
Name1 [41] & 2012 & 20 & test method & 1 2 & 97\% & 3.00\% \\
Name1 [41] & 2013 & 20 & test method & 1 2 & 75\% & 0.00\% \\
Name1 [41] & 2013 & 20 & test method & 53.1 & 88\% & 0.70\% \\
Name1 [41] & 2013 & 20 & test method & 18.9 & 95\% & 0.00\% \\
Name1 [41] & 2014 & 30 & test method & 60 & 73\% & 3.00\% \\
Name1 [41] & 2014 & 98 & longer test method & 82.5 & 62\% & 11.00\% \\
Name1 [41] & 2014 & 98 & test method & 82.5 & 94\% & 4.00\% \\
Name1 [41] & 2015 & 260 & test method & 60 & 100\% & 1.40\% \\
Name1 [41] & 2015 & 569 & test method & 36 & 71\% & NS \\
Name1 [41] & 2016 & 141 & test method & 60 & 95\% & 0.70\% \\
Name1 [41] & 2016 & 52 & test method & 96 & 64\% & 7.70\% \\
Name1 [41] & 2017 & 669 & test method & 72.2 & NS & 0.50\% \\ \hline
\end{tabular*}
\end{table}
\endgroup
\blindtext[1]
\end{document}
결과는 다음과 같습니다.
두 번째 테이블은 다음과 같습니다.