我在用韓國。我有一张豪华型桌子,它很宽,超出了页面的一侧。但是,如果将桌子居中,它就会适合页面两侧。我怎样才能将桌子居中?
最小工作示例(也在 ShareLaTeX 上):
\documentclass[modern]{aastex61}
\newcommand\aastex{AAS\TeX}
\newcommand\latex{La\TeX}
\received{...}
\revised{...}
\accepted{...}
\submitjournal{ApJ}
\usepackage{graphicx} % Including figure files
\usepackage{amsmath} % Advanced maths commands
\usepackage{amssymb} % Extra maths symbols
\usepackage{bm} % Bold maths symbols, including upright Greek
\usepackage{mathrsfs} % for mathscr characters
\usepackage{natbib} % Bibliography
\usepackage[T1]{fontenc}
\usepackage[final]{microtype}
\shorttitle{Deluxe Table Test}
\shortauthors{asdf}
\newcommand{\vdag}{(v)^\dagger}
\newcommand{\myemail}{fdsa}
\begin{document}
\title{Deluxe Table Test}
\correspondingauthor{Me}
\email{fdsa}
\author{asdf}
\startlongtable
\begin{deluxetable*}{llcccccccc}
\tablecaption{fdsafdsa.
\label{tab:stellar-parameters}}
\tablecolumns{8}
\tablenum{1}
\tablewidth{0pt}
%\tabletypesize{\scriptsize}
\tablehead{
\colhead{asdf} &
\colhead{fdsa} &
\colhead{sadf} &
\colhead{dsa} &
\colhead{fdsa} &
\colhead{fdsafdsa} &
\colhead{fdsaf} &
\colhead{fdsafdsa} \\
\colhead{} &
\colhead{} &
\colhead{asdf} &
\colhead{dsa} &
\colhead{fsda} &
\colhead{fdsafdsa} &
\colhead{fdsafdsafdsafd} &
\colhead{fdsafdsafd} \\
\colhead{} &
\colhead{} &
\colhead{fdsafdsa} &
\colhead{fdsafdsa} &
\colhead{fdsafdsa} &
\colhead{fdsafds} &
\colhead{fdsafds} &
\colhead{}
}
\startdata
432432 & 32432432 & 43243243 & 432 $\pm$ 4432 & 432432 $\pm$ 432432 & 543232 $\pm$ 54325 & 54332 $\pm$ 23133 & 5432543 \\
\enddata
\end{deluxetable*}
\end{document}
答案1
我知道这是一篇非常老的帖子,但我今天遇到了同样的问题,并为那些愿意牺牲表格大小的人找到了一种解决方法。我能够使用缩小过宽的表格,\tabletypesize{\footnotesize}
现在它可以很好地容纳在页边距内并居中。