编译后表格中的文字不显示,出现空白,求教是哪里出现问题?

\usepackage{multirow}


\modulolinenumbers[5]


\usepackage{amssymb}


\usepackage{graphicx}


\journal{Journal of \LaTeX\ Templates}


\bibliographystyle{elsarticle-num}




\begin{document}




\begin{table*}

\caption{Key input variables and DCF main values of Scheme 2}

\begin{tabularx}{\textwidth}{@{} llX@{}}

\toprule

Variables            &Values        &Definition/Resource\\

\midrule

CapEx-HFO         &\$ 4.62m    &Initial investment in installing desulfurization washing equipment\\

Price-HFO          &\$433/ton     &Using the average price of IFO380 (Singapore)\\

Usage-HFO          &40 000 tons &HFO annual usage\\

Discount rate      &11\%      &Weighted average cost of capital (WACC) is the company's\\ weighted cost of capital, including all sources of capital: equity and debt. It represents the discount rate of estimated cash flows (Block, 2011; Bennouna et al., 2010).

Service-life      &15 years       &Economic life of desulfurization equipment\\

Depreciation method  &Sum-of-the-years -digits method (SYD)  &Accelerated depreciation is adopted due to the increase in maintenance costs of desulfurization equipment. This article uses SYD.\\

\bottomrule

\end{tabularx}


\end{table*}

\end{document}


3 回答3

1
<p>错误一大堆:</p><p>1、没有\documentclass... 谁知道你用的什么文档类,有什么特殊定义没有。</p><p>2、需要宏包都不写出来,tabularx、booktabs....</p><p>3、表格该换行的地方不换行,不该换行的地方瞎换行。</p><p>2010.)这里应该换行的,</p><p>company&#39;s 这里是不应该换行的,</p><p>如果是你的表格内容想手动控制换行,应该用\newline 而不应该用\\</p><p>4、最后那一行是个啥啊?头两列的内容那么长,最后一列被挤成一小条是必然的。</p><p>5、你这明明是编译通不过,哪里是编译出来文字不显示呢?</p>
  • 是不是心好累 – samuel 2019-08-23 12:36 回复
0
<p>没加中文宏包吧?补上这个看看,\usepackage[UTF8]{ctex}</p>
0
<pre class="brush:plain;toolbar:false">\documentclass[twocolumns]{article} \usepackage{multirow} \usepackage{booktabs,tabularx} \usepackage{amssymb} \usepackage{graphicx} \begin{document} \begin{table*} &nbsp;&nbsp;\caption{Key&nbsp;input&nbsp;variables&nbsp;and&nbsp;DCF&nbsp;main&nbsp;values&nbsp;of&nbsp;Scheme&nbsp;2} &nbsp;&nbsp;\begin{tabularx}{\textwidth}{llX} &nbsp;&nbsp;&nbsp;&nbsp;\toprule &nbsp;&nbsp;&nbsp;&nbsp;Variables&nbsp;&&nbsp;Values&nbsp;&&nbsp;Definition/Resource\\ &nbsp;&nbsp;&nbsp;&nbsp;\midrule &nbsp;&nbsp;&nbsp;&nbsp;CapEx-HFO&nbsp;&&nbsp;\$&nbsp;4.62m&nbsp;&&nbsp;Initial&nbsp;investment&nbsp;in&nbsp;installing&nbsp;desulfurization&nbsp;washing&nbsp;equipment\\ &nbsp;&nbsp;&nbsp;&nbsp;Price-HFO&nbsp;&&nbsp;\$&nbsp;433/ton&nbsp;&&nbsp;Using&nbsp;the&nbsp;average&nbsp;price&nbsp;of&nbsp;IFO380&nbsp;(Singapore)\\ &nbsp;&nbsp;&nbsp;&nbsp;Usage-HFO&nbsp;&&nbsp;40&nbsp;000&nbsp;tons&nbsp;&&nbsp;HFO&nbsp;annual&nbsp;usage\\ &nbsp;&nbsp;&nbsp;&nbsp;Discount&nbsp;rate&nbsp;&&nbsp;11&nbsp;\%&nbsp;&&nbsp;Weighted&nbsp;average&nbsp;cost&nbsp;of&nbsp;capital&nbsp;(WACC)&nbsp;is&nbsp;the&nbsp;company&#39;s&nbsp;weighted&nbsp;cost&nbsp;of&nbsp;capital,&nbsp;including&nbsp;all&nbsp;sources&nbsp;of&nbsp;capital:&nbsp;equity&nbsp;and&nbsp;debt.&nbsp;It&nbsp;represents&nbsp;the&nbsp;discount&nbsp;rate&nbsp;of&nbsp;estimated&nbsp;cash&nbsp;flows&nbsp;(Block,&nbsp;2011;&nbsp;Bennouna&nbsp;et&nbsp;al.,&nbsp;2010).\\ &nbsp;&nbsp;&nbsp;&nbsp;Service-life&nbsp;&&nbsp;15&nbsp;years&nbsp;&&nbsp;Economic&nbsp;life&nbsp;of&nbsp;desulfurization&nbsp;equipment\\ &nbsp;&nbsp;&nbsp;&nbsp;Depreciation&nbsp;method&nbsp;&&nbsp;Sum-of-the-years&nbsp;-digits&nbsp;method&nbsp;(SYD)&nbsp;&&nbsp;Accelerated&nbsp;depreciation&nbsp;is&nbsp;adopted&nbsp;due&nbsp;to&nbsp;the&nbsp;increase&nbsp;in&nbsp;maintenance&nbsp;costs&nbsp;of&nbsp;desulfurization&nbsp;equipment.&nbsp;This&nbsp;article&nbsp;uses&nbsp;SYD.\\ &nbsp;&nbsp;&nbsp;&nbsp;\bottomrule &nbsp;&nbsp;\end{tabularx} \end{table*} \end{document}</pre><p><img src="/data/ueditor/php/upload/image/20190822/1566479412902998.png" title="1566479412902998.png" alt="image.png"/></p><p>衷心建议你规定列宽</p>

你的回答

请登录后回答

你的回答将会帮助更多人,请务必认真回答问题。