
\documentclass[a4paper,finnish,17pt]{memoir}

% Packages
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[finnish,english]{babel}
\usepackage{nopageno}

\usepackage{url}

\usepackage{graphicx}

%%%%%%%%%%%%%%%%%
% Marginals etc.
\pagestyle{empty}
\setlength{\parindent}{0mm}
\setlrmarginsandblock{2.7cm}{2.7cm}{*}
\setulmarginsandblock{3cm}{3cm}{*}
\checkandfixthelayout

%%%%%%%%%%%%%
% Fontfamily

\usepackage{pxfonts}
%\renewcommand{\rmdefault}{lmr}
%\usepackage{mathpazo}
%\renewcommand{\rmdefault}{ppl}

\usepackage[scaled=0.95]{berasans}
%\renewcommand{\sfdefault}{lmss}
%\renewcommand{\sfdefault}{cmss}

\renewcommand{\ttdefault}{lmtt}
%\renewcommand{\ttdefault}{cmtt}

\renewcommand{\familydefault}{\rmdefault}
\usepackage{type1cm}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Poetry commands (verse)

% Vertical lengths

\setlength{\stanzaskip}{\bigskipamount}
%\setlength{\stanzaskip}{1.5em}
%\setlength{\stanzaskip}{\baselineskip}
%\setlength{\stanzaskip}{0.6\baselineskip}

%\setlength{\beforepoemtitleskip}{\bigskipamount}
%\setlength{\beforepoemtitleskip}{3.5ex \@plus 1ex \@minus .2ex}
\setlength{\beforepoemtitleskip}{\smallskipamount}
%\setlength{\beforepoemtitleskip}{0em}

%\setlength{\afterpoemtitleskip}{2.3ex \@plus.2ex}
%\setlength{\afterpoemtitleskip}{\smallskipamount}
%\setlength{\afterpoemtitleskip}{\medskipamount}
\setlength{\afterpoemtitleskip}{\bigskipamount}
%\setlength{\afterpoemtitleskip}{0em}


% Horizontal lengths
\setlength{\vgap}{1.5em}

% (re)newcommands
\renewcommand{\poemtoc}{section}

%\renewcommand{\poemtitlefont}{\fontfamily{pzc}\Huge\raggedright}
%\renewcommand{\poemtitlefont}{\raggedright\fontfamily{ccr}\fontsize{28pt}{30pt}\selectfont}
\renewcommand{\poemtitlefont}{\raggedright\bfseries\fontfamily{pag}\fontsize{35pt}{42pt}\selectfont}

\newcommand{\attrib}[1]{%
\nopagebreak{\bigskip \raggedleft\fontsize{20pt}{22pt}\selectfont #1\par}}

% linenumbers
\linenumberfrequency{2}
\linenumberfont{\fontsize{14pt}{16pt}\fontfamily{pag}\selectfont}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}

\fontfamily{\familydefault}
\fontsize{20pt}{24pt}
\selectfont
\selectlanguage{finnish}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\poemtitle{anna minä juon tyhjäksi vielä tämän kolapullon}
\settowidth{\versewidth}{anna minä juon tyhjäksi vielä tämän kolapullon} 
\begin{verse}[\versewidth]

anna minä juon tyhjäksi vielä tämän kolapullon \\
ettei se väljähdy \\
siinä on vielä vähän jäljellä\\!

imen siitä sokeria \\
annan kofeiinin virrata \\
ja taas maistuu säätö \\!
\end{verse}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\attrib{Juhapekka ''naula'' Tolvanen}

\vfill
\vfill

\rule{\textwidth}{0.05em}
\fontsize{14pt}{16pt}
\selectfont

\begin{sloppypar}
  \selectlanguage{english}%
  Copyleft~%
  \textcopyleft~%
  2003~%
  \selectlanguage{finnish}%
  \textsf{Juhapekka~''naula''~Tolvanen}
  \selectlanguage{english}
  \url{<juhtolv@iki.fi>} \url{http://iki.fi/juhtolv/runot/}~.~This
  poem is free\@; it may be copied\@, distributed or modified under certain
  conditions\@, but comes WITHOUT ANY WARRANTY\@; see the Design Science License for the
  precise terms and conditions\@: \url{http://www.dsl.org/copyleft/dsl.txt}~.
\end{sloppypar}

\end{document}

