On 01/07/2014 05:24 AM, Dr Eberhard Lisse wrote:
Hi,
I have designed me a few form letters, and in one I need to use a
date repeatedly in the text. It is a bit of a nuisance to have to
look for the date throughout the text.
I can put in LaTeX variables and enter the value in the preamble but
wonder how I would create another variable (such as PS/CC/Encl) in
the drop down menu so it appears at the top of the LyX text.
This is what layout files are for. Find the file stdletter.inc on your
system and have a look at that. The syntax is explained in Ch 5 of the
Customization manual. Ask here if you get confused. This isn't hard but
takes a little doing.
Richard