>>>>> "Markus" == Markus Baeurle <[EMAIL PROTECTED]> writes:
Markus> The second
Markus> one has to do with page layout. I chose the fancy layout in
Markus> Layout -> Document. As you probably know, it puts the chapter
Markus> heading on the left and the section heading on the right of
Markus> the top of each page. If these headings are long, they run
Markus> into each other and thus become unreadable. This has
Markus> disappointed me quite a bit and led to some jokes from
Markus> colleagues in the department ("Are you sure you're using the
Markus> right tool?"). How can I correct this? I think the best way
Markus> would be if the section heading on the right was simply
Markus> truncated to fit.
LaTeX default headers/footers are ugly. If you have the package
fancyhdr installed, you could try the 'fancy' header option in
Layout->Document and add something like the following to your
preamble (untested):
\fancyhead{}
\fancyhead[LE]{\slshape \nouppercase{\leftmark}}
\fancyhead[RO]{\slshape \nouppercase{\rightmark}}
\addtolength{\headheight}{3pt}
Markus> I have two more glitches I'd like to mention. The first one
Markus> is that two spaces are always removed. I frequently want to
Markus> replace a whole word, so I delete it (by hitting backspace
Markus> several times) to type in the new one. But as soon as the last
Markus> letter is deleted, two spaces meet, one is removed and the
Markus> cursor is put at the end of the left word. I'd prefer if the
Markus> two spaces remained there until the cursor is moved away so I
Markus> could insert my new word without further steps.
Yes, this is a known problem.
Markus> Second,
Markus> program code typeset in LyX-Code isn't split very
Markus> intelligently if it hits the end of page which also
Markus> disappointed me quite a bit. In my case, about three lines
Markus> were put on the first page, with half of the page empty. On
Markus> the next page came a few more lines, an empty line (why wasn't
Markus> the page break put here?) followed by a lot of lines which ran
Markus> over the end of the page - it seems because no empty line was
Markus> found where the page break could be put. Why won't the page
Markus> break be put whereever it is necessary? No problem in program
Markus> code IMHO. I helped myself by putting a protected space in
Markus> Standard environment at the place where I want the page break
Markus> to occur, which is a very ugly workaround.
If what you include is a real code snippet (i.e. that you have in a
file), then you can use Insert->Include_File (check verbatim) to
include directly the file, with presumably a better result.
JMarc
--
+++ the lyx project user mailing list +++
To unsubscribe from this list send mail to
[EMAIL PROTECTED]
with the **Subject** unsubscribe.