I'm not sure where the onehalfspace-stuff comes from. I definitely did
not add it through ERT (at least not that I'm aware).
I _thought_ it came from using the package \setspace, but even if I
delete it from the latex header (or delete the whole latex header, for
that matter!) AND use the lyx settings to set spacing to 1.25, I
_still_ get the offensive onehalfspace-entries.

I don't know what else to try, can you perhaps suggest something?
(As I'm not sure about appendixes on this list, I have uploaded a much
shortened version of the file that still exhibits the offensive
behaviour here:
https://www.yousendit.com/download/T2dkckhVQXBtMEpESjlVag )

Thank you so much for your help!
Lastalda

2011/9/29 Helge Hafting <[email protected]>:
> On 28. sep. 2011 14:49, Lastalda wrote:
>>
>> I'm writing my diploma thesis in Lyx and am running across some irritating
>> formatting issues.
>> One of the most irritating is that the spacing around headlines is
>> inconsistent.
>> An example screenshot:
>> http://lyx.475766.n2.nabble.com/file/n6840087/Headline_spacing.png
>> There you can see that for most headlines (like 3.2.1.2 and 3.2.1.3) the
>> space /before/ the headline is bigger than the space /after/ the headline.
>> But for some headlines, like 3.1.2.4 in this case, the space /before/ the
>> headline is smaller!
>> The formatting I did on all the paragraphs and headlines is identical!
>>
>> This is just one example, it happens multiple times within the document.
>> Does somebody have any advice what I can do about this? (I mostly want it
>> to
>> be consistent, but would prefer the space before headings to be bigger
>> than
>> the one after headings.)
>>
>> All help is dearly appreciated!
>> Lastalda
>>
>>
>>
>> Also, if it helps, here's the exportet latex code of the section in the
>> screenshot:
>
> Yes, that helped.
> Looking at the latex code, I see \begin{onehalfspace} and \end
> {onehalfspace} surrounding your headings. That mess with the spacing.
> Removing those gives consistent spacing.
>
> It seems to me that onehalfspace works inconsistently, because you have used
> it on every heading, but it only changes the spacing for "Fällung von DNA"
> Removing onehalfspace fixes that, and have no effect on the other headings.
> Or maybe onehalfspace is not compatible with headings.
>
> I don't know what you have done in LyX to get the onehalfspace stuff,
> because I don't have the LyX file. If it is added through tex boxes,
> just remove it. If you have a custom character/paragraph style, fix it.
> I tried setting the line spacing in document settings, it did not
> have such effects on the latex code.
>
> I hope this helps.
>
> Helge Hafting
>

Reply via email to