Hi,
I'm trying to create a layout for a memo style which requires the
following Format:
%--------------
\begin{document}
\From{<From>}
\To{<To>}
\Subject{<Subject>}
\ShortSubj{<Subject for page headers>}
\RE{<In Regards to>}
\Cc{<Carbon Copy list>}
\File{<File name>}
\Version{<Version>}
\memo{}
<memo text goes here>
\end{document}
%--------------
The problem is that \memo{} MUST appear after the field
specifications, but before the memo text. That's the macro which
outputs the memo header.
I've created layouts for all of the fields, but am unable to come up
with a good way of getting the empty \memo{} to appear. I'd rather
not have to use ERT, as I'm creating the layout for unsophisticated users.
My first attempt for a layout is
Style Memo
LatexType Command
LatexName memo
KeepEmpty 1
End
Unfortunately, if the user doesn't notice the layout is Memo and
not Standard, the resultant text gets passed to \memo{}, which must
not happen. (It takes an argument, but in this case it must be
passed an empty one).
Additionally, is there a way of ensuring that the \memo{} always is
present, other than putting a label in the layout which says "do not
delete"?
Thanks,
Diab