#latex #pdflatex
#Латекс #pdflatex
Вопрос:
У меня есть таблица, которая тоже слишком длинная и широкая. Я попытался поместить ее в Latex, но неправильно, используя пакеты rotating
«и tabularx
» (альбомная страница). У меня нет опыта, чтобы уместить эту длинную и широкую таблицу в Latex, поэтому я хотел бы видеть эту таблицу на альбомных двух страницах, так как там больше деталей, которые должны быть понятны для их чтения. Здесь код:
documentclass{book} % thesis class
usepackage{rotating}
usepackage{tabularx}
usepackage[labelfont=bf]{caption} % optional
usepackage{ragged2e}
begin{document}
begin{sidewaystable}
caption{Long wide table}
label{tab:margParams}
centering
%resizebox{textwidth}{!}{
begin{tabularx}{textwidth}{Xllllllllllll}
hline
amp; multicolumn{6}{c}{textbf{Group 0}} amp; multicolumn{6}{c}{textbf{Group 1}} \
amp; Posterior Mean amp; 95% HPD Interval amp; SD amp; Bias amp; MSE amp; Coverage amp; Posterior Mean amp; 95% HPD Interval amp; SD amp; Bias amp; MSE amp; Coverage \
hline
amp; multicolumn{12}{c}{textbf{Albumin}} \
E[Albumin:Intercept] amp; 3.69 amp; (3.64, 3.74) amp; 3.96$times 10^{-3}$ amp; 1.48$times 10^{-4}$ amp; 6.17$times 10^{-4}$ amp; 0.96 amp; 3.38 amp; (3.28, 3.48)amp; 4.16$times 10^{-3}$ amp; -1.12$times 10^{-2}$ amp; 3.80$times 10^{-3}$ amp; 0.89 \
E[Albumin:slope] amp; -6.85$times 10^{-3}$ amp; (-9.17, -4.51)$times 10^{-3}$ amp; 3.38$times 10^{-4}$ amp; -2.28$times 10^{-5}$ amp; 1.81$times 10^{-6}$ amp; 0.89 amp; -1.42$times 10^{-2}$ amp;( -1.91, -0.94)$times 10^{-2}$ amp; 2.93$times 10^{-4}$ amp; 1.92$times 10^{-4}$ amp; 7.06$times 10^{-6}$ amp; 0.91\
SD[Albumin:Intercept] amp; 2.64$times 10^{-1}$ amp; (2.23, 3.07)$times 10^{-1}$ amp; 1.73$times 10^{-3}$ amp; 4.21$times 10^{-4}$ amp; 3.81$times 10^{-4}$ amp; 0.95 amp; 2.58$times 10^{-1}$ amp;( 1.74, 3.43)$times 10^{-1}$ amp; 3.30$times 10^{-3}$ amp; -6.18$times 10^{-3}$ amp; 2.21$times 10^{-3}$ amp; 0.95 \
Corr[Albumin:Intercept,Albumin:slope] amp; 6.23$times 10^{-3}$ amp; (-5.28,5.63)$times 10^{-1}$ amp; 2.30$times 10^{-2}$ amp; 7.09$times 10^{-2}$ amp; 2.05$times 10^{-2}$ amp; 0.99 amp; -2.23$times 10^{-3}$ amp; (-6.72, 6.89)$times 10^{-1}$ amp; 1.41$times 10^{-2}$ amp; 6.24$times 10^{-2}$ amp; 1.97$times 10^{-2}$ amp; 0.99 \
Corr[Albumin:Intercept,log(Bilirubin):Intercept] amp; -1.79$times 10^{-1}$ amp; (-3.54, -0.03)$times 10^{-1}$ amp; 7.12$times 10^{-3}$ amp; 1.72$times 10^{-2}$ amp; 9.32 $times 10^{-3}$amp; 0.95 amp; -1.80$times 10^{-1}$ amp;( -5.11, 1.60)$times 10^{-1}$ amp; 1.09$times 10^{-2}$ amp; 1.65$times 10^{-2}$ amp; 2.10$times 10^{-2}$ amp; 0.99 \
Corr[Albumin:Intercept,log(Bilirubin):slope] amp; 1.74$times 10^{-1}$ amp; (-1.72, 5.15)$times 10^{-1}$ amp; 1.31$times 10^{-2}$ amp; -3.70$times 10^{-2}$ amp; 2.17$times 10^{-2}$ amp; 0.96 amp; 5.92$times 10^{-2}$ amp; (-6.01, 6.96)$times 10^{-1}$ amp; 1.39$times 10^{-2}$ amp; -1.52$times 10^{-1}$ amp; 5.51$times 10^{-2}$ amp; 0.99 \
Corr[Albumin:Intercept,Platelet:Intercept] amp; 1.43$times 10^{-1}$ amp; (-0.33, 3.17)$times 10^{-1}$ amp; 8.32$times 10^{-3}$ amp; -4.84$times 10^{-2}$ amp; 1.06$times 10^{-2}$ amp; 0.90amp; 1.40$times 10^{-1}$ amp; (-1.92, 4.65)$times 10^{-1}$ amp; 1.09$times 10^{-2}$ amp; -5.15$times 10^{-2}$ amp; 3.09$times 10^{-2}$ amp; 0.92 \
Corr[Albumin:Intercept,Platelet:slope] amp; 6.04$times 10^{-2}$ amp; (-1.19, 2.40)$times 10^{-1}$ amp; 8.06$times 10^{-3}$ amp; -4.90$times 10^{-2}$ amp; 1.15$times 10^{-2}$ amp;0.89 amp; 3.21$times 10^{-2}$ amp; (-3.10, 3.76)$times 10^{-1}$ amp; 1.16$times 10^{-2}$ amp; -7.73$times 10^{-2}$ amp; 3.31$times 10^{-2}$ amp; 0.90 \
Corr[Albumin:Intercept,Blood Vessel Malformations:Intercept] amp; -2.70$times 10^{-1}$ amp; (-4.92, -0.43)$times 10^{-1}$ amp; 8.93$times 10^{-3}$ amp; 7.88$times 10^{-2}$ amp; 1.93$times 10^{-2}$ amp; 0.89 amp; -2.95$times 10^{-1}$ amp; (-6.65, 0.93)$times 10^{-1}$ amp; 1.22$times 10^{-2}$ amp; 5.35$times 10^{-2}$ amp; 3.12$times 10^{-2}$ amp; 0.96 \
SD[Albumin:slope] amp; 3.62$times 10^{-3}$ amp; (0.85, 7.22)$times 10^{-3}$ amp; 5.89$times 10^{-4}$ amp; -4.14$times 10^{-3}$ amp; 2.50$times 10^{-5}$ amp; 0.47 amp; 3.30$times 10^{-3}$ amp; (0.07, 8.15)$times 10^{-3}$ amp; 3.60$times 10^{-4}$ amp; -4.46$times 10^{-3}$ amp; 2.69$times 10^{-5}$ amp; 0.54 \
Corr[Albumin:slope,log(Bilirubin):Intercept] amp; -2.98$times 10^{-2}$ amp; (-5.60,5.03)$times 10^{-1}$ amp; 2.38$times 10^{-2}$ amp; -3.14$times 10^{-2}$ amp; 1.85$times 10^{-2}$ amp; 0.99 amp; -1.05$times 10^{-2}$ amp; (-6.73, 6.52)$times 10^{-1}$ amp; 1.33$times 10^{-2}$ amp; -1.21$times 10^{-2}$ amp; 1.60$times 10^{-2}$ amp; 0.99 \
Corr[Albumin:slope,log(Bilirubin):slope] amp; -3.73$times 10^{-2}$ amp;(-6.30, 5.68)$times 10^{-1}$ amp; 2.30$times 10^{-2}$ amp; 1.96$times 10^{-1}$ amp; 5.31$times 10^{-2}$ amp; 0.99 amp; -1.76$times 10^{-2}$ amp; (-7.77, 7.50)$times 10^{-1}$ amp; 1.24$times 10^{-2}$ amp; 2.15$times 10^{-1}$ amp; 5.62$times 10^{-2}$ amp; 0.99 \
Corr[Albumin:slope,Platelet:Intercept] amp; -1.74$times 10^{-1}$ amp; (-6.87, 3.65)$times 10^{-1}$ amp; 3.11$times 10^{-2}$ amp; 8.34$times 10^{-2}$ amp; 3.09$times 10^{-2}$ amp; 0.98 amp; -7.37$times 10^{-2}$ amp; (-7.17, 5.89)$times 10^{-1}$ amp; 1.40$times 10^{-2}$ amp; 1.83$times 10^{-1}$ amp; 5.04$times 10^{-2}$ amp; 0.99 \
Corr[Albumin:slope,Platelet:slope] amp; -1.42$times 10^{-1}$ amp; (-6.35,3.76)$times 10^{-1}$ amp; 2.83$times 10^{-2}$ amp; 1.18$times 10^{-1}$ amp; 3.45$times 10^{-2}$ amp; 0.99 amp; -9.37$times 10^{-2}$ amp; (-7.17, 5.56)$times 10^{-1}$ amp; 1.53$times 10^{-2}$ amp; 1.67$times 10^{-1}$ amp; 4.91$times 10^{-2}$ amp; 0.99 \
Corr[Albumin:slope,Blood Vessel Malformations:Intercept] amp; 8.20$times 10^{-2}$ amp; (-4.90, 6.36)$times 10^{-1}$ amp; 2.84$times 10^{-2}$ amp; -1.45$times 10^{-1}$ amp; 4.16$times 10^{-2}$ amp; 0.99 amp; 5.78$times 10^{-2}$ amp;( -6.50, 7.41)$times 10^{-1}$ amp; 1.52$times 10^{-2}$ amp; -1.69$times 10^{-1}$ amp; 4.78$times 10^{-2}$ amp; 0.99 \
amp; multicolumn{12}{c}{textbf{log(Bilirubin)}} \
E[log(Bilirubin):Intercept] amp; 2.06$times 10^{-2}$ amp;( -1.04, 1.44)$times 10^{-1}$ amp; 4.11$times 10^{-3}$ amp; -7.45$times 10^{-4}$ amp; 4.30$times 10^{-3}$ amp; 0.94 amp; 1.24 amp; (0.99, 1.49) amp; 8.48$times 10^{-3}$ amp; 6.19$times 10^{-3}$ amp; 1.85$times 10^{-2}$ amp; 0.95 \
E[log(Bilirubin):slope] amp; 1.03$times 10^{-2}$ amp; (0.72, 1.35)$times 10^{-2}$ amp; 1.30$times 10^{-4}$ amp; 3.72$times 10^{-4}$ amp; 2.83$times 10^{-6}$ amp; 0.94 amp; 2.35$times 10^{-2}$ amp;( 1.70, 2.99)$times 10^{-2}$ amp; 3.26$times 10^{-4}$ amp; -3.32$times 10^{-4}$ amp; 1.26$times 10^{-5}$ amp; 0.92 \
SD[log(Bilirubin):Intercept] amp; 8.53$times 10^{-1}$ amp;(7.62,9.47)$times 10^{-1}$ amp; 3.13$times 10^{-3}$ amp; 7.79$times 10^{-3}$ amp; 2.18$times 10^{-3}$ amp; 0.96 amp; 8.43$times 10^{-1}$ amp; (0.67, 1.03 )amp; 6.08$times 10^{-3}$ amp; -1.90$times 10^{-3}$ amp; 9.30$times 10^{-3}$ amp; 0.93 \
Corr[log(Bilirubin):Intercept,log(Bilirubin):slope] amp; -1.30$times 10^{-1}$ amp; (-4.31, 1.94)$times 10^{-1}$ amp; 1.16$times 10^{-2}$ amp; 4.44$times 10^{-2}$ amp; 1.89$times 10^{-2}$ amp; 0.98 amp; -5.56$times 10^{-2}$ amp; (-6.61, 5.91)$times 10^{-1}$ amp; 1.34$times 10^{-2}$ amp; 1.19$times 10^{-1}$ amp; 4.36$times 10^{-2}$ amp; 0.99 \
Corr[log(Bilirubin):Intercept,Platelet:Intercept] amp; 2.36$times 10^{-1}$ amp; (0.99, 3.72)$times 10^{-1}$ amp; 4.62$times 10^{-3}$ amp; -1.11$times 10^{-2}$ amp; 5.76$times 10^{-3}$ amp; 0.93 amp; 2.10$times 10^{-1}$ amp; (-0.62, 4.74)$times 10^{-1}$ amp; 8.78$times 10^{-3}$ amp; -3.73$times 10^{-2}$ amp; 1.98$times 10^{-2}$ amp; 0.96 \
Corr[log(Bilirubin):Intercept,Platelet:slope] amp; -1.77$times 10^{-1}$ amp; (-3.19, -0.32)$times 10^{-1}$ amp; 4.72$times 10^{-3}$ amp; 9.71$times 10^{-3}$ amp; 5.49$times 10^{-3}$ amp; 0.95amp; -1.66$times 10^{-1}$ amp; (-4.43, 1.16)$times 10^{-1}$ amp; 9.22$times 10^{-3}$ amp; 2.09$times 10^{-2}$ amp; 1.74$times 10^{-2}$ amp; 0.97 \
Corr[log(Bilirubin):Intercept,Blood Vessel Malformations:Intercept] amp; 2.85$times 10^{-1}$ amp; (0.96, 4.71)$times 10^{-1}$ amp; 6.30$times 10^{-3}$ amp; 1.49$times 10^{-2}$ amp; 8.52$times 10^{-3}$ amp; 0.94 amp; 2.41$times 10^{-1}$ amp; (-0.93, 5.64)$times 10^{-1}$ amp; 1.07$times 10^{-2}$ amp; -2.95$times 10^{-2}$ amp; 2.74$times 10^{-2}$ amp; 0.94\
SD[log(Bilirubin):slope] amp; 1.17$times 10^{-2}$ amp; (0.59, 1.70)$times 10^{-2}$ amp; 4.85$times 10^{-4}$ amp; -3.21$times 10^{-3}$ amp; 2.31$times 10^{-5}$ amp; 0.77 amp; 6.59$times 10^{-3}$ amp; (0.03, 1.49)$times 10^{-2}$ amp; 4.63$times 10^{-4}$ amp; -8.35$times 10^{-3}$ amp; 9.15$times 10^{-5}$ amp; 0.52\
Corr[log(Bilirubin):slope,Platelet:Intercept] amp; -1.74$times 10^{-1}$ amp;( -4.84, 1.38)$times 10^{-1}$ amp; 1.18$times 10^{-2}$ amp; -4.79$times 10^{-3}$ amp; 1.71$times 10^{-2}$ amp; 0.98 amp; -6.44$times 10^{-2}$ amp; (-6.81, 5.75)$times 10^{-1}$ amp; 1.30$times 10^{-2}$ amp; 1.05$times 10^{-1}$ amp; 2.88$times 10^{-2}$ amp;0.99 \
Corr[log(Bilirubin):slope,Platelet:slope] amp; 1.52$times 10^{-1}$ amp; (-1.55, 4.57)$times 10^{-1}$ amp; 1.03$times 10^{-2}$ amp; 2.67$times 10^{-2}$ amp; 1.68$times 10^{-2}$ amp; 0.98 amp; 5.53$times 10^{-2}$ amp; (-5.60, 6.60)$times 10^{-1}$ amp; 1.29$times 10^{-2}$ amp; -6.95$times 10^{-2}$ amp; 2.98$times 10^{-2}$ amp; 0.99 \
Corr[log(Bilirubin):slope,Blood Vessel Malformations:Intercept] amp; 1.22$times 10^{-2}$ amp; (-3.70, 3.95)$times 10^{-1}$ amp; 1.32$times 10^{-2}$ amp; 4.11$times 10^{-3}$ amp; 2.68$times 10^{-2}$ amp; 0.97 amp; 8.85$times 10^{-3}$ amp;( -6.55,6.71)$times 10^{-1}$ amp; 1.45$times 10^{-2}$ amp; 7.24$times 10^{-4}$ amp; 3.95$times 10^{-2}$ amp; 0.98 \
amp; multicolumn{12}{c}{textbf{Platelet Count}} \
E[Platelet:Intercept] amp; 5.54 amp; (5.49, 5.59) amp; 1.56$times 10^{-3}$ amp; -1.43$times 10^{-4}$ amp; 6.70$times 10^{-4}$ amp; 0.94 amp; 5.46 amp; (5.36, 5.56) amp; 3.18$times 10^{-3}$ amp; -3.39$times 10^{-3}$ amp; 1.98$times 10^{-3}$ amp; 0.98 \
E[Platelet:slope] amp; -4.37$times 10^{-3}$ amp; (-6.52, -2.23)$times 10^{-3}$ amp; 7.00$times 10^{-5}$ amp; -7.29$times 10^{-5}$ amp; 1.08$times 10^{-6}$ amp; 0.94 amp; -1.13$times 10^{-2}$ amp; (-1.58, -0.69)$times 10^{-2}$ amp; 1.43$times 10^{-4}$ amp; 6.08$times 10^{-5}$ amp; 4.69$times 10^{-6}$ amp; 0.97 \
SD[Platelet:Intercept] amp; 3.46$times 10^{-1}$ amp; (3.11, 3.81)$times 10^{-1}$ amp; 1.14$times 10^{-3}$ amp; 8.28$times 10^{-4}$ amp; 2.31$times 10^{-4}$ amp; 0.99 amp; 3.57$times 10^{-1}$ amp;( 2.87, 4.32)$times 10^{-1}$ amp; 2.36$times 10^{-3}$ amp; 1.22$times 10^{-2}$ amp; 1.34$times 10^{-3}$ amp; 0.98 \
Corr[Platelet:Intercept,Platelet:slope]amp; 4.56$times 10^{-2}$ amp; (-0.97, 1.88)$times 10^{-1}$ amp; 4.63$times 10^{-3}$ amp; -1.58$times 10^{-2}$ amp; 5.14$times 10^{-3}$ amp; 0.96 amp; 5.86$times 10^{-2}$ amp; (-2.20, 3.35)$times 10^{-1}$ amp; 9.13$times 10^{-3}$ amp; -2.86$times 10^{-3}$ amp; 1.85$times 10^{-2}$ amp; 0.96 \
Corr[Platelet:Intercept,Blood vessel malformations:Intercept] amp; -2.31$times 10^{-1}$ amp; (-4.15, -0.44)$times 10^{-1}$ amp; 6.19$times 10^{-3}$ amp; 1.75$times 10^{-2}$ amp; 9.42$times 10^{-3}$ amp; 0.96 amp; -2.38$times 10^{-1}$ amp; (-5.53, 0.87)$times 10^{-1}$ amp; 1.05$times 10^{-2}$ amp; 9.76$times 10^{-3}$ amp; 2.27$times 10^{-2}$ amp; 0.95\
SD[Platelet:slope] amp; 1.52$times 10^{-2}$ amp; (1.36, 1.68)$times 10^{-2}$ amp; 5.20$times 10^{-5}$ amp; 3.84$times 10^{-5}$ amp; 8.05$times 10^{-7}$ amp; 0.92 amp; 1.56$times 10^{-2}$ amp;( 1.24, 1.90)$times 10^{-2}$ amp; 1.08$times 10^{-4}$ amp; 4.31$times 10^{-4}$ amp; 3.10$times 10^{-6}$ amp; 0.95 \
Corr[Platelet:slope,Blood vessel malformations:Intercept] amp; -8.08$times 10^{-2}$ amp; (-2.76, 1.15)$times 10^{-1}$ amp; 6.38$times 10^{-3}$ amp; -5.01$times 10^{-4}$ amp; 8.81$times 10^{-3}$ amp; 0.97 amp; -7.94$times 10^{-2}$ amp; (-4.15, 2.60)$times 10^{-1}$ amp; 1.11$times 10^{-2}$ amp; 8.85$times 10^{-4}$ amp; 2.82$times 10^{-2}$ amp; 0.96\
amp; multicolumn{12}{c}{textbf{Blood vessel malformations}} \
E[Blood vessel malformations:Intercept] amp; -2.53 amp; (-3.10, -1.99) amp; 1.91$times 10^{-2}$ amp; 1.59$times 10^{-2}$ amp; 6.86$times 10^{-2}$ amp; 0.96 amp; -5.63$times 10^{-1}$ amp;( -1.37, 0.23) amp; 2.60$times 10^{-2}$ amp; 1.17$times 10^{-1}$ amp; 2.08$times 10^{-1}$ amp; 0.92 \
E[Blood vessel malformations:Slope] amp; 1.44$times 10^{-2}$ amp; (-0.94, 3.83)$times 10^{-2}$ amp; 7.85$times 10^{-4}$ amp; -1.92$times 10^{-4}$ amp; 1.16$times 10^{-4}$ amp; 0.98 amp; 4.23$times 10^{-2}$ amp; (0.25, 8.24)$times 10^{-2}$ amp; 1.35$times 10^{-3}$ amp; -5.77$times 10^{-3}$ amp; 4.03$times 10^{-4}$ amp; 0.95 \
SD[Blood vessel malformations:Intercept] amp; 1.87 amp; (1.38, 2.39) amp; 1.82$times 10^{-2}$ amp; -7.58$times 10^{-3}$ amp; 7.38$times 10^{-2}$ amp; 0.94 amp; 1.87 amp; (1.06,2.75) amp; 3.37$times 10^{-2}$ amp; -9.05$times 10^{-3}$ amp; 2.72$times 10^{-1}$ amp; 0.88\
hline
end{tabularx}
end{sidewaystable}
end{document}