我有一张很长的表格,上面列有论文、论文作者和其他一些有关论文的信息。我习惯longtabu
把它做成一张长表格,因为有些论文有很多作者,所以我想确保表格也适合页面的宽度。这是我的表格,十篇论文的格式相同。
\documentclass[a4paper]{article}
\usepackage[english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{graphicx}
\usepackage{tabu}
\usepackage{longtable}
\begin{document}
\begin{longtabu} to \textwidth {ll}
\endfirsthead
\endhead
\endfoot
\endlastfoot
\multicolumn{2}{l}{\textbf{\begin{tabular}[c]{@{}l@{}}A Pushing Approach for Data Synchronization in Cloud to Reduce\\ Energy Consumption in Mobile Devices\end{tabular}}} \\
Authors & S. A. L. Carvalho, R.N. Lima and A.G. Silva-Filho \cite{Carvalho:PushingApproach} \\
Platform & Android \\
Logging equipment & Adafruit INA219 \\
Application type & Networking application \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{An empirical study of the energy consumption of android applications}} \\
Authors & D. Li, S. Hao, J. Gui and W.G.J. Halfond \cite{Ding:EmpiricalStudy} \\
Platform & Android \\
Logging equipment & Monsoon power meter \\
Application type & Networking application \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{Calculating source line level energy information for android applications}} \\
Authors & D. Li, S. Hao, W.G.J. Halfond and R. Govindan \cite{Ding:CalcSourceLine} \\
Platform & Android \\
Logging equipment & Monsoon power meter \\
Application type & Networking application \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{Empowering Developers to Estimate App Energy Consumption}} \\
Authors & R. Mittal, A. Kansal and R. Chandra \cite{Mittal:EmpoweringDevelopers} \\
Platform & Android \\
Logging equipment & Monsoon power meter \\
Application type & Networking application \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{Estimating Mobile Application Energy Consumption using Program Analysis}} \\
Authors & S. Hao, D. Li, W.G.J. Halfond and R. Govindan \cite{Ding:ProgramAnalysis} \\
Platform & Android \\
Logging equipment & Atom LEAP \\
Application type & Various mobile applications \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{Measurement and Analysis of Energy Consumption on Android Smartphones}} \\
Authors & X. Li, X. Zhang, K. Chen and S. Feng \cite{Li:MeasurementAndroid} \\
Platform & Android \\
Logging equipment & Standard power meter \\
Application type & Various Android components \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{Measuring mobile phone energy consumption for 802.11 wireless networking}} \\
Authors & A. Rice and S. Hay \cite{Rice:MeasuringWireless} \\
Platform & Android \\
Logging equipment & National Instruments PCI-MIO-16E-4 \\
Application type & Networking application \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{Optimizing Background Email Sync on Smartphones}} \\
Authors & F. Xu, Y. Liu, T. Moscibroda, R. Chandra, L. Jin, Y. Zhang and Q. Li \cite{Xu:OptimizingEmailSync} \\
Platform & Android \\
Logging equipment & Monsoon power meter \\
Application type & Networking application \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{Reducing Power Consumption in Android Applications}} \\
Authors & A. Singhai, J. Bose and N. Yendeti \cite{Singhai:ReducingPower} \\
Platform & Android \\
Logging equipment & Monsoon power meter \\
Application type & Graphics application \\
\multicolumn{2}{l}{} \\
\multicolumn{2}{l}{\textbf{Switching Push and Pull: An Energy Efficient Notification Approach}} \\
Authors & D. Burgstahler, N. Richerzhagen, F. Englert, R. Hans and R. Steinmetz \cite{Burgstahler:SwitchingPushPull} \\
Platform & Android \\
Logging equipment & Hitex Power Scale with ACM Probe \\
Application type & Networking application \\
\end{longtabu}
\end{document}
但是当我渲染此内容时,一些作者姓名超出了文本宽度。这确实让我很困扰,因为我明确将宽度设置为\textwidth
。我遗漏了什么?
编辑:更改to \textwidth
为类似的内容to 0.2\textwidth
也没有效果,好像longtabu
忽略了我的宽度。