Code: Select all
Code, edit and compile here:
\documentclass[11pt,raggedbottom]{book}\usepackage{lipsum}\usepackage{tocloft}\usepackage{verse}% For the package verse\newcommand{\attribution}[1]{%\nopagebreak{\raggedleft\footnotesize #1\par}}\renewcommand{\listfigurename}{Photos}% Define a new custom list called "mypoem"\newlistof{mypoem}{poe}{List of Poems}% Command to add poems to the "List of Poems"\newcommand{\mypoem}[1]{%\refstepcounter{mypoem}%\addcontentsline{poe}{mypoem}{#1}%#1\par}\begin{document}\tableofcontents% Generate the "List of Poems"\listofmypoem\chapter{Introduction}\lipsum[1]\mypoem{To the Lighthouse -- Virginia Woolf}\vspace{5ex}\poemtitle{To the Lighthouse}\begin{verse}[4em]And all the lives we ever lived\\And all the lives to be,\\Are full of trees and changing leaves\ldots{}\\!\attribution{Virginia Woolf}
"To the Lighthouse – Virginia Woolf" also appears above the poem which I don't want.