在 LaTeX 中打印时抑制文本

发布于 2024-10-06 05:38:11 字数 121 浏览 0 评论 0原文

我想在我的文档中包含一个空白页,其中仅包含文本“(此页故意留空)”。我想在计算机查看文档时隐藏文本,但我仍然希望将文本与所述文本一起打印在纸上(通过 PDF)。有没有好的方法可以达到这样的效果呢? PDF 格式是否支持此类内容?

I want to include a blank page in my document with only the text "(this page intentionally left blank)". I would like to suppress the text when the document is viewed by a computer, but I still want the text to print on paper (via PDF) with said text. Is there a good way to achieve this effect? Are things of this sort even supported in the PDF format?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

裂开嘴轻声笑有多痛 2024-10-13 05:38:11

“通过计算机查看”是什么意思?我认为计算机总是会看到整个文档。如果您的意思是某些文本仅在打印时可见,而不是在屏幕上显示,我认为 PDF 无法做到这一点。但是您可以使用条件编译来生成两个版本,一种用于打印,一种用于屏幕。一些指针位于此处

What does "viewed by a computer" mean? I think the computer will always see the entire document. If you mean some text will be visible only when printed, and not onscreen, I don't think PDF can do that. BUt you could use conditional compilation to produce two versions, one for print and one for screen. Some pointers are here

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文