如何使用整页背景图片留出装订空间?
在 Latex 中,如何使背景图像占据每页上的整张纸除了每页内侧的特定条纹? 我想不通。
我有一个背景图像,希望在打印/装订后在每个页面上看到完整的背景图像。
马蒂
In Latex how can you make the background image to occupy the whole sheet on every page except a certain stripe on the inner side of each page? I can't figure it out.
I have a background image I'd like to be seen in whole on each page after printing/binding.
Matyi
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有一些相当可怕的 LaTeX 黑客,涉及在每个页面并使用 \includegraphics 将图像放入该环境中。 您必须使用宽度选项调整图像的大小,如果您想要偶数页和奇数页,您必须检查页码以了解是否通过更改 \put(0, 0) 到 \put(3,0) 例如。
对于页码测试,请尝试按以下顺序进行操作:
这并不是真正的完整答案,但足以让您开始。
There's some rather scary LaTeX hackery involving putting a picture environment under every page and using \includegraphics to put an image into that environment. You'll have to adjust the size of the image using the width option, and if you want even and odd pages you'll have to check the page number to know whether to shift the image right or left by changing \put(0,0) to \put(3,0) for example.
For page number testing try something on the order of
This isn't really a full answer but will be enough to get you started.
老实说,我只是在图像中添加空白:)
Honestly, I'd just add the white space in the image :)
嗯,我正在考虑这样的事情。
这真的是那么罕见的需要吗? 我自己现在第一次需要这样的东西,但我并不觉得它有那么大的奇怪。 对我来说很奇怪的是,如果你想要背景在偶数页和奇数页上改变,就像普通文本一样,你需要感觉到背叛了 Latex 逻辑。 或者也许我对我的这个挑战太狂热了,我想感受整个 tex 世界的变化来实现我的愿望。 :)
谢谢各位的解答!
Well, I was thinking of something like this.
Is this really so rare need to have? I myself need such a thing for the first time now but I don't feel it a so big oddity. It's strange for me that if you want a background to change over even and odd pages, just like normal text do, you need to feel betraying Latex logics. Or maybe I'm too fanatic of this challenge of mine and I want to feel the whole tex world change to fulfill my wishes. :)
Thank you for the answers!