qq_45702129 2023-05-06 20:58 采纳率: 25%
浏览 8

Latex显示图片错误

相关宏包已导入,实现显示一行多列图片,但是一直报错,请教解决办法。

img

  • 写回答

1条回答 默认 最新

  • CSDN-Ada助手 CSDN-AI 官方账号 2023-05-07 09:00
    关注
    不知道你这个问题是否已经解决, 如果还没有解决的话:
    • 这个问题的回答你可以参考下: https://ask.csdn.net/questions/7633240
    • 你也可以参考下这篇文章:Latex插入图片过大的居中处理,占两栏
    • 除此之外, 这篇博客: LaTex表格--长表格和长宽调整中的 重复表头、表尾 部分也许能够解决你的问题, 你可以仔细阅读以下内容或者直接跳转源博客中阅读:

      长表格有时会跨越很多页,为了便于阅读,在每一页重复表头或者表尾,这涉及到4个命令,如下:

      \endhead, specify rows (比如表头) to appear at the top of every page (under the headline, but before the other lines of the table)
      \endfoot, specify rows (比如水平线\hline) to appear at the bottom of each page.
      \endfirsthead,只作用于表格的第一页。
      \endlastfoot,只作用于表格的第一页。
      

      值得注意的是,这些命令需要放在表格开始处(at the start of the table)。以下是一个实例,每一页头部重复表头,每一页尾部重复水平线(\hline)。

      \documentclass[twoside,12pt]{article}
      \usepackage{longtable}
       
      \begin{document}
       
      \begin{longtable}{|c|c|r|r|r|r|r|r|r|l|}
      \caption{caption}
      \label{table:label} \\ % add \\ command to tell LaTeX to start a new line
      \hline
      line1 & line2 & t1& $t_{12}$ & t2 & r(\%)& D(GB)& $D_{nc}(GB)$&Gt(\%)&Station\\
      \hline
      \endhead
       
      % Appear \hline at the bottom of every page
      \hline
      \endfoot
       
      % data begins here
      10 & 2 & 0:22:00 & 9:46:00 & 2:00:00 & 80.49 & 159.18 & 302.25 & 89.88 & Cours Dillon \\
      204 & 205 & 2:01:00 & 2:57:00 & 1:11:00 & 47.97 & 95.21 & 138.43 & 45.38 & Ayguevives Collège \\
      % more data here
      \hline
      \end{longtable}
       
      \end{document}
      

    如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^
    评论

报告相同问题?

问题事件

  • 创建了问题 5月6日

悬赏问题

  • ¥17 pro*C预编译“闪回查询”报错SCN不能识别
  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向