\documentclass[11pt,a4paper]{article}
%\pagestyle{empty}
\usepackage{t1enc}
\usepackage{german}
\usepackage{ucs}
\usepackage[utf8]{inputenc}
\usepackage[T1,T2A]{fontenc}
\usepackage{longtable}
\DeclareTextCompositeCommand{\^}{T1}{h}{h\llap{\^{}}}
\DeclareTextCompositeCommand{\^}{OT1}{h}{h\llap{\^{}}}

% \hyphenpenalty=10000
% \tolerance=1000
% \clubpenalty=10000
% \widowpenalty=10000
% \displaywidowpenalty=10000

\parskip2em
\parindent0em

%\addtolength{\textwidth}{2.5cm}
%\addtolength{\oddsidemargin}{-2cm}
\addtolength{\textwidth}{3.56cm}
\addtolength{\oddsidemargin}{-1.78cm}
\addtolength{\textheight}{2.8cm}
\addtolength{\topmargin}{-1.5cm}
\addtolength{\headsep}{-2mm}

% placeholder for geometry of the landscape version

\makeatletter
\newenvironment{my-verse}
               {\let\\\@centercr
                 \list{}{\itemsep    \z@
                        \itemindent   -1.5em%
                        \listparindent\itemindent
                        \rightmargin  0em
                        \advance\leftmargin -1em}%
                \item\relax}
               {\endlist}
\makeatother

\usepackage[T1]{url}
%\urlstyle{same}

\usepackage{fancyhdr}
\usepackage{lastpage}
\pagestyle{fancy}%fancyplain}
\renewcommand{\headrulewidth}{0pt}
\rhead{\thepage{}/\pageref{LastPage}}
\cfoot{\leftmark}

\usepackage{calc}

\begin{document}

\newlength{\columnI}
\setlength{\columnI}{\maxof{\maxof{\maxof{\maxof{\maxof{\widthof{(What a friend we have in Jesus,)}}%
{\widthof{(All our sins and griefs to bear!)}}}%
{\maxof{\widthof{(What a privilege to carry)}}%
{\widthof{(Ev'rything to God in prayer!)}}}}%
{\maxof{\maxof{\widthof{(Oh, what peace we often forfeit,)}}%
{\widthof{(Oh, what needless pain we bear,)}}}%
{\maxof{\widthof{(All because we do not carry)}}%
{\widthof{(Ev'rything to God in prayer!)}}}}}%
{\maxof{\maxof{\maxof{\widthof{(Have we trials and temptations?)}}%
{\widthof{(Is there trouble anywhere?)}}}%
{\maxof{\widthof{(We should never be discouraged,)}}%
{\widthof{(Take it to the Lord in prayer:)}}}}%
{\maxof{\maxof{\widthof{(Can we find a friend so faithful)}}%
{\widthof{(Who will all our sorrows share?)}}}%
{\maxof{\widthof{(Jesus knows our ev'ry weakness,)}}%
{\widthof{(Take it to the Lord in prayer.)}}}}}}%
{\maxof{\maxof{\maxof{\maxof{\widthof{(Are we weak and heavy laden,)}}%
{\widthof{(Cumbered with a load of care?)}}}%
{\maxof{\widthof{(Precious Savior, still our refuge;)}}%
{\widthof{(Take it to the Lord in prayer:)}}}}%
{\maxof{\maxof{\widthof{(Do thy friends despise, forsake thee?)}}%
{\widthof{(Take it to the Lord in prayer;)}}}%
{\maxof{\widthof{(In His arms He'll take and shield thee;)}}%
{\widthof{(Thou wilt find a solace there.)}}}}}%
{\maxof{\maxof{\maxof{\widthof{(Blessed Savior, Thou hast promised)}}%
{\widthof{(Thou wilt all our burdens bear)}}}%
{\maxof{\widthof{(May we ever, Lord, be bringing )}}%
{\widthof{(All to Thee in earnest prayer.)}}}}%
{\maxof{\maxof{\widthof{(Soon in glory bright unclouded )}}%
{\widthof{(There will be no need for prayer)}}}%
{\maxof{\widthof{(Rapture, praise and endless worship )}}%
{\widthof{(Will be our sweet portion there.)}}}}}}}
\newlength{\columnTotal}
\setlength{\columnTotal}{\columnI}
\newlength{\tableTotal}
\setlength{\tableTotal}{\textwidth - 0\tabcolsep}

\urldef{\theurl}\url{http://www.poezio.net/version?poem-id=372&version-id=726}
\markboth{ \theurl }{}
\addcontentsline{toc}{subsection}{Joseph M. Scriven , What a Friend We Have in Jesus}
\nopagebreak[1]
\begin{longtable}[c]{@{}p{\tableTotal*\ratio{\columnI}{\columnTotal}}@{}}
\endlastfoot\dots\endfoot

{\normalfont\large Joseph M. Scriven ,}
\vspace{2.4em}
\\[-2em]

{\normalfont\LARGE What a Friend We Have in Jesus}
\vspace{1.4em}

\\[-2em]


\\[-2em]

\begin{my-verse}
What a friend we have in Jesus,\\
All our sins and griefs to bear!\\
What a privilege to carry\\
Ev'rything to God in prayer!\\
Oh, what peace we often forfeit,\\
Oh, what needless pain we bear,\\
All because we do not carry\\
Ev'rything to God in prayer!
\end{my-verse}
\\[-2em]
\begin{my-verse}
Have we trials and temptations?\\
Is there trouble anywhere?\\
We should never be discouraged,\\
Take it to the Lord in prayer:\\
Can we find a friend so faithful\\
Who will all our sorrows share?\\
Jesus knows our ev'ry weakness,\\
Take it to the Lord in prayer.
\end{my-verse}
\\[-2em]
\begin{my-verse}
Are we weak and heavy laden,\\
Cumbered with a load of care?\\
Precious Savior, still our refuge;\\
Take it to the Lord in prayer:\\
Do thy friends despise, forsake thee?\\
Take it to the Lord in prayer;\\
In His arms He'll take and shield thee;\\
Thou wilt find a solace there.
\end{my-verse}
\\[-2em]
\begin{my-verse}
Blessed Savior, Thou hast promised\\
Thou wilt all our burdens bear\\
May we ever, Lord, be bringing \\
All to Thee in earnest prayer.\\
Soon in glory bright unclouded \\
There will be no need for prayer\\
Rapture, praise and endless worship \\
Will be our sweet portion there.
\end{my-verse}
\\[0.4em]

{\itshape \small Verkinto de tiu ĉi Angla
poemo estas {\scshape Joseph M. Scriven
} ($\ast$1820~--~$\dagger$1886).

\vspace{1em}
Arg-372-726 (2006-08-25 15:58:11)

\vspace{1em}

Tiun originan tekston de la kanto mi trovis
en la interreto en / Diesen Urtext des
Liedes fand ich im Internetz unter:
\url{http://www.cyberhymnal.org/htm/w/a/f/wafwhij.htm}.}
\\

\end{longtable}
\end{document}
