5

It should look like this:

Postcard

It should be a a4paper where the left half is a picture. On that picture should be a title in the font calligra. At the right side, there should be a text in the font initfamily.

Here is what I tried:

\documentclass[11pt, landscape, twocolumns]{memoir}

%graphic packages
\usepackage{graphicx}
\usepackage{tikz}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm,includeheadfoot]{geometry}
\pagestyle{empty}
\parindent0pt

%fonts
\input Elzevier.fd
\newcommand*\initfamily{\usefont{U}{Elzevier}{xl}{n}}
\usepackage{calligra}
\usepackage[T1]{fontenc}

\begin{document}
\iffalse
\begin{tikzpicture}
    \node[anchor=south west,inner sep=0] at (0,0) {\includegraphics[width=\textwidth]{some_image.jpg}};
\end{tikzpicture}
\fi
\initfamily{Hochzeit}

\calligra{text}
\end{document}
8

One option:

enter image description here

The idea is to use a tikzpicture and \nodes with the proper settings to place the elements at the desired locations; since internal calculations are involved, two runs are needed for the elements to appear at their final locations. Feel free to adjust the settings according to your needs.

The code:

\documentclass[11pt, landscape]{memoir}

%graphic packages
\usepackage{graphicx}
\usepackage{tikz}

\pagestyle{empty}
\parindent0pt

%fonts
\input Elzevier.fd
\newcommand*\initfamily{\usefont{U}{Elzevier}{xl}{n}}
\usepackage{calligra}
\usepackage[T1]{fontenc}
\usepackage{lipsum}

\begin{document}

\begin{tikzpicture}[
  remember picture,
  overlay,
  mytext/.style={text width=\dimexpr0.5\paperwidth-20pt\relax,inner xsep=10pt}
]
  \node[anchor=north west,inner sep=0] 
    at (current page.north west)
    (image) 
    {\includegraphics[width=0.5\paperwidth,height=\paperheight]{mushrooms}};
  \node[anchor=north,text=white,scale=2] 
    at ([yshift=-1cm]image.north)
    {\initfamily{Hochzeit}};
  \node[anchor=north west,text width=0.5\paperwidth,inner sep=0pt,minimum height=\paperheight] 
    at (current page.north)
    (textbox)
    {};
  \node[anchor=north west,mytext] 
    at ([yshift=-2cm]textbox.north west)
    (text1)
    {\calligra{text and some other text}};
  \node[anchor=north west,mytext] 
    at ([yshift=-5cm]textbox.north west)
    (text2)
    {\calligra{text and some other text}};
  \node[anchor=south,mytext] 
    at ([yshift=3cm]textbox.south)
    (text3)
    {\calligra{text and some other text}};
\end{tikzpicture}

\end{document}

Update

Using the Elzevier package from the cfr-initials bundle, there's no need to input the font definition files:

\documentclass[11pt, landscape]{memoir}

%graphic packages
\usepackage{graphicx}
\usepackage{tikz}

\pagestyle{empty}
\parindent0pt

%fonts
\usepackage{calligra}
\usepackage{Elzevier}
\usepackage[T1]{fontenc}
\usepackage{lipsum}

\begin{document}

\begin{tikzpicture}[
  remember picture,
  overlay,
  mytext/.style={text width=\dimexpr0.5\paperwidth-20pt\relax,inner xsep=10pt}
]
  \node[anchor=north west,inner sep=0] 
    at (current page.north west)
    (image) 
    {\includegraphics[width=0.5\paperwidth,height=\paperheight]{mushrooms}};
  \node[anchor=north,text=white,scale=2] 
    at ([yshift=-1cm]image.north)
    {\elz{Hochzeit}};
  \node[anchor=north west,text width=0.5\paperwidth,inner sep=0pt,minimum height=\paperheight] 
    at (current page.north)
    (textbox)
    {};
  \node[anchor=north west,mytext] 
    at ([yshift=-2cm]textbox.north west)
    (text1)
    {\calligra{text and some other text}};
  \node[anchor=north west,mytext] 
    at ([yshift=-5cm]textbox.north west)
    (text2)
    {\calligra{text and some other text}};
  \node[anchor=south,mytext] 
    at ([yshift=3cm]textbox.south)
    (text3)
    {\calligra{text and some other text}};
\end{tikzpicture}

\end{document}

The result:

enter image description here

  • Thank you very much. And could it be that you are the Tikz-guru here? :-) ... everytime I have trouble with Tikz and need some code to look at I find your posts here :D ... thank you for that, that is really helpful! – Amelie B. Blackstone Jun 28 '15 at 23:52
  • 1
    @Dr.HenrietteB.Fröhlich You're welcome and thanks for your kind words. I am glad I could help. I updated my answer with some improvements. I wish I were a TikZ-guru; I'm just a TikZ-enthusiast :-) – Gonzalo Medina Jun 28 '15 at 23:58
  • There is now a package for each of the initials fonts, by the way. So you don't have to input the font definition file etc. in your document. I may, however, have a slight bias in its favour. – cfr Jun 29 '15 at 0:15
  • @cfr Which package are you referring to? Why would you have a bias? Did you write it? – Gonzalo Medina Jun 29 '15 at 0:23
  • ctan.org/pkg/cfr-initials. They are pretty much the simplest packages can get without doing literally nothing whatsoever. – cfr Jun 29 '15 at 0:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.