请选择 进入手机版 | 继续访问电脑版
楼主: 心彩玉0408
4125 1

[问答] latex 三线表格 [推广有奖]

  • 2关注
  • 0粉丝

大专生

61%

还不是VIP/贵宾

-

威望
0
论坛币
2189 个
通用积分
1.6313
学术水平
1 点
热心指数
0 点
信用等级
0 点
经验
752 点
帖子
22
精华
0
在线时间
76 小时
注册时间
2015-6-11
最后登录
2023-6-2

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

三线表格

三线表格

请问,类似上图的三线表格的latex 代码怎么写?
我运行下面的代码出错!(出现 some character were lost while converting from UNICODE to CP 0? save to file anyway?)
求教正确的代码!!!
\begin{table}[!hbp]
\begin{tabular}{l}
      \toprule
       \Symbol & Description\\
      \midrule
\parbox{\linewidth}{
         \begin{enumerate}
           \$p$ & The manufacturer's retail price of the product\\
           \$c$ & The manufacturer's marginal cost of production\\
           \$p_{j}$ & The market clearance price for the secondary sharing market in period $j$\\
           \$U$ & Consumer’s utility\\
           \$\pi$ & The firm’s profit\\
                \end{enumerate}  }\\
      \bottomrule
    \end{tabular}
    \end{table}


二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:LaTeX Late atex TeX ATE Latex公式 LaTeX编辑 表格

回帖推荐

johnmy 发表于2楼  查看完整内容

刚开始学latex,为什么要搞的很复杂啊。 这的这个代码可以出结果,tabular后面是两列,去掉了些\
johnmy 发表于 2018-6-9 10:03:11 |显示全部楼层 |坛友微信交流群
  1. \documentclass[10pt,a4paper]{article}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{booktabs}
  4. \begin{document}
  5.         \begin{table}[!hbp]
  6.                 \begin{tabular}{ll}
  7.                         \toprule
  8.                         Symbol & Description\\
  9.                         \midrule
  10.                 %        \parbox{\linewidth}{
  11.                 %                \begin{enumerate}
  12.                                         $p$ & The manufacturer's retail price of the product\\
  13.                                         $c$ & The manufacturer's marginal cost of production\\
  14.                                         $p_{j}$ & The market clearance price for the secondary sharing market in period $j$\\
  15.                                         $U$ & Consumer’s utility\\
  16.                                         $\pi$ & The firm’s profit\\
  17.                 %                \end{enumerate}  }
  18.                                 \bottomrule
  19.                                 \end{tabular}
  20.                                 \end{table}
  21. \end{document}
复制代码


刚开始学latex,为什么要搞的很复杂啊。
这的这个代码可以出结果,tabular后面是两列,去掉了些\

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-3-28 22:14