On Wed, 31 Jan 2007, Nick Hopton 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?

  Jeremy C. Reed

Reply via email to