我正在使用几何包设计一张邀请卡。我的内容在一张 A4 纸上可以容纳两份,所以我想节省一半的纸张。如何才能让每页内容每页显示两份?
这是我的代码:
\documentclass[12pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{geometry}
\geometry{%
a4paper,
top=15mm,
bottom=15mm,
left=13.5mm,
right=13.5mm,
layoutsize=138mm,
% offsets without double content per page
layouthoffset=36mm,
layoutvoffset=79.5mm,
showcrop
}
\usepackage{multicol}
\setlength\parindent{0pt}
\pagenumbering{gobble}
\usepackage{tgchorus}
\usepackage[T1]{fontenc}
\begin{document}
\centering
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Velit sed morbi.
\vfill
Orci nulla pellentesque dignissim enim sit amet venenatis \\
\vspace{5mm}
{\fontsize{24pt}{32pt}\selectfont 14. November 2015}
\vfill
Bibendum est ultricies integer quis auctor. \\
Hendrerit gravida rutrum quisque non tellus orci ac auctor augue.
\vfill
- ac tincidunt vitae semper quis -
\clearpage
Quisque in ornare est, euismod iaculis metus. Aenean consectetur commodo eros, ac efficitur massa.
\vfill
In in mattis tellus. Curabitur ac leo a eros accumsan lacinia. Phasellus pulvinar eget metus non mollis. Maecenas non hendrerit risus.
\vfill
Interdum et malesuada fames ac ante ipsum primis in faucibus. Donec non varius erat. Fusce laoreet enim laoreet, molestie massa at, lacinia erat.
\vfill
Pellentesque maximus ipsum a ultrices imperdiet. Donec volutpat odio id lacinia auctor. Ut sit amet justo sed justo semper consequat nec ac tortor.
\end{document}
答案1
基本上定义一个包含邀请的宏,然后在页面上调用该宏两次。不是 MWE,但可以给你这个想法:
\documentclass{article}
% other preamble stuff
\newcommand{\invite}{The code for the invitation.}
\begin{document}
\invite
\vfill % some space between the invitations
\invite
\end{document}