三线表要用那个包呢?怎么调出来?

4 回答4

3
<p>booktabs</p>
3
<p>截图中没写导言区。其实就</p><pre class="brush:plain;toolbar:false">\usepackage{booktabs}</pre><p>即可</p><p><img src="/data/ueditor/php/upload/image/20190817/1566046579336218.png" title="1566046579336218.png" alt="image.png"></p><p><br></p><p><br></p>
2
<p><span style="color: #c678dd;">\documentclass</span>{<span style="color: #e5c07b;">ctexart</span>}</p><p><span style="color: #c678dd;">\usepackage</span>{<span style="color: #e5c07b;">booktabs</span>}</p><p><span style="color: #56b6c2;">\begin</span>{<span style="font-style: italic;">document</span>}</p><p><br></p><p>由<span style="color: #56b6c2;">\textbackslash</span> booktabs宏包支持,科技论文常用的三线表,居中显示配标题:</p><p><br></p><p><span style="color: #56b6c2;">\begin</span>{<span style="font-style: italic;">table</span>}[h]    </p><p><span style="color: #56b6c2;">\centering</span>  </p><p><span style="color: #56b6c2;">\caption</span>{三线表}   <span style="color: #56b6c2;">\vspace</span>{3pt}    </p><p><span style="color: #56b6c2;">\begin</span>{<span style="font-style: italic;">tabular</span>}{cccc}       </p><p><span style="color: #56b6c2;">\toprule</span> <span style="color: #7f848e;font-style: italic;">% 绘制第一条线       </span></p><p>1 <span style="color: #c678dd;">&</span> 2 <span style="color: #c678dd;">&</span> 3 <span style="color: #c678dd;">&</span> 4 <span style="color: #c678dd;">\\</span> <span style="color: #56b6c2;">\midrule</span></p><p>1 <span style="color: #c678dd;">&</span> 2 <span style="color: #c678dd;">&</span> 3 <span style="color: #c678dd;">&</span> 4 <span style="color: #c678dd;">\\</span></p><p>1 <span style="color: #c678dd;">&</span> 2 <span style="color: #c678dd;">&</span> 3 <span style="color: #c678dd;">&</span> 4 <span style="color: #c678dd;">\\</span> <span style="color: #56b6c2;">\bottomrule</span>   </p><p><span style="color: #56b6c2;">\end</span>{<span style="font-style: italic;">tabular</span>}</p><p><span style="color: #56b6c2;">\end</span>{<span style="font-style: italic;">table</span>}</p><p><br></p><p><span style="color: #56b6c2;">\end</span>{<span style="font-style: italic;">document</span>}</p><p><br></p><p><br></p>
1
<p>看这里说明 <a href="https://www.ctan.org/pkg/booktabs" target="_blank">https://www.ctan.org/pkg/booktabs</a>  </p><p><br></p>

你的回答

请登录后回答

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