質問: This is the code: ``` \documentclass[twoside,headsepline,12pt,a4paper,bibliography=totoc,toc=listof,DIV=14,BCOR=2mm,]{scrbook} \usepackage{longtable} \usepackage{siunitx} \usepackage{caption} \usepackage{subcaption} \usepackage{makecell} \usepackage{tabularx} \usepackage{geometry} \begin{document} \begin{table} \centering \begin{subtable}{0.4\linewidth} \small \begin{tabular}{|l|*{4}{c|}} \hline \textbf{Rate} & \multicolumn{4}{|c|}{$V_{out}$ in \SI{}{Volts}} \\ \cline{2-5} & \textbf{$k=0.1$} & \textbf{$k=0.3$} & \textbf{$k=0.6$} & \textbf{$k=0.8$} \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{5}{xyzabc} & & & & \\ \hline \SI{10}{xyzabc} & & & & \\ \hline \SI{15}{xyzabc} & & & & \\ \hline \SI{17}{xyzabc} & & & & \\ \hline \SI{20}{xyzabc} & & & & \\ \hline \SI{30}{xyzabc} & & & & \\ \hline \SI{50}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \end{tabular} \caption{A vs B} \label{tab:a} \end{subtable}% \hspace*{4em} \begin{subtable}{0.4\linewidth} \centering \small \begin{tabular}{|l|*{4}{c|}} \hline \textbf{Rate} & \multicolumn{4}{|c|}{$V_{out}$ in \SI{}{Volts}} \\ \cline{2-5} & \textbf{$k=0.1$} & \textbf{$k=0.3$} & \textbf{$k=0.6$} & \textbf{$k=0.8$} \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{5}{xyzabc} & & & & \\ \hline \SI{10}{xyzabc} & & & & \\ \hline \SI{15}{xyzabc} & & & & \\ \hline \SI{17}{xyzabc} & & & & \\ \hline \SI{20}{xyzabc} & & & & \\ \hline \SI{30}{xyzabc} & & & & \\ \hline \SI{50}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \end{tabular} \caption{A vs B} \label{tab:b} \end{subtable}% \quad \begin{subtable}{0.4\linewidth} \centering \small \begin{tabular}{|l|*{4}{c|}} \hline \textbf{Rate} & \multicolumn{4}{|c|}{$V_{out}$ in \SI{}{Volts}} \\ \cline{2-5} & \textbf{$k=0.1$} & \textbf{$k=0.3$} & \textbf{$k=0.6$} & \textbf{$k=0.8$} \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{5}{xyzabc} & & & & \\ \hline \SI{10}{xyzabc} & & & & \\ \hline \SI{15}{xyzabc} & & & & \\ \hline \SI{17}{xyzabc} & & & & \\ \hline \SI{20}{xyzabc} & & & & \\ \hline \SI{30}{xyzabc} & & & & \\ \hline \SI{50}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \end{tabular} \caption{A vs B} \label{tab:c} \end{subtable}% \hspace*{4em} \begin{subtable}{0.4\linewidth} \centering \small \begin{tabular}{|l|*{4}{c|}} \hline \textbf{Rate} & \multicolumn{4}{|c|}{$V_{out}$ in \SI{}{Volts}} \\ \cline{2-5} & \textbf{$k=0.1$} & \textbf{$k=0.3$} & \textbf{$k=0.6$} & \textbf{$k=0.8$} \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{5}{xyzabc} & & & & \\ \hline \SI{10}{xyzabc} & & & & \\ \hline \SI{15}{xyzabc} & & & & \\ \hline \SI{17}{xyzabc} & & & & \\ \hline \SI{20}{xyzabc} & & & & \\ \hline \SI{30}{xyzabc} & & & & \\ \hline \SI{50}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \end{tabular} \caption{A vs B} \label{tab:d} \end{subtable}% \label{tab:d} \caption{A vs B} \end{table} \end{document} ``` ![enter image description here](https://i.stack.imgur.com/5LNEF.png) How do I not overlap them ? In case I have defined some page specification before and now my tables size are such that it is impossible to fit into a single page, then is it advisable to change the sizes of the tables and the characters inside the table to fit them nicely into a single page ? if in case I would like to fit them by changing their size how do I do that ? Please help.
回答: Another approach: * not reduced font size in the table * reduced `tabcolsep` from default value to `2pt` !enter image description here An alternative to this can be * reduced `tabcolspace` to `3pt` * use `\small` fonts (not shown). The red frame is added to show page layout. In real document the ``` \usepackage{showframe} \renewcommand*\ShowFrameColor{\color{red}} ``` in preamble had to be removed. ``` \documentclass[twoside,headsepline,12pt,a4paper,bibliography=totoc,toc=listof,DIV=14,BCOR=2mm,]{scrbook} \usepackage{longtable} \usepackage{siunitx} \usepackage{caption} \usepackage{subcaption} \usepackage{makecell} \usepackage{tabularx} \usepackage{showframe} \renewcommand*\ShowFrameColor{\color{red}} \usepackage{lipsum} \begin{document} \lipsum[2] \begin{table}[htb] \centering % \small \setlength\tabcolsep{2pt} \begin{subtable}{0.5\linewidth} \centering \begin{tabular}{|l|*{4}{c|}} \hline \textbf{Rate} & \multicolumn{4}{c|}{$V_{out}$ in \SI{}{Volts}} \\ \cline{2-5} & \textbf{$k=0.1$} & \textbf{$k=0.3$} & \textbf{$k=0.6$} & \textbf{$k=0.8$} \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{5}{xyzabc} & & & & \\ \hline \SI{10}{xyzabc} & & & & \\ \hline \SI{15}{xyzabc} & & & & \\ \hline \SI{17}{xyzabc} & & & & \\ \hline \SI{20}{xyzabc} & & & & \\ \hline \SI{30}{xyzabc} & & & & \\ \hline \SI{50}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \end{tabular} \caption{A vs B} \label{tab:a} \end{subtable}% \begin{subtable}{0.5\linewidth} \centering \begin{tabular}{|l|*{4}{c|}} \hline \textbf{Rate} & \multicolumn{4}{c|}{$V_{out}$ in \SI{}{Volts}} \\ \cline{2-5} & \textbf{$k=0.1$} & \textbf{$k=0.3$} & \textbf{$k=0.6$} & \textbf{$k=0.8$} \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{5}{xyzabc} & & & & \\ \hline \SI{10}{xyzabc} & & & & \\ \hline \SI{15}{xyzabc} & & & & \\ \hline \SI{17}{xyzabc} & & & & \\ \hline \SI{20}{xyzabc} & & & & \\ \hline \SI{30}{xyzabc} & & & & \\ \hline \SI{50}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \end{tabular} \caption{A vs B} \label{tab:b} \end{subtable}% \begin{subtable}{0.5\linewidth} \centering \begin{tabular}{|l|*{4}{c|}} \hline \textbf{Rate} & \multicolumn{4}{c|}{$V_{out}$ in \SI{}{Volts}} \\ \cline{2-5} & \textbf{$k=0.1$} & \textbf{$k=0.3$} & \textbf{$k=0.6$} & \textbf{$k=0.8$} \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{5}{xyzabc} & & & & \\ \hline \SI{10}{xyzabc} & & & & \\ \hline \SI{15}{xyzabc} & & & & \\ \hline \SI{17}{xyzabc} & & & & \\ \hline \SI{20}{xyzabc} & & & & \\ \hline \SI{30}{xyzabc} & & & & \\ \hline \SI{50}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \end{tabular} \caption{A vs B} \label{tab:c} \end{subtable}% \begin{subtable}{0.5\linewidth} \centering \begin{tabular}{|l|*{4}{c|}} \hline \textbf{Rate} & \multicolumn{4}{c|}{$V_{out}$ in \SI{}{Volts}} \\ \cline{2-5} & \textbf{$k=0.1$} & \textbf{$k=0.3$} & \textbf{$k=0.6$} & \textbf{$k=0.8$} \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \SI{1}{xyzabc} & & & & \\ \hline \SI{5}{xyzabc} & & & & \\ \hline \SI{10}{xyzabc} & & & & \\ \hline \SI{15}{xyzabc} & & & & \\ \hline \SI{17}{xyzabc} & & & & \\ \hline \SI{20}{xyzabc} & & & & \\ \hline \SI{30}{xyzabc} & & & & \\ \hline \SI{50}{xyzabc} & & & & \\ \hline \SI{100}{xyzabc} & & & & \\ \hline \end{tabular} \caption{A vs B} \label{tab:d} \end{subtable}% \label{tab:d} \caption{A vs B} \end{table} \end{document} ``` **Edit:** From comment below follows that text with in real document is smaller as we are informed trough MWE given in question. In this case the width of table had to be reduced accordingly. For example, beginning of table: ``` \begin{table}[htb] \centering % \small \setlength\tabcolsep{2pt} ``` replace with. ``` \begin{table}[htb] \centering \footnotesize \setlength\tabcolsep{2pt} ``` this fit the text width if you in preamble you have: ``` \usepackage{geometry} ``` hope this will help. Let me noted, that approach with reducing of fonts size and `\tabcolsep` size has limits. Fonts at `tiny` which would be for many people to small for reading without magnifying glass :(.