Example: PGF 2.0 title page

Published 2008-05-06 | Author: The TikZ and PGF manual

The title page of the PGF 2.00 manual.

Source:The TikZ & PGF manual

Thanks to Ludger Humbert for submitting a standalone version of the titlepage.

Download as: [PDF] [TEX]  •  [Open in writeLaTeX]

PGF 2.0 title page

Do you have a question regarding this example, TikZ or LaTeX in general? Just ask in the LaTeX Forum.
Oder frag auf Deutsch auf TeXwelt.de.

% isolated Frontpage of [Tantau 2008]
% Mi 30. Apr 12:58:37 CEST 2008, lh
%
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{%
   decorations.fractals%
  ,decorations.pathmorphing%
  ,shadows%
}

\begin{document}
  \parindent0pt
  \null
  \colorlet{mintgreen}{green!50!black!50}

  \thispagestyle{empty}
  \vskip3cm
  \vfill
  \hfil
  \begin{tikzpicture}[overlay]
    \coordinate (front) at (0,0);
    \coordinate (horizon) at (0,.31\paperheight);
    \coordinate (bottom) at (0,-.6\paperheight);
    \coordinate (sky) at (0,.57\paperheight);
    \coordinate (left) at (-.51\paperwidth,0);
    \coordinate (right) at (.51\paperwidth,0);

    \shade [bottom color=blue!30!black!10,top color=blue!30!black!50]
      ([yshift=-5mm]horizon -|  left) rectangle (sky -| right);
    \shade [bottom color=black!70!green!25,top color=black!70!green!10]
      (front -| left) -- (horizon -| left)
      decorate [decoration=random steps] { -- (horizon -| right) }
      -- (front -| right) -- cycle;
    \shade [top color=black!70!green!25,bottom color=black!25]
      (front -| left) -- (horizon -| left)
      decorate [decoration=random steps] { -- (horizon -| right) }
      -- (front -| right) -- cycle;
    \shade [top color=black!70!green!25,bottom color=black!25]
      ([yshift=-5mm-1pt]front -| left) rectangle ([yshift=1pt]front -| right);
    \fill [black!25] (bottom -| left) rectangle ([yshift=-5mm]front -| right);

    \def\nodeshadowed[#1]#2;{\node[scale=2,above,#1]{#2};\node[scale=2,
        above,#1,yscale=-1,scope fading=south,opacity=0.4]{#2};}

    \nodeshadowed [at={(-5,5  )},yslant=0.05]
        {\Huge Ti\textcolor{orange}{\emph{k}}Z};
    \nodeshadowed [at={( 0,5.3)}] {\huge \textcolor{mintgreen}{\&}};
    \nodeshadowed [at={( 5,5  )},yslant=-0.05] {\Huge \textsc{PGF}};
    \nodeshadowed [at={( 0,2  )}] {Manual for Version \pgftypesetversion};

    \foreach \i in {0.5,0.6,...,2}
      \fill [white,decoration=Koch snowflake,opacity=.9]
            [shift=(horizon),shift={(rand*11,rnd*7)},scale=\i]
            [double copy shadow={opacity=0.2,shadow xshift=0pt,shadow
              yshift=3*\i pt,fill=white,draw=none}]
        decorate {
          decorate {
            decorate {
              (0,0) -- ++(60:1) -- ++(-60:1) -- cycle
            }
          }
        };
  \end{tikzpicture}
  \vfill
\end{document}

Comments

  • #1 Sven, December 2, 2008 at 11:44 a.m.

    The opening bracket after \begin{document} seems to be a mistake.

  • #2 Kjell Magne Fauske, December 2, 2008 at 7:37 p.m.

    Thanks Sven. I have now removed the bracket.

  • #3 Alexander Raasch, February 21, 2009 at 2:47 p.m.

    Why did you leave the bottom part with the source code and footprints empty?

  • #4 Kjell Magne Fauske, February 21, 2009 at 2:58 p.m.

    I received the code from Ludger Humbert. I don't know why he left out the bottom part.

  • #5 alex, November 13, 2009 at 1:18 p.m.

    I get "Undefined control sequence" for \nodeshadowed.

    Of all the example I tried, this is the only one which did not compile. I have installed texlive-full on Ubuntu 9.10.

    Am I missing something?

  • #6 Kjell Magne Fauske, November 13, 2009 at 9:36 p.m.

    Is it texlive 2007 or 2008? If I remember correctly, only texlive 2007 is available as an Ubuntu package. Texlive 2007 ships with PGF 1.18. The example requires PGF 2.0 or later.

  • #7 alex, November 17, 2009 at 1:24 p.m.

    It is indeed texlive 2007 (2007.dfsg.2-4ubuntu1). PGF itself is version 2.00-1, though. If I have a problem with another command, I will try to install texlive 2008 from the debian packages.

    Thank you very much.

Adding comments is currently not enabled.