Re: Re: Re: Broken lines in tables

2012-01-02 Thread Bianca Schöne
2011/12/6 Kornel Benko :
> Am Montag, 5. Dezember 2011 um 20:20:12, schrieb Bianca Kranzusch 
> 
>> 2011/12/3 Kornel Benko :
>> > Am Samstag, 3. Dezember 2011 um 10:53:00, schrieb Wolfgang Engelmann 
>> > 
>> >> Am Freitag, 2. Dezember 2011, 12:47:14 schrieb Bianca Kranzusch:
>> >> > Hi!
>> >> >
>> >> > I'm still working on my diploma thesis, and another issue has come up.
>> >> >
>> >> > In some of my tables, I get broken horizontal lines. I have not been
>> >> > able so far to find out why this happens in some tables, and in others
>> >> > it doesn't. But it's really annoying.
>> >> > I have appended an example file with one of the tables that do this.
>> >> >
>> >> > Can anyone tell me how to avoid or fix this?
>> >> > Any help, as always, greatly appreciated!
>> >> >
>> >> > Thank you!
>> >> > Bianca
>> >>
>> >> If I open your file the line you complain about is NOT broken. I am using
>> >> Lyx 2.0.1
>> >>
>> >> Wolfgang
>> >
>> > It is the dvi/pdf display which is broken.
>> >
>> >        Kornel
>>
>> But when I export to pdf, it's still broken.
>
> That is what I meant.
>
>> Do you mean it won't be
>> broken in the print version? (I don't have a printer here.)
>
> No.
>
>> Or is it something about my pdf/dvi settings that I can fix?
>
> I don't know what is causing this. As a bypass You may try
> to set the table-width indirectly (e.g. setting width of individual cells)
>
>        Kornel

The bypass worked, though it was a hassle to do it for all tables individually.
When the thesis is done, I'll try running a Lyx-update (am using
2.0.0), maybe that will help.

Thanks!
Bianca


Re: Appendix depth

2011-12-31 Thread Bianca Schöne
2011/12/31 Jürgen Spitzmüller :
> Bianca Schöne wrote:
>> So basically, I want the naming (A and B instead of A1 and A2) of
>> chapters, but the formatting of sections. (A minimal file is
>> included.)
>
> Here's a hackish solution (note that this only affects the output, not the
> display in the LyX window):
>
> \usepackage{chngcntr}
> \renewcommand*\appendix{\par\clearpage%
>  \thispagestyle{plain}
>  \setcounter{chapter}{0}%
>  \setcounter{section}{0}%
>  \gdef\@chapapp{\appendixname}%
>  \gdef\thechapter{\@Alph\c@chapter}%
>  \csname appendixmore\endcsname
> \gdef\thesection{\@Alph\c@section}%
> \renewcommand*\thefigure{%
>  \thesection.%
>  \@arabic\c@figure
>  }
> \counterwithin{figure}{section}
> }
>
> HTH,
> Jürgen
>

THANK YOU! That worked wonders. :-)
I've also added "\makeatletter\@openrightfalse" in ERT before the
appendix, which removes the blank pages. (As found here:
http://stackoverflow.com/questions/1358694/latex-remove-blank-page-after-a-part-or-chapter
)

Thank you so much, and have a very nice new year!
Bianca


Appendix depth

2011-12-30 Thread Bianca Schöne
I'm close to finishing my diploma thesis in LyX. I'm using the KOMA
(book) class, and I have a problem with my appendix.

The appendix is relatively short, only 2 parts with 1 and 2 pages,
respectively. I would like to name these parts A and B, but I don't
want to make them chapters, because of the formatting that would bring
(almost half a page of whitespace and at least one empty page before
each new chapter, which is ridiculous with such short parts).

So basically, I want the naming (A and B instead of A1 and A2) of
chapters, but the formatting of sections. (A minimal file is
included.)

Is there a not overly complicated way to do this?

Thank you for any help, and a happy new year!
Bianca


Diplomarbeit_fixit.lyx
Description: Binary data