Le 23 sept. 10 à 13:48, Richard Heck a écrit :
On 9/22/10 9:50 PM, Uwe Stöhr wrote:
It a long-standing known issue LyX misses a proper way to define
custom header/footer lines while such lines are necessary for many
documents.
After helping a colleague to define a strange header line (which
costs me half an hour), I created a new module that provides
commands to define those lines. With this module you can
- use 6 different commands (left, center, right for header and
footer)
- define headers/footers "the LyX way": e.g. inserting logo images,
equations, tables, boxes, create multiple-line headers/footers, use
the text style dialog for the characters,...
- use an optional argument to define the output on even pages
I tested the attached module with many files and it works well as
far as I can see. Attached is also an example LyX file.
What do you think? Can this go in or are there better ways to
define header/footer lines?
(This module can also go to branch if accepted.)
This looks quite good. I can't see any other way to leverage LyX's
abilities and produce header and footer lines.
A few questions, though. First, isn't there another way to do this
in the koma-script classes? If so, then perhaps we should provide
for that functionality, as well. I have ideas about how to do so if
necessary. Second, do we need InTitle here? Or can these appear
anywhere? Finally, there can be issues about the header or footer
getting too tall, if I remember right. Is that correct? If so,
should we do something to help people there?
In some classes fancyhdr is not the solution. However we can expect
the layouts to provide
the right environments already. In this case they can be made
incompatible with the
new module, can't they?
JMarc