<posted & mailed>
Susanne Gütter wrote:
> how can I get the name of my document into the document or into the
> preview? I don't find any solution in the references.
You should add a footer or header, by proper commands in the
documents->settings->Latex preamble, including the instruction \jobname
The you have to switch to document->settings->page layout->'fancy'
Here included an example of footer and header i often use. Note that here
also page numbers are printed out,
--
pol
---inc
\usepackage{lastpage}
\usepackage{fancyhdr}
\lhead{ \footnotesize {\bf \itshape Notes } }
\chead{ }
\rhead{~\footnotesize \itshape \today}
\lfoot{ { \scriptsize {\TeX / \itshape{LyX} } document~~ ~~~ {\scriptsize
\jobname} \scriptsize } }
\cfoot{ }
\rfoot{ { \thepage\ / \pageref{LastPage}} }
-----