左中心对齐桌子与景观环境

问题描述 投票:0回答:1

我正在尝试将此横向表格与页面的左下角对齐 - 就像您在书中看到的横向表格一样。我无法让任何东西工作 - 我已经尝试了表的不同值 - [b] 等,并尝试使用 vspace 等。我必须使用 pdflscape 来做到这一点

如有任何建议,我们将不胜感激!

\documentclass{article}
\usepackage{pdflscape}
\usepackage{amsmath}

\begin{document}

\begin{landscape}
\begin{table}
\renewcommand{\arraystretch}{1.1}
\begin{flushleft}
\caption{Sample Model with Filler Text \label{tab:sample-full}}
\begin{tabular}{l c c c c c}
\hline
 & Var1 & Var2 & Var3 & Var4 & Var5 \\
\hline
Category A             & $0.10 \; (0.03)^{**}$   & $0.02 \; (0.05)$       & $0.06 \; (0.05)$        & $0.16 \; (0.04)^{***}$  & $0.08 \; (0.04)^{*}$   \\
Category B             & $-0.45 \; (0.09)^{***}$ & $-0.41 \; (0.15)^{**}$ & $0.02 \; (0.15)$        & $-0.04 \; (0.11)$       & $-0.08 \; (0.10)$      \\
Category C             & $-0.17 \; (0.05)^{**}$  & $-0.09 \; (0.08)$      & $-0.03 \; (0.08)$       & $-0.15 \; (0.06)^{*}$   & $0.12 \; (0.06)^{*}$   \\
Category D             & $-0.04 \; (0.04)$       & $-0.02 \; (0.06)$      & $-0.07 \; (0.06)$       & $-0.06 \; (0.04)$       & $0.01 \; (0.04)$       \\
Category E             & $-0.02 \; (0.03)$       & $0.05 \; (0.05)$       & $-0.03 \; (0.05)$       & $0.13 \; (0.04)^{***}$  & $-0.01 \; (0.04)$      \\
Category F             & $-0.02 \; (0.08)$       & $0.13 \; (0.13)$       & $-0.19 \; (0.13)$       & $-0.04 \; (0.10)$       & $-0.05 \; (0.09)$      \\
Category G             & $0.08 \; (0.08)$        & $0.23 \; (0.14)$       & $-0.40 \; (0.14)^{**}$  & $-0.18 \; (0.10)$       & $-0.09 \; (0.09)$      \\
Category H             & $-0.04 \; (0.04)$       & $0.01 \; (0.06)$       & $0.01 \; (0.06)$        & $-0.05 \; (0.04)$       & $0.07 \; (0.04)$       \\
Variable X             & $0.04 \; (0.02)$        & $-0.01 \; (0.03)$      & $0.13 \; (0.03)^{***}$  & $0.05 \; (0.02)^{*}$    & $0.01 \; (0.02)$       \\
Variable Y             & $0.18 \; (0.02)^{***}$  & $0.11 \; (0.04)^{**}$  & $-0.22 \; (0.04)^{***}$ & $-0.11 \; (0.03)^{***}$ & $0.03 \; (0.03)$       \\
Variable Z             & $-0.02 \; (0.04)$       & $0.00 \; (0.06)$       & $0.05 \; (0.06)$        & $0.00 \; (0.05)$        & $0.04 \; (0.05)$       \\
(Intercept)            & $2.43 \; (0.16)^{***}$  & $3.40 \; (0.25)^{***}$ & $1.96 \; (0.25)^{***}$  & $2.79 \; (0.18)^{***}$  & $1.90 \; (0.18)^{***}$ \\
\hline
Log Likelihood         & $-2388.17$              & $-3167.45$             & $-3198.72$              & $-2692.68$              & $-2600.56$             \\
N (Individuals)        & $2143$                  & $2070$                 & $2070$                  & $2143$                  & $2143$                 \\
N (Groups)             & $1848$                  & $1785$                 & $1784$                  & $1848$                  & $1848$                 \\
\hline
\multicolumn{6}{l}{Standard errors in parentheses.} \\
\multicolumn{6}{l}{\emph{{***}p < 0.001; {**}p < 0.01; {*}p < 0.05}}
\end{tabular}
\end{flushleft}
\end{table}
\end{landscape}

\end{document}
latex alignment landscape
1个回答
0
投票
\documentclass{article}

\usepackage{pdflscape}
\usepackage{amsmath}

\begin{document}

\begin{landscape}
\mbox{}\vfill
\begin{table}[htbp]
\renewcommand{\arraystretch}{1.1}
\caption{Sample Model with Filler Text \label{tab:sample-full}}
\begin{tabular}{l c c c c c}
\hline
 & Var1 & Var2 & Var3 & Var4 & Var5 \\
\hline
Category A             & $0.10 \; (0.03)^{**}$   & $0.02 \; (0.05)$       & $0.06 \; (0.05)$        & $0.16 \; (0.04)^{***}$  & $0.08 \; (0.04)^{*}$   \\
Category B             & $-0.45 \; (0.09)^{***}$ & $-0.41 \; (0.15)^{**}$ & $0.02 \; (0.15)$        & $-0.04 \; (0.11)$       & $-0.08 \; (0.10)$      \\
Category C             & $-0.17 \; (0.05)^{**}$  & $-0.09 \; (0.08)$      & $-0.03 \; (0.08)$       & $-0.15 \; (0.06)^{*}$   & $0.12 \; (0.06)^{*}$   \\
Category D             & $-0.04 \; (0.04)$       & $-0.02 \; (0.06)$      & $-0.07 \; (0.06)$       & $-0.06 \; (0.04)$       & $0.01 \; (0.04)$       \\
Category E             & $-0.02 \; (0.03)$       & $0.05 \; (0.05)$       & $-0.03 \; (0.05)$       & $0.13 \; (0.04)^{***}$  & $-0.01 \; (0.04)$      \\
Category F             & $-0.02 \; (0.08)$       & $0.13 \; (0.13)$       & $-0.19 \; (0.13)$       & $-0.04 \; (0.10)$       & $-0.05 \; (0.09)$      \\
Category G             & $0.08 \; (0.08)$        & $0.23 \; (0.14)$       & $-0.40 \; (0.14)^{**}$  & $-0.18 \; (0.10)$       & $-0.09 \; (0.09)$      \\
Category H             & $-0.04 \; (0.04)$       & $0.01 \; (0.06)$       & $0.01 \; (0.06)$        & $-0.05 \; (0.04)$       & $0.07 \; (0.04)$       \\
Variable X             & $0.04 \; (0.02)$        & $-0.01 \; (0.03)$      & $0.13 \; (0.03)^{***}$  & $0.05 \; (0.02)^{*}$    & $0.01 \; (0.02)$       \\
Variable Y             & $0.18 \; (0.02)^{***}$  & $0.11 \; (0.04)^{**}$  & $-0.22 \; (0.04)^{***}$ & $-0.11 \; (0.03)^{***}$ & $0.03 \; (0.03)$       \\
Variable Z             & $-0.02 \; (0.04)$       & $0.00 \; (0.06)$       & $0.05 \; (0.06)$        & $0.00 \; (0.05)$        & $0.04 \; (0.05)$       \\
(Intercept)            & $2.43 \; (0.16)^{***}$  & $3.40 \; (0.25)^{***}$ & $1.96 \; (0.25)^{***}$  & $2.79 \; (0.18)^{***}$  & $1.90 \; (0.18)^{***}$ \\
\hline
Log Likelihood         & $-2388.17$              & $-3167.45$             & $-3198.72$              & $-2692.68$              & $-2600.56$             \\
N (Individuals)        & $2143$                  & $2070$                 & $2070$                  & $2143$                  & $2143$                 \\
N (Groups)             & $1848$                  & $1785$                 & $1784$                  & $1848$                  & $1848$                 \\
\hline
\multicolumn{6}{l}{Standard errors in parentheses.} \\
\multicolumn{6}{l}{\emph{{***}p < 0.001; {**}p < 0.01; {*}p < 0.05}}
\end{tabular}
\end{table}
\end{landscape}

\end{document}
© www.soinside.com 2019 - 2024. All rights reserved.