我想把我的一些假期照片打印成明信片。但遗憾的是,到目前为止,我见过的所有公司都没有提供制作明信片背面的简单方法。
所以我想制作一个 A6 明信片的模板。
平均能量损失
\documentclass[a6paper,landscape,7pt]{scrartcl}
\usepackage[ngerman]{babel} % German umlauts
\usepackage[utf8]{inputenc} % German umlauts
\usepackage{hyperref} % seems to be important for multicols
\pagenumbering{gobble} % disable page numbering
\usepackage{multicol} % split page in two parts
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[margin=0.2cm]{geometry}
\usepackage{parskip}
\setlength\columnseprule{.4pt}
\begin{document}
\begin{multicols}{2}
Skyline of Pittsburgh, Pennsylvania\\
{\small Photographer: Max Mustermann}
\columnbreak
\vspace*{0.5\textheight}
\rule{5.8cm}{0.01cm}\vspace*{1cm}\\ % Name
\rule{5.8cm}{0.01cm}\vspace*{1cm}\\ % Street + Nr
\rule{2.2cm}{0.01cm}\hspace*{0.2cm}\rule{3.4cm}{0.01cm}\vspace*{1cm}\\ % zip code + town
\rule{5.8cm}{0.01cm}\\ % country
\end{multicols}
\end{document}
渲染
问题
第一个辅助行(注释为Name
)应该放置在页面宽度大约一半后的右侧。但它却放置在左侧。我该如何修复?
以防有人认为他能做到,我有一个超级棒的附加问题:最终在右上角做一个小印章模板会很好。随意调整任何东西让它看起来更漂亮 :-)(通常,我只会添加一张图片。但维基百科上似乎没有任何印章模板图像。)
答案1
关键是\par
在之前或之后添加一个\columnbreak
,以使线移动过来。
下面我给出两个版本:不带邮票的和带邮票的(错位和有邮戳)。
为了解决邮资问题,我只需放置一个\framebox
指定尺寸的,并使用\hfill
将其推到右边距。
\documentclass[a6paper,landscape,7pt]{scrartcl}
\usepackage[ngerman]{babel} % German umlauts
\usepackage[utf8]{inputenc} % German umlauts
\usepackage{hyperref} % seems to be important for multicols
\pagenumbering{gobble} % disable page numbering
\usepackage{multicol} % split page in two parts
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[margin=0.2cm]{geometry}
\usepackage{parskip}
\setlength\columnseprule{.4pt}
\begin{document}
\begin{multicols}{2}
Skyline of Pittsburgh, Pennsylvania\\
{\small Photographer: Max Mustermann}
\columnbreak\par
\hfill\framebox(40,50){\scriptsize Postage}\par
\vspace{0.25\textheight}
\rule{5.8cm}{0.01cm}\vspace*{1cm}\\ % Name
\rule{5.8cm}{0.01cm}\vspace*{1cm}\\ % Street + Nr
\rule{2.2cm}{0.01cm}\hspace*{0.2cm}\rule{3.4cm}{0.01cm}\vspace*{1cm}\\ % zip code + town
\rule{5.8cm}{0.01cm}\\ % country
\end{multicols}
\end{document}
为了在那里得到真正的邮票,我用了http://media2.s-nbcnews.com/j/msnbc/Components/Photos/050604/050604_jennystamp_hmed_7a.grid-6x2.jpg和http://www.photojewelrymaking.com/images/products/detail/postmark.jpg然后想出了这个,制作你的明信片极其宝贵(看http://en.wikipedia.org/wiki/Inverted_Jenny)。
然而,这显然是伪造的,因为邮戳日期比邮票早了 9 年,并且来自错误的国家。
\documentclass[a6paper,landscape,7pt]{scrartcl}
\usepackage[ngerman]{babel} % German umlauts
\usepackage[utf8]{inputenc} % German umlauts
\usepackage{hyperref} % seems to be important for multicols
\pagenumbering{gobble} % disable page numbering
\usepackage{multicol} % split page in two parts
\usepackage{helvet}
\renewcommand{\familydefault}{\sfdefault}
\usepackage[margin=0.2cm]{geometry}
\usepackage{parskip}
\usepackage{graphicx,stackengine}
\def\stacktype{L}\def\stackalignment{r}
\setlength\columnseprule{.4pt}
\begin{document}
\begin{multicols}{2}
Skyline of Pittsburgh, Pennsylvania\\
{\small Photographer: Max Mustermann}
\columnbreak\par
\hfill\raisebox{3pt}{\includegraphics[width=2cm]{postmark}}%
\stackon[0pt]{\raisebox{8pt}{\framebox(40,50){\scriptsize Postage}}}%
{\rotatebox{3}{\includegraphics[width=2cm]{rarestamp}}~}\par
\vspace{0.25\textheight}
\rule{5.8cm}{0.01cm}\vspace*{1cm}\\ % Name
\rule{5.8cm}{0.01cm}\vspace*{1cm}\\ % Street + Nr
\rule{2.2cm}{0.01cm}\hspace*{0.2cm}\rule{3.4cm}{0.01cm}\vspace*{1cm}\\ % zip code + town
\rule{5.8cm}{0.01cm}\\ % country
\end{multicols}
\end{document}