如何用 Latex 创建侧边栏?

发布于 2024-09-11 21:05:18 字数 143 浏览 3 评论 0原文

我需要制作一本日记,并且我想在日记最后一页的页面一侧有一个“推荐书籍”,但我找不到任何可以给我这个结果的东西。我已经在使用 multicols 包来存储内容,但我看不出 Graphicx 包将如何帮助我。

我也想要一个漂亮的带圆角的蓝色背景,欢迎帮助^^。

I need to make a journal, and I want to have a "recommended books" on the side of the page within the last page of the journal, but I couldn't find anything that would give me this result. I'm already using multicols package for the content and i cant see how a graphicx package would help me out.

I want to have a nice blue background with rounded corners too, help is welcome ^^.

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

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

发布评论

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

评论(1

百合的盛世恋 2024-09-18 21:05:18

如果您已经在使用 multicol,只需将其设为另一列并使用常用技术在其周围绘制一个框即可。也许不是最奇特的解决方案,但看起来它应该可行。在多列环境中使用 \newcolumn 将侧边栏放入其自己的列中。对于您喜欢的盒子,请尝试 fancybox 包。 使用它,您可以绘制圆角的盒子。

另一方面,这家伙 非常花哨,使用 TikZ 包来获取颜色和各种东西。

If you are already using multicol, just make it another column and draw a box around it with the usual techniques. Maybe not the fanciest solution, but it seems like it should work. Use \newcolumn in the multicol environment to put the sidebar in its own column. For your fancy boxes, try the fancybox package. With it, you can draw boxes with rounded corners.

On the other hand, this guy gets super fancy and uses the TikZ package to get colors and all sorts of stuff.

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