![关于多行标题的表格问题](https://linux22.com/image/311488/%E5%85%B3%E4%BA%8E%E5%A4%9A%E8%A1%8C%E6%A0%87%E9%A2%98%E7%9A%84%E8%A1%A8%E6%A0%BC%E9%97%AE%E9%A2%98.png)
而我现在的情况是......
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[letterpaper, top=1in, bottom=1in, left=0.75in, right=0.75in]{geometry}
\usepackage{multirow,array,varwidth,spreadtab,}
\usepackage{siunitx,booktabs,caption}
\begin{document}
\captionsetup{labelformat=empty}
\centering \caption{DISCOUNTED \\ FUTURE NET INCOME -M\$ \\COMPOUNDED MONTHLY}
\begin{tabular}{cr}
\toprule
0.00 = & 0 \\
0.00 = & 0\\
0.00 = & 0\\
0.00 = & 0\\
0.00 = & 0\\
\multicolumn{2}{l}{%
\footnotesize
%
}
\end{tabular}
\end{table}
\end{document}
答案1
编辑:添加请求的水平规则。
编辑:添加空白行以获得新段落。
编辑:列对齐。
这是编译的编辑。但是,你的问题是什么?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[letterpaper, top=1in, bottom=1in, left=0.75in, right=0.75in]{geometry}
\usepackage{multirow,array,varwidth,spreadtab,}
\usepackage{siunitx,booktabs,caption}
\usepackage{ragged2e}
\newcolumntype{L}[1]{>{\RaggedRight\hspace{0pt}}p{#1}}
\newcolumntype{R}[1]{>{\RaggedLeft\hspace{0pt}}p{#1}}
\begin{document}
\captionsetup{labelformat=empty}
\begin{table}
\centering
\caption{DISCOUNTED \\ FUTURE NET INCOME -M\$ \\COMPOUNDED MONTHLY}
\vspace{-1em}\rule{0.3\textwidth}{1.25pt}
\begin{tabular}{cr}
0.00 = & 0 \\
0.00 = & 0\\
0.00 = & 0\\
0.00 = & 0\\
0.00 = & 0\\
\multicolumn{2}{l}{%
\footnotesize
%
}
\end{tabular}
\end{table}
Here is an alternative using \textit{ragged2e} and \textit{array}.
\begin{table}
\centering
\caption{DISCOUNTED \\ FUTURE NET INCOME -M\$ \\COMPOUNDED MONTHLY}
\vspace{-1em}\rule{0.3\textwidth}{1.25pt}
\begin{tabular}{L{.12\textwidth}R{.12\textwidth}}% From http://tex.stackexchange.com/questions/7347/fixed-column-width-table-with-text-left-aligned-in-cells
0.00 = & 0 \\
0.00 = & 0\\
0.00 = & 0\\
0.00 = & 0\\
0.00 = & 0\\
\multicolumn{2}{l}{%
\footnotesize
%
}
\end{tabular}
\end{table}
\end{document}