Thompson-Wheeler logo

From HaskellWiki
Revision as of 11:11, 5 June 2009 by Lemming (talk | contribs) (SVG)
Jump to navigation Jump to search

The 2009 Haskell Logo Competition winner

The logo thought up by Darrin Thompson and produced by Jeff Wheeler is the winning logo of the 2009 logo competition. On this page you can find multiple formats in which the logo has now produced.

Editable formats

Here, you will find the "editor-friendly" file formats. Ready-made formats should become available shortly.

PhotoShop

The original files produced by Jeff Wheeler. Note that most of these are quite large (>2MB). The images shown here are previews, click them to get the PSD files.

logo5.png logo7.png logo4.png logo1.png logo3.png logo2.png logo9.png

MetaPost

Based on a trace of Jeff Wheeler's PNG file, Brian Sniffen made a MetaPost implementation.

LaTeX (TikZ)

Philip Hölzenspies made a LaTeX style file that provides the command \haskelllogo[<options>], which produces the logo right there. This example file illustrates some of the options provided by the style.

It has been tested for TeXLive 2007 and TeXLive 2008. It requires a version of TikZ that includes the file pgfkeys.sty (unfortunately, the version number for this increment is unknown). To find out whether the haskell logo style will work out-of-the-box, do something like: kpsewhich pgfkeys.sty If you get an answer from kpsewhich, you should be good to go.

For those unfamiliar with TikZ, it stands for "TikZ ist kein Zeichenprogramm" and it allows one to make drawing (like these) directly in LaTeX. As shown in the example file, many TikZ options can also be used in \haskelllogo. TikZ even allows you to create SVG files from all individual images in a LaTeX document (by using tex4ht).

A few examples are given here:

Code Result
\haskelllogo HaskellLogoStyPreview-1.png
\haskelllogo[seventies] HaskellLogoStyPreview-2.png
\haskelllogo[commodore] HaskellLogoStyPreview-3.png
\haskelllogo[lambdabehind] HaskellLogoStyPreview-4.png
\haskelllogo[seventies,lambdainfront] HaskellLogoStyPreview-5.png
\haskelllogo[rounded corners=2pt] HaskellLogoStyPreview-6.png
\haskelllogo[rounded corners=4pt] HaskellLogoStyPreview-7.png

\begin{tikzpicture}[x=1ex,y=1ex]
\coordinate(hasklogoref) at (5,8);
\foreach \i in {4,...,1} {
  \pgfmathparse{(\i)^(-1.2)}
  \edef\opac{\pgfmathresult}
  \pgfmathparse{40 * \i}
  \edef\angl{\pgfmathresult}
  \haskelltikzlogo[rotate=\angl,opacity=\opac];
  \haskelltikzlogo[rotate=-\angl,opacity=\opac];
}
\haskelltikzlogo[commodore];
\end{tikzpicture}

HaskellLogoStyPreview-8.png

Vector format

Variant in SVG