In a recent message
<[EMAIL PROTECTED]>, Jeremy C. Reed
<[EMAIL PROTECTED]> wrote.
[...]
> Any ideas on how to get a horizontal rule before every section unless at
> top or bottom of page?
Hi Jeremy, do you mean something like the attached file? I'm not sure if the
spacing would suit you, though. If you want to do this, the way to do
it is by
means of \hrule in a TeX box (ERT). The secret is this, at the very
end of the
previous section type Ctrl-Return and then open up a TeX box and insert
'\hrule' (without the quotes) into it.
Thanks for the reply. I am using LyX 1.4.3 and it wouldn't open your newe
format file.
I tried to do the same with using Ctrl-Return at the end of each section
and putting \hrule in a TeX box.
But I still had horizontal rules at the top of pages and end of pages.
I compared my lyx code with yours for that and it appeared to be
identical.
What is the Ctrl-Return supposed to do with the context of the \hrule?
And where is this documented?
[...]
Hi Jeremy, it looks as if we have a backwards-compatibility problem
here. On my system (Win-XP, most recent LyX alpha release for Windows)
the file produces the output shown in this PDF file.
http://www.hopton.dsl.pipex.com/hrule_test-preview.pdf
I've run out of ideas now I'm afraid, I don't have any of the earlier
versions of LyX to experiment with. I'm afraid I don't know whether or
not the Ctrl-return, \hrule, thing is documented anywhere. It's what you
might call 'original research'; sorry.
Afterword: I did try and post the PDF to the group, but I guess it was
too big. This was a really stupid thing to do on my part, sorry about
this too.
Regards,
Nick.
--
Nick Hopton and Anne Hopton
Caversham, Reading, England
<[EMAIL PROTECTED]>