当前位置: 首页 > news >正文

latex问题汇总

latex问题汇总

  • 环境
  • 问题1

环境

texlive2024
TeXstudio 4.8.6 (git 4.8.6)

问题1

编译过程有如下错

! Misplaced alignment tab character &.
l.173   International Conference on Infrared &
                                               Millimeter Waves, 2004: 667--...
I can't figure out why you would want to use a tab mark
here. If you just want an ampersand, the remedy is
simple: Just type `I\&' now. But if some right brace
up above has ended a previous alignment prematurely,
you're probably due for more error messages, and you
might try typing `S' now just to see what is salvageable. 

再代码的这个位置

@inproceedings{2004Surf3d,
	title={Surf3d and LOT : computer codes for design and analysis of high-performance QO launchers in gyrotrons},
	author={ Neilson, J },
	booktitle={International Conference on Conference Digest of the Joint International Conference on Infrared & Millimeter Waves},
	pages={667--668},
	year={2004},
}

这个错误是由于在 .bib 文件中直接使用了 & 符号,导致 LaTeX 将其解释为对齐字符(alignment tab character),从而引发错误。在 LaTeX 中,& 是用于表格和对齐环境的特殊字符,直接使用会导致编译错误。

Infrared & Millimeter Waves 改为 Infrared & Millimeter Waves使用 & 转义 & 符

相关文章:

  • neo4j图数据库
  • 轻量级模块化前端框架:快速构建强大的Web界面
  • C++- 基于多设计模式下的同步异步日志系统
  • 交换机、路由器、网关、MAC地址——从入门到实战
  • 地基注解@Controller和@RestController区别
  • shiro反序列化漏洞-简述
  • 机试准备第15天
  • 办公常用自动化工具
  • 西瓜书简单笔记
  • 操作系统学习笔记-进程调度篇
  • 在线Doc/Docx转换为PDF格式 超快速转换的一款办公软件 文档快速转换 在线转换免费转换办公软件
  • STM32步进电机S型与T型加减速算法
  • 10进制转换成2进制
  • 编写Dockerfile制作tomcat镜像,生成镜像名为tomcat:v1,并推送到私有仓库。
  • Cursor初体验:excel转成CANoe的vsysvar文件
  • spring事务失效的12种场景
  • Deepseek -> 如何在PyTorch中合并张量
  • cesium安装与配置(visual studio版)
  • Linux运维篇-ubuntu22.04及以上版本操作系统配置静态IP
  • 如何搭建一个适配微信小程序,h5,app的工程
  • 专访|《内沙》导演杨弋枢:挽留终将失去的美好
  • 一图读懂丨创新创业人才最高补贴500万元!临港新片区发布创客新政“十二条”
  • 恒生银行回应裁员传闻:受影响的员工数目占银行核心业务员工总数约1%
  • 跨文化戏剧的拓荒者与传承者——洪深与复旦剧社的百年回响
  • 微软宣布将裁员3%
  • 今天北京白天气温超30℃,晚间为何下冰雹?