Danny Parker wrote:
Here they are. My layout file is in the top post if you need that
too. Thanks for the help.
OK, the problem is that LyX outputs \maketitle as soon as you use a
layout that is not marked "InTitle". Since you put \phmheader in ERT in
a Standard environment, that's not InTitle, and so out \maketitle goes.
But you can't put \phmheader in the Title environment either, since then
it comes inside \title, which is also wrong.
Add this
Style TitleERT
InTitle 1
End
to your layout, and use it instead of standard where you need ERT in the
title block.
rh