答案1
我也不是设计师,但你说得对,用 做这样的事情很容易TikZ
。这是我的结果:
可以通过以下方式实现:
\documentclass{article}
\usepackage[a0paper]{geometry}
\usepackage[sfdefault]{libertine}
\usepackage{tikz}
\begin{document}
~
\begin{tikzpicture}[remember picture,overlay,inner sep=20mm,text=white]
\node[anchor=north west,inner sep=0mm,outer sep=0mm] at (current page.north west) {\includegraphics[width=420.5mm,height=1189mm]{example-image}};
\node[anchor=north east,inner sep=0mm,outer sep=0mm,minimum width=420.5mm,minimum height=1189mm,fill=black] at (current page.north east) {};
\node[anchor=north west,text width=420.5mm,font=\fontsize{35mm}{40mm}\selectfont] at (current page.north west) {Organised by\newline University of Science};
\node[anchor=north east,text width=420.5mm,font=\fontsize{35mm}{32mm}\selectfont,align=right] at (current page.north east) {\hfill 23TH\newline \hspace*{\fill} OCT\newline 10AM};
\node[anchor=south west,text width=420.5mm,font=\fontsize{35mm}{40mm}\selectfont] at (current page.south west) {Other information};
\node[anchor=south west,text width=420.5mm,font=\fontsize{75mm}{90mm}\selectfont,inner sep=30mm] at (current page.center){ART \mbox{EXHIBIT}};
\node[anchor=north west,text width=380.5mm,font=\fontsize{25mm}{35mm}\selectfont,inner sep=30mm] at (current page.center){consectetur adipiscing elit. Fusce at suscipit elit. Cras fermentum est non elit tristique, ut rutrum justo ultrices.};
\node(address)[anchor=south west,text width=420.5mm,font=\fontsize{25mm}{30mm}\selectfont,xshift=30mm,yshift=30mm] at (current page.south) {123 Avenue Street\newline Phone 555\,1244\,4241\newline Email: [email protected]\newline\fontsize{30mm}{30mm}\selectfont WWW.WEBPAGE.COM};
\draw[line width=3mm,white] (address.north west) -- (address.south west);
\end{tikzpicture}
\end{document}
答案2
海报不需要 TikZ。在我的回答中,我利用eso-pic
包来包含背景图像和黑色规则,并textpos
利用包在页面的指定位置插入内容:
\documentclass[portrait]{article}
\usepackage{fontspec}
\setmainfont{TeX Gyre Adventor}
\usepackage{graphicx}
\usepackage[margin=0pt,a0paper]{geometry}
\usepackage{xcolor}
\usepackage{eso-pic}
\usepackage[absolute]{textpos}
\usepackage{lipsum}
% remove parindents and page numbers
\parindent=0pt
\pagestyle{empty}
% add background
\AddToShipoutPictureBG{
% picture in the left half
\AtTextLowerLeft{\includegraphics[height=\paperheight]{violettrees.jpg}}
% black box on the right
\AtTextLowerLeft{\hspace{0.5\paperwidth}\textcolor{black}{\rule{0.5\paperwidth}{\paperheight}}}
}
% set up grid
\TPGrid{20}{40}
% horizontal grid position for stuff on the left side
\newcommand\leftstart{1}
% we want to text blok to end before half of the image so it is 10 - leftstart - 1
\newcommand\leftwidth{8}
\newcommand\rightstart{11}
\newcommand\rightwidth{8}
% fonts
\newcommand\smallerfont{%
\fontsize{76}{128}\selectfont%
}
\newcommand\smallestfont{%
\fontsize{58}{64}\selectfont%
}
\newcommand\largerfont{%
\fontsize{96}{98}\selectfont%
}
\newcommand\largestfont{%
\fontsize{188}{228}\selectfont%
}
\newcommand\maincolor{\color{white}}%
% place content on a specified place on the grid
\newcommand\place[4]{%
\begin{textblock}{#3}(#1,#2)%
#4%
\end{textblock}%
}
\newcommand\logo[1]{\place{\leftstart}{2}{\leftwidth}{%
\smallerfont\maincolor #1%
}}
\newcommand\otherinfo[1]{\place{\leftstart}{37}{\leftwidth}{%
\smallerfont\maincolor #1%
}}
\newcommand\eventdate[1]{\place{\rightstart}{2}{\rightwidth}{%
\largerfont\maincolor \raggedleft #1%
}}
\newcommand\eventtitle[1]{\place{\rightstart}{14}{\rightwidth}{%
\largestfont\maincolor #1%
}}
\newcommand\eventdescription[1]{\place{\rightstart}{22}{\rightwidth}{%
\smallestfont\maincolor #1%
}}
\newcommand\eventplace[1]{\place{\rightstart}{35}{\rightwidth}{%
\smallestfont\maincolor%
\setlength\arrayrulewidth{15pt}%
\setlength\tabcolsep{45pt}
\tabular{|p{0.3\paperwidth}@{}}\parbox{0.3\paperwidth}{#1}\endtabular%
}}
\begin{document}
% turn off justification
\raggedright
\logo{Organized by\\ University of Science}
\otherinfo{\textbf{Other information}}
\eventdate{23TH\\OCT\\10AM}
\eventtitle{ART\\EXHIBIT}
\eventdescription{consectetur adipiscing elit. Fusce at suscipit elit. Cras fermentum est non elit tristique, ut rutrum justo ultrices.}
\eventplace{123 AVenue Street\\Phone: 555 111 222\\Email: [email protected]\\\textbf{www.webpage.com}}
\end{document}
使用以下命令添加背景:
% add background
\AddToShipoutPictureBG{
% picture in the left half
\AtTextLowerLeft{\includegraphics[height=\paperheight]{violettrees.jpg}}
% black box on the right
\AtTextLowerLeft{\hspace{0.5\paperwidth}\textcolor{black}{\rule{0.5\paperwidth}{\paperheight}}}
}
它首先在整个页面上插入图像,然后插入黑色线,将其移动到页面的一半。
我定义了一些命令来将信息放在页面上,以便将来更容易重复使用此模板。它们看起来像这样:
\newcommand\logo[1]{\place{\leftstart}{2}{\leftwidth}{%
\smallerfont\maincolor #1%
}}
这会将徽标插入到第二行的左列(页面按命令分为 40 行\TPGrid{20}{40}
)。我为所有字体和颜色制作了特殊命令,以便更加可定制。您可能还想提供垂直放置的命令,因为您可能想根据其内容高度移动框。
结果如下: