[Tex/LaTex] How to add new lines to the title


I am trying to make a title for my pdf:



\title{Poisson Image Editting}
\author{David Faux}


derp derp derp.


I also want to include in my title section (preferably right under the date) the lines

"Math 54"
"Professor Farber"

How do I do that? I've tried listing the content right under the title to no avail. \subtitle also doesn't seem to exist.

Best Answer

\title{<stuff>} merely stores <stuff> in the macro \@title, which is then used/typeset when you call \maketitle. So, the easiest way to stack content is to use

\title{Poisson Image Editing \\ Math 54 \\ Professor Farber}

enter image description here