latex - How can I wrap lines from an input text file to my margins in latex?
问题描述
I need to include a text file I get from a C++ program in my latex document. When I include a text file with the latex verbatim include command the text in some lines continue endlessly instead of abiding to my document margins. See picture.
This is how it looks when it's compiled to pdf
How can I get the input text to wrap according to my margins? I can't change the formatting of the input file because it is given to me with this specific formatting by the program.
解决方案
推荐阅读
- flutter - 如何在颤动的http post请求中制作自定义标头
- javascript - React 组件不会使用相同的道具重新渲染,但子状态会发生变化
- python - Django 用户特定变量未在后端更新
- r - 有没有办法使用 R,RDCOMClient 查找/读取发件人电子邮件地址
- python - 将 16 位无符号整数数组转换为位的快速方法
- mysql - mysql中的多个where或慢
- angular - Angular:使用 ngIf 和迭代时出现 MatFormFieldControl 错误
- eclipse - 系统找不到指定的路径。Web逻辑
- javascript - 保持显示:无通过所有点击
- wpf - 将多绑定转换器以及内容添加到按钮 wpf