Floats AND text on new page
I have some problems with the positioning of floats in my document. I have already tried the tips and tricks, discribed at Herberts page, but nothing worked: What I try to get with !htbp written in the header is a float position closest to the position I have it within the Lyx-GUI. Everthing works fine, except then the float doesn´t fit to the actual page and the p-option takes place. By using [EMAIL PROTECTED]@} I was able to fix the float to the top of the new page, but there is no text on this page, but only on the next page. Though I get a page, which has only the float on it and therefor is half empty. If I leave away the p-option and only use !htb I get a lot of ugly error messages. Thanks in advance Andreas This message and any attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person.
Floats AND text on new page
I have some problems with the positioning of floats in my document. I have already tried the tips and tricks, discribed at Herberts page, but nothing worked: What I try to get with !htbp written in the header is a float position closest to the position I have it within the Lyx-GUI. Everthing works fine, except then the float doesn´t fit to the actual page and the p-option takes place. By using [EMAIL PROTECTED]@} I was able to fix the float to the top of the new page, but there is no text on this page, but only on the next page. Though I get a page, which has only the float on it and therefor is half empty. If I leave away the p-option and only use !htb I get a lot of ugly error messages. Thanks in advance Andreas This message and any attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person.
Floats AND text on new page
I have some problems with the positioning of floats in my document. I have already tried the tips and tricks, discribed at Herberts page, but nothing worked: What I try to get with "!htbp" written in the header is a float position closest to the position I have it within the Lyx-GUI. Everthing works fine, except then the float doesn´t fit to the actual page and the "p"-option takes place. By using [EMAIL PROTECTED]@} I was able to fix the float to the top of the new page, but there is no text on this page, but only on the next page. Though I get a page, which has only the float on it and therefor is half empty. If I leave away the "p"-option and only use "!htb" I get a lot of ugly error messages. Thanks in advance Andreas This message and any attachments are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, please telephone or email the sender and delete this message and any attachment from your system. If you are not the intended recipient, you must not copy this message or attachment or disclose the contents to any other person.
Re: Re: More than one line in fancyhead
I´m sorry. On your reply I´ve seen, that the format of my mail has changed a little, though the thing I asked for, is not very clear. What I try to do is a fancyheader with two lines on the left side, to lines centered in the middle and the pagenumber on the right side: Bla left..Bla centered Bla 2 leftBla2 centerd\thepage I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla left \newline Bla 2 left} But \fancyhead[CE,CO] {\bf\large Bla centered \newline Bla2 centered} does not work. The Bla2 centered is no longer centered. By using your advice, the \parbox is always put on the left side. I´m not able to center it using \fancyhead[C]\parbox{0.5\textwidth}{% Bla centered \newline bla2 centered }\hfill\thepage I also tried the following: \fancyhead[L]{\parbox{1\textwidth}{% \centering ... the blah text ... \newline\centering d } } But also this doesn´t work. The first line is not centered. What´my fault? Thanks in advance Andi Herbert Voss [EMAIL PROTECTED]An: [EMAIL PROTECTED] berlin.de Kopie: [EMAIL PROTECTED], [EMAIL PROTECTED] Thema: Re: More than one line in fancyhead 10.01.02 09:10 On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote: Is it possible to have more than one line in the fancyheaders to get something like Bla in line1 Bla2 Bla in line 2 Bla3 \thepage \parbox{0.5\textwidth}{% ... the blah text ... }\hfill\thepage Herbert
Re: German thesis layout (Diplomarbeit)
I´m using the book (koma-script)-style and the fancyhead-package to create nice headers and footers (have a look at http://www-user.tu-chemnitz.de/~hfst/tex/fancyhdr/ for further information). For the bibliography I´m using Sixpacks bibtex features. Though you can organize your literature very easily and intuitive. Importing from Windows-Endnote-data is also possible (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12031.html). This should fit the needs of german universities. Andi I am looking for lyx layout, so that students can use Lyx to write there 'Diplomarbeit' (thesis). The CU-Thesis package's layout of title page etc. isn't in a form that is suitable at German Universities. Does anybody have any layout or any preambel settings for an existing layout? Best Regards Claus
Re: Re: Re: More than one line in fancyhead
I found a solution for my problem. Anyway, thanks to everybody. For all the people out there, who have the same problem, the solution looks like this: \fancyhead{} %clear defaults \fancyfoot {} % ditto \fancyhead[C] {% \begin{tabular}[b]{c} \bf Bla \\ Bla \end{tabular}} \fancyhead[R] {% \begin{tabular}[b]{r} Bla \\ Page \thepage \end{tabular}} Andi Andreas Döring MAN Nutzfahrzeuge AG Vorentwicklung-Abgasnachbehandlung Abt. TVD-N Vogelweiherstr. 33 90441 Nürnberg Tel.: ++49 911 420-1845 Fax: ++49 911 420-1950 - Weitergeleitet von Andreas Doering/TVN/Nuernberg/MAN_Nutzfahrzeuge am 10.01.02 16:53 - Andreas Doering An: Herbert Voss [EMAIL PROTECTED], [EMAIL PROTECTED] 10.01.02 11:25 Kopie: Thema: Re: Re: More than one line in fancyhead(Document link: Andreas Doering) I´m sorry. On your reply I´ve seen, that the format of my mail has changed a little, though the thing I asked for, is not very clear. What I try to do is a fancyheader with two lines on the left side, to lines centered in the middle and the pagenumber on the right side: Bla left..Bla centered Bla 2 leftBla2 centerd\thepage I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla left \newline Bla 2 left} But \fancyhead[CE,CO] {\bf\large Bla centered \newline Bla2 centered} does not work. The Bla2 centered is no longer centered. By using your advice, the \parbox is always put on the left side. I´m not able to center it using \fancyhead[C]\parbox{0.5\textwidth}{% Bla centered \newline bla2 centered }\hfill\thepage I also tried the following: \fancyhead[L]{\parbox{1\textwidth}{% \centering ... the blah text ... \newline\centering d } } But also this doesn´t work. The first line is not centered. What´my fault? Thanks in advance Andi Herbert Voss [EMAIL PROTECTED]An: [EMAIL PROTECTED] berlin.de Kopie: [EMAIL PROTECTED], [EMAIL PROTECTED] Thema: Re: More than one line in fancyhead 10.01.02 09:10 On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote: Is it possible to have more than one line in the fancyheaders to get something like Bla in line1 Bla2 Bla in line 2 Bla3 \thepage \parbox{0.5\textwidth}{% ... the blah text ... }\hfill\thepage Herbert
Re: Re: More than one line in fancyhead
I´m sorry. On your reply I´ve seen, that the format of my mail has changed a little, though the thing I asked for, is not very clear. What I try to do is a fancyheader with two lines on the left side, to lines centered in the middle and the pagenumber on the right side: Bla left..Bla centered Bla 2 leftBla2 centerd\thepage I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla left \newline Bla 2 left} But \fancyhead[CE,CO] {\bf\large Bla centered \newline Bla2 centered} does not work. The Bla2 centered is no longer centered. By using your advice, the \parbox is always put on the left side. I´m not able to center it using \fancyhead[C]\parbox{0.5\textwidth}{% Bla centered \newline bla2 centered }\hfill\thepage I also tried the following: \fancyhead[L]{\parbox{1\textwidth}{% \centering ... the blah text ... \newline\centering d } } But also this doesn´t work. The first line is not centered. What´my fault? Thanks in advance Andi Herbert Voss [EMAIL PROTECTED]An: [EMAIL PROTECTED] berlin.de Kopie: [EMAIL PROTECTED], [EMAIL PROTECTED] Thema: Re: More than one line in fancyhead 10.01.02 09:10 On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote: Is it possible to have more than one line in the fancyheaders to get something like Bla in line1 Bla2 Bla in line 2 Bla3 \thepage \parbox{0.5\textwidth}{% ... the blah text ... }\hfill\thepage Herbert
Re: German thesis layout (Diplomarbeit)
I´m using the book (koma-script)-style and the fancyhead-package to create nice headers and footers (have a look at http://www-user.tu-chemnitz.de/~hfst/tex/fancyhdr/ for further information). For the bibliography I´m using Sixpacks bibtex features. Though you can organize your literature very easily and intuitive. Importing from Windows-Endnote-data is also possible (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12031.html). This should fit the needs of german universities. Andi I am looking for lyx layout, so that students can use Lyx to write there 'Diplomarbeit' (thesis). The CU-Thesis package's layout of title page etc. isn't in a form that is suitable at German Universities. Does anybody have any layout or any preambel settings for an existing layout? Best Regards Claus
Re: Re: Re: More than one line in fancyhead
I found a solution for my problem. Anyway, thanks to everybody. For all the people out there, who have the same problem, the solution looks like this: \fancyhead{} %clear defaults \fancyfoot {} % ditto \fancyhead[C] {% \begin{tabular}[b]{c} \bf Bla \\ Bla \end{tabular}} \fancyhead[R] {% \begin{tabular}[b]{r} Bla \\ Page \thepage \end{tabular}} Andi Andreas Döring MAN Nutzfahrzeuge AG Vorentwicklung-Abgasnachbehandlung Abt. TVD-N Vogelweiherstr. 33 90441 Nürnberg Tel.: ++49 911 420-1845 Fax: ++49 911 420-1950 - Weitergeleitet von Andreas Doering/TVN/Nuernberg/MAN_Nutzfahrzeuge am 10.01.02 16:53 - Andreas Doering An: Herbert Voss [EMAIL PROTECTED], [EMAIL PROTECTED] 10.01.02 11:25 Kopie: Thema: Re: Re: More than one line in fancyhead(Document link: Andreas Doering) I´m sorry. On your reply I´ve seen, that the format of my mail has changed a little, though the thing I asked for, is not very clear. What I try to do is a fancyheader with two lines on the left side, to lines centered in the middle and the pagenumber on the right side: Bla left..Bla centered Bla 2 leftBla2 centerd\thepage I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla left \newline Bla 2 left} But \fancyhead[CE,CO] {\bf\large Bla centered \newline Bla2 centered} does not work. The Bla2 centered is no longer centered. By using your advice, the \parbox is always put on the left side. I´m not able to center it using \fancyhead[C]\parbox{0.5\textwidth}{% Bla centered \newline bla2 centered }\hfill\thepage I also tried the following: \fancyhead[L]{\parbox{1\textwidth}{% \centering ... the blah text ... \newline\centering d } } But also this doesn´t work. The first line is not centered. What´my fault? Thanks in advance Andi Herbert Voss [EMAIL PROTECTED]An: [EMAIL PROTECTED] berlin.de Kopie: [EMAIL PROTECTED], [EMAIL PROTECTED] Thema: Re: More than one line in fancyhead 10.01.02 09:10 On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote: Is it possible to have more than one line in the fancyheaders to get something like Bla in line1 Bla2 Bla in line 2 Bla3 \thepage \parbox{0.5\textwidth}{% ... the blah text ... }\hfill\thepage Herbert
Re: Re: More than one line in fancyhead
I´m sorry. On your reply I´ve seen, that the format of my mail has changed a little, though the thing I asked for, is not very clear. What I try to do is a fancyheader with two lines on the left side, to lines centered in the middle and the pagenumber on the right side: Bla left..Bla centered Bla 2 leftBla2 centerd\thepage I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla left \newline Bla 2 left} But \fancyhead[CE,CO] {\bf\large Bla centered \newline Bla2 centered} does not work. The "Bla2 centered" is no longer centered. By using your advice, the \parbox is always put on the left side. I´m not able to center it using \fancyhead[C]\parbox{0.5\textwidth}{% Bla centered \newline bla2 centered }\hfill\thepage I also tried the following: \fancyhead[L]{\parbox{1\textwidth}{% \centering ... the blah text ... \newline\centering d } } But also this doesn´t work. The first line is not centered. What´my fault? Thanks in advance Andi Herbert Voss <[EMAIL PROTECTED]An: [EMAIL PROTECTED] berlin.de> Kopie: [EMAIL PROTECTED], <[EMAIL PROTECTED]> Thema: Re: More than one line in fancyhead 10.01.02 09:10 On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote: > Is it possible to have more than one line in the fancyheaders to get > something like > > > Bla in line1 > Bla2 > Bla in line 2 > Bla3 \thepage > \parbox{0.5\textwidth}{% ... the blah text ... }\hfill\thepage Herbert
Re: German thesis layout (Diplomarbeit)
I´m using the "book (koma-script)"-style and the fancyhead-package to create nice headers and footers (have a look at http://www-user.tu-chemnitz.de/~hfst/tex/fancyhdr/ for further information). For the bibliography I´m using Sixpacks bibtex features. Though you can organize your literature very easily and intuitive. Importing from Windows-Endnote-data is also possible (http://www.mail-archive.com/lyx-users@lists.lyx.org/msg12031.html). This should fit the needs of german universities. Andi I am looking for lyx layout, so that students can use Lyx to write there 'Diplomarbeit' (thesis). The CU-Thesis package's layout of title page etc. isn't in a form that is suitable at German Universities. Does anybody have any layout or any preambel settings for an existing layout? Best Regards Claus
Re: Re: Re: More than one line in fancyhead
I found a solution for my problem. Anyway, thanks to everybody. For all the people out there, who have the same problem, the solution looks like this: \fancyhead{} %clear defaults \fancyfoot {} % ditto \fancyhead[C] {% \begin{tabular}[b]{c} \bf Bla \\ Bla \end{tabular}} \fancyhead[R] {% \begin{tabular}[b]{r} Bla \\ Page \thepage \end{tabular}} Andi Andreas Döring MAN Nutzfahrzeuge AG Vorentwicklung-Abgasnachbehandlung Abt. TVD-N Vogelweiherstr. 33 90441 Nürnberg Tel.: ++49 911 420-1845 Fax: ++49 911 420-1950 - Weitergeleitet von Andreas Doering/TVN/Nuernberg/MAN_Nutzfahrzeuge am 10.01.02 16:53 - Andreas Doering An: Herbert Voss <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 10.01.02 11:25 Kopie: Thema: Re: Re: More than one line in fancyhead(Document link: Andreas Doering) I´m sorry. On your reply I´ve seen, that the format of my mail has changed a little, though the thing I asked for, is not very clear. What I try to do is a fancyheader with two lines on the left side, to lines centered in the middle and the pagenumber on the right side: Bla left..Bla centered Bla 2 leftBla2 centerd\thepage I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla left \newline Bla 2 left} But \fancyhead[CE,CO] {\bf\large Bla centered \newline Bla2 centered} does not work. The "Bla2 centered" is no longer centered. By using your advice, the \parbox is always put on the left side. I´m not able to center it using \fancyhead[C]\parbox{0.5\textwidth}{% Bla centered \newline bla2 centered }\hfill\thepage I also tried the following: \fancyhead[L]{\parbox{1\textwidth}{% \centering ... the blah text ... \newline\centering d } } But also this doesn´t work. The first line is not centered. What´my fault? Thanks in advance Andi Herbert Voss <[EMAIL PROTECTED]An: [EMAIL PROTECTED] berlin.de> Kopie: [EMAIL PROTECTED], <[EMAIL PROTECTED]> Thema: Re: More than one line in fancyhead 10.01.02 09:10 On Thu, 10 Jan 2002 [EMAIL PROTECTED] wrote: > Is it possible to have more than one line in the fancyheaders to get > something like > > > Bla in line1 > Bla2 > Bla in line 2 > Bla3 \thepage > \parbox{0.5\textwidth}{% ... the blah text ... }\hfill\thepage Herbert
More than one line in fancyhead
Is it possible to have more than one line in the fancyheaders to get something like Bla in line1 Bla2 Bla in line 2 Bla3 \thepage Normal text. I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla in line1 \newline Bla in line 2} But \fancyhead[CE,CO] {\bf\large Bla2 \newline Bla3} does not work. The Bla2 is no longer centered. Any idea? Thanks in advance Andi
More than one line in fancyhead
Is it possible to have more than one line in the fancyheaders to get something like Bla in line1 Bla2 Bla in line 2 Bla3 \thepage Normal text. I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla in line1 \newline Bla in line 2} But \fancyhead[CE,CO] {\bf\large Bla2 \newline Bla3} does not work. The Bla2 is no longer centered. Any idea? Thanks in advance Andi
More than one line in fancyhead
Is it possible to have more than one line in the fancyheaders to get something like Bla in line1 Bla2 Bla in line 2 Bla3 \thepage Normal text. I only have the idea to do the one thing for the left header like: \usepackage{fancyhdr} \fancyhead{} \fancyhead[LE,LO]{\bf\large Bla in line1 \newline Bla in line 2} But \fancyhead[CE,CO] {\bf\large Bla2 \newline Bla3} does not work. The "Bla2" is no longer centered. Any idea? Thanks in advance Andi
Antwort: Re: 16 showing up at the beginning of the file
Jean-Marc Lasgouttes Jean-Marc.LasgouttesAn: Juergen Vigna [EMAIL PROTECTED] @inria.fr Kopie: Andi [EMAIL PROTECTED], [EMAIL PROTECTED] Gesendet von:Thema: Re: 16 showing up at the beginning of the file Jean-Marc.Lasgouttes@ inria.fr 19.06.01 10:17 Juergen == Juergen Vigna [EMAIL PROTECTED] writes: Juergen On 11-Mar-2001 Andi wrote: Every time I open an existing lyx-file there is a 16 showing up in the first line, that I didn´t entered. Any idea what´s the reason for this and how to prevent this? Juergen Try to delete the 16 and then do Layout-Save Layout as Juergen Default, this should help! No, jergen, this was an _existing_ file. I think Andi uses a version of LyX older than 1.1.5fix2. Yes, I´m using 1.1.5fix1. Andi, you should upgrade to the latest version (1.1.6fix2). Note that if you are a heavy table user, 1.1.5fix2 is probably a safer choice for now. Yes I am. Thus I´ll try 1.1.5fix2. Thanks Andi
Antwort: Re: 16 showing up at the beginning of the file
Jean-Marc Lasgouttes Jean-Marc.LasgouttesAn: Juergen Vigna [EMAIL PROTECTED] @inria.fr Kopie: Andi [EMAIL PROTECTED], [EMAIL PROTECTED] Gesendet von:Thema: Re: 16 showing up at the beginning of the file Jean-Marc.Lasgouttes@ inria.fr 19.06.01 10:17 Juergen == Juergen Vigna [EMAIL PROTECTED] writes: Juergen On 11-Mar-2001 Andi wrote: Every time I open an existing lyx-file there is a 16 showing up in the first line, that I didn´t entered. Any idea what´s the reason for this and how to prevent this? Juergen Try to delete the 16 and then do Layout-Save Layout as Juergen Default, this should help! No, jergen, this was an _existing_ file. I think Andi uses a version of LyX older than 1.1.5fix2. Yes, I´m using 1.1.5fix1. Andi, you should upgrade to the latest version (1.1.6fix2). Note that if you are a heavy table user, 1.1.5fix2 is probably a safer choice for now. Yes I am. Thus I´ll try 1.1.5fix2. Thanks Andi
Antwort: Re: 16 showing up at the beginning of the file
Jean-Marc Lasgouttes @inria.fr> Kopie: Andi <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Gesendet von:Thema: Re: 16 showing up at the beginning of the file Jean-Marc.Lasgouttes@ inria.fr 19.06.01 10:17 > "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: Juergen> On 11-Mar-2001 Andi wrote: >>> Every time I open an existing lyx-file there is a "16" showing up >>> in the first line, that I didn´t entered. Any idea what´s the >>> reason for this and how to prevent this? >Juergen> Try to delete the 16 and then do "Layout->Save Layout as >Juergen> Default", this should help! >No, jergen, this was an _existing_ file. I think Andi uses a version >of LyX older than 1.1.5fix2. Yes, I´m using 1.1.5fix1. >Andi, you should upgrade to the latest version (1.1.6fix2). Note that >if you are a heavy table user, 1.1.5fix2 is probably a safer choice >for now. Yes I am. Thus I´ll try 1.1.5fix2. Thanks Andi
Antwort: Re: Vertical alignment in tables and table in tabledon´t work
Thus I downloaded the expamle file from http://www.educat.hu-berlin.de/~voss/lyx/table/vertical.html but I was not able to open it with Lyx 1.1.5fix1, because it crashed, when opening the file. Another question about this expample is the use of a table inside another table. I also tried this, but it looks like it only works on older versions of Lyx. Is there a workaround for this, because linebreaks within columns doesn´t work (or I´m to dummy), because the linebreak affected the whole table and not only the column of interest. I've encountered the same problem. Try to nest a matrix (instead a table) inside the table. It works fine. Maybe Herbert could consider to update his useful lyx-tips with this correction Giorgio Thanks, my first problem is almost fixed, but how can I change the Math-font-Style for this specific math-inset to standard? Andi PS: Do you have any idea how to vertically center the text inside the cells without your matrix-trick (for columns, there width of neighboring cells is been fixed and linebreaks within these cells are done automatically)?
Antwort: Re: Vertical alignment in tables and table in tabledon´t work
Thus I downloaded the expamle file from http://www.educat.hu-berlin.de/~voss/lyx/table/vertical.html but I was not able to open it with Lyx 1.1.5fix1, because it crashed, when opening the file. Another question about this expample is the use of a table inside another table. I also tried this, but it looks like it only works on older versions of Lyx. Is there a workaround for this, because linebreaks within columns doesn´t work (or I´m to dummy), because the linebreak affected the whole table and not only the column of interest. I've encountered the same problem. Try to nest a matrix (instead a table) inside the table. It works fine. Maybe Herbert could consider to update his useful lyx-tips with this correction Giorgio Thanks, my first problem is almost fixed, but how can I change the Math-font-Style for this specific math-inset to standard? At the moment I wrote this, the answer showed up in the list: Just go inside the matrix and change to math-mode. That´s it. Andi PS: Do you have any idea how to vertically center the text inside the cells without your matrix-trick (for columns, there width of neighboring cells is been fixed and linebreaks within these cells are done automatically)?
Antwort: Re: Vertical alignment in tables and table in tabledon´t work
Thus I downloaded the expamle file from http://www.educat.hu-berlin.de/~voss/lyx/table/vertical.html but I was not able to open it with Lyx 1.1.5fix1, because it crashed, when opening the file. Another question about this expample is the use of a table inside another table. I also tried this, but it looks like it only works on older versions of Lyx. Is there a workaround for this, because linebreaks within columns doesn´t work (or I´m to dummy), because the linebreak affected the whole table and not only the column of interest. I've encountered the same problem. Try to nest a matrix (instead a table) inside the table. It works fine. Maybe Herbert could consider to update his useful lyx-tips with this correction Giorgio Thanks, my first problem is almost fixed, but how can I change the Math-font-Style for this specific math-inset to standard? Andi PS: Do you have any idea how to vertically center the text inside the cells without your matrix-trick (for columns, there width of neighboring cells is been fixed and linebreaks within these cells are done automatically)?
Antwort: Re: Vertical alignment in tables and table in tabledon´t work
Thus I downloaded the expamle file from http://www.educat.hu-berlin.de/~voss/lyx/table/vertical.html but I was not able to open it with Lyx 1.1.5fix1, because it crashed, when opening the file. Another question about this expample is the use of a table inside another table. I also tried this, but it looks like it only works on older versions of Lyx. Is there a workaround for this, because linebreaks within columns doesn´t work (or I´m to dummy), because the linebreak affected the whole table and not only the column of interest. I've encountered the same problem. Try to nest a matrix (instead a table) inside the table. It works fine. Maybe Herbert could consider to update his useful lyx-tips with this correction Giorgio Thanks, my first problem is almost fixed, but how can I change the Math-font-Style for this specific math-inset to standard? At the moment I wrote this, the answer showed up in the list: Just go inside the matrix and change to math-mode. That´s it. Andi PS: Do you have any idea how to vertically center the text inside the cells without your matrix-trick (for columns, there width of neighboring cells is been fixed and linebreaks within these cells are done automatically)?
Antwort: Re: Vertical alignment in tables and table in tabledon´t work
>> Thus I downloaded the expamle file from >> >> http://www.educat.hu-berlin.de/~voss/lyx/table/vertical.html >> >> but I was not able to open it with Lyx 1.1.5fix1, because it crashed, >> when opening the file. >> >> Another question about this expample is the use of a table inside >> another table. I also tried this, but it looks like it only works on >> older versions of Lyx. Is there a workaround for this, because >> linebreaks within columns doesn´t work (or I´m to dummy), because the >> linebreak affected the whole table and not only the column of interest. >I've encountered the same problem. >Try to nest a matrix (instead a table) inside the table. >It works fine. >Maybe Herbert could consider to update his useful lyx-tips with this >correction >Giorgio Thanks, my first problem is almost fixed, but how can I change the Math-font-Style for this specific math-inset to standard? Andi PS: Do you have any idea how to vertically center the text inside the cells without your matrix-trick (for columns, there width of neighboring cells is been fixed and linebreaks within these cells are done automatically)?
Antwort: Re: Vertical alignment in tables and table in tabledon´t work
>>> Thus I downloaded the expamle file from >>> >>> http://www.educat.hu-berlin.de/~voss/lyx/table/vertical.html >>> >>> but I was not able to open it with Lyx 1.1.5fix1, because it crashed, >>> when opening the file. >>> >>> Another question about this expample is the use of a table inside >>> another table. I also tried this, but it looks like it only works on >>> older versions of Lyx. Is there a workaround for this, because >>> linebreaks within columns doesn´t work (or I´m to dummy), because the >>> linebreak affected the whole table and not only the column of interest. >>I've encountered the same problem. >>Try to nest a matrix (instead a table) inside the table. >>It works fine. >>Maybe Herbert could consider to update his useful lyx-tips with this >>correction >>Giorgio >Thanks, my first problem is almost fixed, but how can I change the Math-font-Style for this >specific math-inset to standard? At the moment I wrote this, the answer showed up in the list: Just go inside the matrix and change to math-mode. That´s it. Andi PS: Do you have any idea how to vertically center the text inside the cells without your matrix-trick (for columns, there width of neighboring cells is been fixed and linebreaks within these cells are done automatically)?
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
Andre Berger uzscd5@uni-bAn: [EMAIL PROTECTED] onn.de Kopie: Thema: Re: Prevent linebreaks and pagenumbering in TOC 26.04.01 10:12 Bitte antworten an Andre Berger * Andre Berger [EMAIL PROTECTED], 2001-04-25 22:31 +0200: * [EMAIL PROTECTED] [EMAIL PROTECTED], 2001-04-25 11:37 +0200: 1. The linebreaks within words at the TOC look ugly. How can I prevent these linebreaks in the TOC? I tried \mbox{ bla bla .bla} but then, there wasn´t any linebreak at all and the line in the TOC left the right margin. The section line looks quite OK in the normal text, so I don´t want to do a linebreak in the section line, causing the TOC-line to behave the same. The \samepage LaTeX command works, to be found for example in Kopka (1994: 1: ch. 3.5.5.5, p. 43 f.). I'm not at home and don't remember exactly how/where to use it. If anybody is interested I'll look it up this evening. Oh, sorry, I made a mistake. The code I had in mind is to prevent *page*breaks within TOC items. \chapter{\samepage YOUR LONG LONG TITLE} To answer your actual question, do not put whole lines into the \mbox-Command. Put each offending/not-to-break word into its own \mbox. Andre Berger[[EMAIL PROTECTED]] That doesn´t work too. After I inserted the word in the \mbox{BLALBABLA} there was no linebreak at all and the word is leaving the right margin. My second problem still persists, does anyone has an idea? 2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the TOC: \tableofcontents \addtocontents{toc}{\protect\thispagestyle{empty}} The problem is, that I´m using fancyheader, so I tried a \addtocontents{toc} {\protect\fancyfoot{}} This works fine for the TOC, but in the normal text, the pagenumbering at even pages disappeared. I personnaly use the fancyplain facility to change headers and footers for special pages (i.e. no printing of chaptermarks in the first page of a chapter. Yous shouls have look at the fancyhdr doc. I did this before, but I´m only able to avoid pagenumbering at the first page of the TOC. Though I did a \fancyfoot[LE]{\thepage} at the plain text after the TOC to reestablish the settings in the LATEX-preface, there this is already entered. This works, but I think, that´s not the way it should be handeled. It doesn´t work for Klyx either. Thanks in advance Andi
Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC
I´m sorry, but it didn´t work. There are still no pagenumbers at even pages. Attached you will find the beginning of my Lyx-file, maybe I missunderstood something wrong. \renewcommand\thepage{} \tableofcontents \addtocontents{toc} {\protect\fancyfoot{}} \renewcommand\thepage{\arabic{page}} The Latex-preamble looks like this: \usepackage{tocloft} % Set Margins \renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} \renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} \renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} \renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}} \renewcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}} \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \let\l@table\l@figure \makeatletter \usepackage{fancyhdr} \renewcommand{\chaptermark}[1]{% twoside and \markboth{% \ifnum \c@secnumdepth \m@ne \hfill\thechapter\quad \if @mainmatter \@chapapp\ \thechapter\quad \fi \fi #1% }{% \ifnum \c@secnumdepth \m@ne \if @mainmatter \@chapapp\ \thechapter\quad \fi \fi #1% }% }% \makeatother \renewcommand\sectionmark[1]{\markright{\thesection\ #1}} \renewcommand\headrulewidth{0pt} \renewcommand\footrulewidth{0pt} % positioning \usepackage{color} \definecolor{myColor}{rgb}{0.9,0.9,0.9} \fancyhead{}% delte the defaults \fancyhead[LE]{\colorbox{myColor}{\parbox{1\columnwidth}{\leftmark}}} % even pages! \fancyhead[RO]{\colorbox{myColor}{\parbox{1\columnwidth}{\rightmark}}} % odd pages! \fancyfoot{} % clear \fancyfoot[RE,LO]{\thepage} % right-even and left-odd \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} Andi Herbert Voss Gesendet von: voss 02.05.01 11:12 An: [EMAIL PROTECTED] Kopie: Andre Berger [EMAIL PROTECTED], [EMAIL PROTECTED] Thema: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC [EMAIL PROTECTED] wrote: This works fine for the TOC, but in the normal text, the pagenumbering at even pages disappeared. I personnaly use the fancyplain facility to change headers and footers for special pages (i.e. no printing of chaptermarks in the first page of a chapter. Yous shouls have look at the fancyhdr doc. I did this before, but I´m only able to avoid pagenumbering at the first page of the TOC. Though I did a \fancyfoot[LE]{\thepage} at the plain text after the TOC to reestablish the settings in the LATEX-preface, there this is already entered. This works, but I think, that´s not the way it should be handeled. It doesn´t work for Klyx either. try at the very first line in tex(red) \renewcommand\thepage{} behind the insert toc-command \renewcommand\thepage{\arabic{page}} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumberingin TOC
I see, there was a missunderstanding: I want to avoid pagenumbering in the TOC, but afterwords at the normal text, I want to have pagenumbering. The problem is, that after avoiding the pagenumbering in the TOC, the pagenumbering at the normal text at even pages disapeared. \renewcommand\thepage{} \tableofcontents% insert it via insert-lists toc \renewcommand\thepage{\arabic{page}} I tried what you sent to me, deleted everything from my Latex-preamble, changed the doc-style from koma-book to book and back, but it didn´t work. I´ve got a pagenumber at the last page of the TOC and the only way to prevent this, was adding \addtocontents{toc} {\protect\fancyfoot{}} But after some trial and error I found, that putting the \renewcommand\thepage{\arabic{page}} at the beginning of the normal text it worked. I see it very clearly, I´m to dummy for this. Thanks a lot for your help Andi Herbert Voss Gesendet von: voss 02.05.01 14:39 An: [EMAIL PROTECTED] Kopie: [EMAIL PROTECTED] Thema: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC [EMAIL PROTECTED] wrote: I´m sorry, but it didn´t work. There are still no pagenumbers at even pages. i'm a bit confused. do you want to have pagenumbers in the toc or not? if not: \renewcommand\thepage{} \tableofcontents% insert it via insert-lists toc \renewcommand\thepage{\arabic{page}} if yes with fancyhdr write in preamble \fancypagestyle{plain}{% \fancyhf{} \fancyfoot[C]{\bfseries \thepage} \renewcommand\headrulewidth{0pt} \renewcommand\footrulewidth{0pt} } The Latex-preamble looks like this: \usepackage{tocloft} % Set Margins \renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} \renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} \renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} \renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}} \renewcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}} \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} this is in german doppelt gemoppelt. use tocloft OR the equivilent latex commands. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks andpagenumberingin TOC
It´s completely empty. I think the whole problem was, that I put the \renewcommand\thepage{\arabic{page}} and all my other useless trials just behind the TOC instead of putting it at the beginning of the text. Though it affected the last page of the TOC instead of the first page of the normal text. That´s called learning by doing for newbies. Andi PS: Great homepage you have!!! Herbert Voss Gesendet von: voss 02.05.01 18:15 An: [EMAIL PROTECTED] Kopie: [EMAIL PROTECTED] Thema: Re: Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumberingin TOC [EMAIL PROTECTED] wrote: I see, there was a missunderstanding: I want to avoid pagenumbering in the TOC, but afterwords at the normal text, I want to have pagenumbering. The problem is, that after avoiding the pagenumbering in the TOC, the pagenumbering at the normal text at even pages disapeared. \renewcommand\thepage{} \tableofcontents% insert it via insert-lists toc \renewcommand\thepage{\arabic{page}} I tried what you sent to me, deleted everything from my Latex-preamble, changed the doc-style from koma-book to book and back, but it didn´t work. I´ve got a pagenumber at the last page of the TOC and the only way to prevent this, was adding \addtocontents{toc} {\protect\fancyfoot{}} send the whole preamble Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
Andre Berger uzscd5@uni-bAn: [EMAIL PROTECTED] onn.de Kopie: Thema: Re: Prevent linebreaks and pagenumbering in TOC 26.04.01 10:12 Bitte antworten an Andre Berger * Andre Berger [EMAIL PROTECTED], 2001-04-25 22:31 +0200: * [EMAIL PROTECTED] [EMAIL PROTECTED], 2001-04-25 11:37 +0200: 1. The linebreaks within words at the TOC look ugly. How can I prevent these linebreaks in the TOC? I tried \mbox{ bla bla .bla} but then, there wasn´t any linebreak at all and the line in the TOC left the right margin. The section line looks quite OK in the normal text, so I don´t want to do a linebreak in the section line, causing the TOC-line to behave the same. The \samepage LaTeX command works, to be found for example in Kopka (1994: 1: ch. 3.5.5.5, p. 43 f.). I'm not at home and don't remember exactly how/where to use it. If anybody is interested I'll look it up this evening. Oh, sorry, I made a mistake. The code I had in mind is to prevent *page*breaks within TOC items. \chapter{\samepage YOUR LONG LONG TITLE} To answer your actual question, do not put whole lines into the \mbox-Command. Put each offending/not-to-break word into its own \mbox. Andre Berger[[EMAIL PROTECTED]] That doesn´t work too. After I inserted the word in the \mbox{BLALBABLA} there was no linebreak at all and the word is leaving the right margin. My second problem still persists, does anyone has an idea? 2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the TOC: \tableofcontents \addtocontents{toc}{\protect\thispagestyle{empty}} The problem is, that I´m using fancyheader, so I tried a \addtocontents{toc} {\protect\fancyfoot{}} This works fine for the TOC, but in the normal text, the pagenumbering at even pages disappeared. I personnaly use the fancyplain facility to change headers and footers for special pages (i.e. no printing of chaptermarks in the first page of a chapter. Yous shouls have look at the fancyhdr doc. I did this before, but I´m only able to avoid pagenumbering at the first page of the TOC. Though I did a \fancyfoot[LE]{\thepage} at the plain text after the TOC to reestablish the settings in the LATEX-preface, there this is already entered. This works, but I think, that´s not the way it should be handeled. It doesn´t work for Klyx either. Thanks in advance Andi
Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC
I´m sorry, but it didn´t work. There are still no pagenumbers at even pages. Attached you will find the beginning of my Lyx-file, maybe I missunderstood something wrong. \renewcommand\thepage{} \tableofcontents \addtocontents{toc} {\protect\fancyfoot{}} \renewcommand\thepage{\arabic{page}} The Latex-preamble looks like this: \usepackage{tocloft} % Set Margins \renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} \renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} \renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} \renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}} \renewcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}} \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \let\l@table\l@figure \makeatletter \usepackage{fancyhdr} \renewcommand{\chaptermark}[1]{% twoside and \markboth{% \ifnum \c@secnumdepth \m@ne \hfill\thechapter\quad \if @mainmatter \@chapapp\ \thechapter\quad \fi \fi #1% }{% \ifnum \c@secnumdepth \m@ne \if @mainmatter \@chapapp\ \thechapter\quad \fi \fi #1% }% }% \makeatother \renewcommand\sectionmark[1]{\markright{\thesection\ #1}} \renewcommand\headrulewidth{0pt} \renewcommand\footrulewidth{0pt} % positioning \usepackage{color} \definecolor{myColor}{rgb}{0.9,0.9,0.9} \fancyhead{}% delte the defaults \fancyhead[LE]{\colorbox{myColor}{\parbox{1\columnwidth}{\leftmark}}} % even pages! \fancyhead[RO]{\colorbox{myColor}{\parbox{1\columnwidth}{\rightmark}}} % odd pages! \fancyfoot{} % clear \fancyfoot[RE,LO]{\thepage} % right-even and left-odd \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} Andi Herbert Voss Gesendet von: voss 02.05.01 11:12 An: [EMAIL PROTECTED] Kopie: Andre Berger [EMAIL PROTECTED], [EMAIL PROTECTED] Thema: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC [EMAIL PROTECTED] wrote: This works fine for the TOC, but in the normal text, the pagenumbering at even pages disappeared. I personnaly use the fancyplain facility to change headers and footers for special pages (i.e. no printing of chaptermarks in the first page of a chapter. Yous shouls have look at the fancyhdr doc. I did this before, but I´m only able to avoid pagenumbering at the first page of the TOC. Though I did a \fancyfoot[LE]{\thepage} at the plain text after the TOC to reestablish the settings in the LATEX-preface, there this is already entered. This works, but I think, that´s not the way it should be handeled. It doesn´t work for Klyx either. try at the very first line in tex(red) \renewcommand\thepage{} behind the insert toc-command \renewcommand\thepage{\arabic{page}} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumberingin TOC
I see, there was a missunderstanding: I want to avoid pagenumbering in the TOC, but afterwords at the normal text, I want to have pagenumbering. The problem is, that after avoiding the pagenumbering in the TOC, the pagenumbering at the normal text at even pages disapeared. \renewcommand\thepage{} \tableofcontents% insert it via insert-lists toc \renewcommand\thepage{\arabic{page}} I tried what you sent to me, deleted everything from my Latex-preamble, changed the doc-style from koma-book to book and back, but it didn´t work. I´ve got a pagenumber at the last page of the TOC and the only way to prevent this, was adding \addtocontents{toc} {\protect\fancyfoot{}} But after some trial and error I found, that putting the \renewcommand\thepage{\arabic{page}} at the beginning of the normal text it worked. I see it very clearly, I´m to dummy for this. Thanks a lot for your help Andi Herbert Voss Gesendet von: voss 02.05.01 14:39 An: [EMAIL PROTECTED] Kopie: [EMAIL PROTECTED] Thema: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC [EMAIL PROTECTED] wrote: I´m sorry, but it didn´t work. There are still no pagenumbers at even pages. i'm a bit confused. do you want to have pagenumbers in the toc or not? if not: \renewcommand\thepage{} \tableofcontents% insert it via insert-lists toc \renewcommand\thepage{\arabic{page}} if yes with fancyhdr write in preamble \fancypagestyle{plain}{% \fancyhf{} \fancyfoot[C]{\bfseries \thepage} \renewcommand\headrulewidth{0pt} \renewcommand\footrulewidth{0pt} } The Latex-preamble looks like this: \usepackage{tocloft} % Set Margins \renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} \renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} \renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} \renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}} \renewcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}} \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} this is in german doppelt gemoppelt. use tocloft OR the equivilent latex commands. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks andpagenumberingin TOC
It´s completely empty. I think the whole problem was, that I put the \renewcommand\thepage{\arabic{page}} and all my other useless trials just behind the TOC instead of putting it at the beginning of the text. Though it affected the last page of the TOC instead of the first page of the normal text. That´s called learning by doing for newbies. Andi PS: Great homepage you have!!! Herbert Voss Gesendet von: voss 02.05.01 18:15 An: [EMAIL PROTECTED] Kopie: [EMAIL PROTECTED] Thema: Re: Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumberingin TOC [EMAIL PROTECTED] wrote: I see, there was a missunderstanding: I want to avoid pagenumbering in the TOC, but afterwords at the normal text, I want to have pagenumbering. The problem is, that after avoiding the pagenumbering in the TOC, the pagenumbering at the normal text at even pages disapeared. \renewcommand\thepage{} \tableofcontents% insert it via insert-lists toc \renewcommand\thepage{\arabic{page}} I tried what you sent to me, deleted everything from my Latex-preamble, changed the doc-style from koma-book to book and back, but it didn´t work. I´ve got a pagenumber at the last page of the TOC and the only way to prevent this, was adding \addtocontents{toc} {\protect\fancyfoot{}} send the whole preamble Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
Andre BergerKopie: Thema: Re: Prevent linebreaks and pagenumbering in TOC 26.04.01 10:12 Bitte antworten an Andre Berger * Andre Berger <[EMAIL PROTECTED]>, 2001-04-25 22:31 +0200: >> * [EMAIL PROTECTED] <[EMAIL PROTECTED]>, 2001-04-25 11:37 +0200: >> > 1. The linebreaks within words at the TOC look ugly. How can I prevent >> > these linebreaks in the TOC? >> > I tried >> > >> > \mbox{ bla bla .bla} >> > >> > but then, there wasn´t any linebreak at all and the line in the TOC left >> > the right margin. The section line looks >> > quite OK in the normal text, so I don´t want to do a linebreak in the >> > section line, causing the TOC-line to behave the same. >> >> The "\samepage" LaTeX command works, to be found for example in Kopka >> (1994: 1: ch. 3.5.5.5, p. 43 f.). >> >> I'm not at home and don't remember exactly how/where to use it. If >> anybody is interested I'll look it up this evening. >Oh, sorry, I made a mistake. The code I had in mind is to prevent >*page*breaks within TOC items. >\chapter{\samepage YOUR LONG LONG TITLE} >To answer your actual question, do not put whole lines into the >\mbox-Command. Put each offending/not-to-break word into its own \mbox. >Andre Berger[[EMAIL PROTECTED]] That doesn´t work too. After I inserted the word in the \mbox{BLALBABLA} there was no linebreak at all and the word is leaving the right margin. My second problem still persists, does anyone has an idea? >> >>2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the >>TOC: >> >> \tableofcontents >> \addtocontents{toc}{\protect\thispagestyle{empty}} >> >>The problem is, that I´m using fancyheader, so I tried a >> >> \addtocontents{toc} {\protect\fancyfoot{}} >> >>This works fine for the TOC, but in the normal text, the pagenumbering at >>even pages disappeared. >I personnaly use the fancyplain facility to change headers and footers >for special pages (i.e. no printing of chaptermarks in the first page >of a chapter. Yous shouls have look at the fancyhdr doc. I did this before, but I´m only able to avoid pagenumbering at the first page of the TOC. Though I did a \fancyfoot[LE]{\thepage} at the plain text after the TOC to reestablish the settings in the LATEX-preface, there this is already entered. This works, but I think, that´s not the way it should be handeled. It doesn´t work for Klyx either. Thanks in advance Andi
Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC
I´m sorry, but it didn´t work. There are still no pagenumbers at even pages. Attached you will find the beginning of my Lyx-file, maybe I missunderstood something wrong. \renewcommand\thepage{} \tableofcontents \addtocontents{toc} {\protect\fancyfoot{}} \renewcommand\thepage{\arabic{page}} The Latex-preamble looks like this: \usepackage{tocloft} % Set Margins \renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} \renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} \renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} \renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}} \renewcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}} \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} \let\l@table\l@figure \makeatletter \usepackage{fancyhdr} \renewcommand{\chaptermark}[1]{% twoside and \markboth{% \ifnum \c@secnumdepth >\m@ne \hfill\thechapter\quad \if @mainmatter \@chapapp\ \thechapter\quad \fi \fi #1% }{% \ifnum \c@secnumdepth >\m@ne \if @mainmatter \@chapapp\ \thechapter\quad \fi \fi #1% }% }% \makeatother \renewcommand\sectionmark[1]{\markright{\thesection\ #1}} \renewcommand\headrulewidth{0pt} \renewcommand\footrulewidth{0pt} % positioning \usepackage{color} \definecolor{myColor}{rgb}{0.9,0.9,0.9} \fancyhead{}% delte the defaults \fancyhead[LE]{\colorbox{myColor}{\parbox{1\columnwidth}{\leftmark}}} % even pages! \fancyhead[RO]{\colorbox{myColor}{\parbox{1\columnwidth}{\rightmark}}} % odd pages! \fancyfoot{} % clear \fancyfoot[RE,LO]{\thepage} % right-even and left-odd \newcommand{\clearemptydoublepage}{\newpage{\pagestyle{empty}\cleardoublepage}} Andi Herbert Voss Gesendet von: voss 02.05.01 11:12 An: [EMAIL PROTECTED] Kopie: Andre Berger <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Thema: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC [EMAIL PROTECTED] wrote: > >> > >>This works fine for the TOC, but in the normal text, the pagenumbering at > >>even pages disappeared. > > >I personnaly use the fancyplain facility to change headers and footers > >for special pages (i.e. no printing of chaptermarks in the first page > >of a chapter. Yous shouls have look at the fancyhdr doc. > > I did this before, but I´m only able to avoid pagenumbering at the first > page of the TOC. > Though I did a > > \fancyfoot[LE]{\thepage} > > at the plain text after the TOC to reestablish the settings in the > LATEX-preface, there this is already entered. This works, but I think, > that´s not the way it should be handeled. It doesn´t work for Klyx either. try at the very first line in tex(red) \renewcommand\thepage{} behind the insert toc-command \renewcommand\thepage{\arabic{page}} Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumberingin TOC
I see, there was a missunderstanding: I want to avoid pagenumbering in the TOC, but afterwords at the normal text, I want to have pagenumbering. The problem is, that after avoiding the pagenumbering in the TOC, the pagenumbering at the normal text at even pages disapeared. > \renewcommand\thepage{} > \tableofcontents% insert it via insert->lists & toc > \renewcommand\thepage{\arabic{page}} I tried what you sent to me, deleted everything from my Latex-preamble, changed the doc-style from koma-book to book and back, but it didn´t work. I´ve got a pagenumber at the last page of the TOC and the only way to prevent this, was adding \addtocontents{toc} {\protect\fancyfoot{}} But after some trial and error I found, that putting the \renewcommand\thepage{\arabic{page}} at the beginning of the normal text it worked. I see it very clearly, I´m to dummy for this. Thanks a lot for your help Andi Herbert Voss Gesendet von: voss 02.05.01 14:39 An: [EMAIL PROTECTED] Kopie: [EMAIL PROTECTED] Thema: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumbering in TOC [EMAIL PROTECTED] wrote: > > I´m sorry, but it didn´t work. There are still no pagenumbers at even > pages. i'm a bit confused. do you want to have pagenumbers in the toc or not? if not: > \renewcommand\thepage{} > \tableofcontents% insert it via insert->lists & toc > \renewcommand\thepage{\arabic{page}} if yes with fancyhdr write in preamble \fancypagestyle{plain}{% \fancyhf{} \fancyfoot[C]{\bfseries \thepage} \renewcommand\headrulewidth{0pt} \renewcommand\footrulewidth{0pt} } > > The Latex-preamble looks like this: > > \usepackage{tocloft} > % Set Margins > \renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.3em}} > \renewcommand*\l@subsection{\@dottedtocline{2}{3.8em}{3.2em}} > \renewcommand*\l@subsubsection{\@dottedtocline{3}{7.0em}{4.1em}} > \renewcommand*\l@paragraph{\@dottedtocline{4}{10em}{5em}} > \renewcommand*\l@subparagraph{\@dottedtocline{5}{12em}{6em}} > \renewcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}} this is in german doppelt gemoppelt. use tocloft OR the equivilent latex commands. Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks andpagenumberingin TOC
It´s completely empty. I think the whole problem was, that I put the" \renewcommand\thepage{\arabic{page}}" and all my other useless trials just behind the TOC instead of putting it at the beginning of the text. Though it affected the last page of the TOC instead of the first page of the normal text. That´s called learning by doing for newbies. Andi PS: Great homepage you have!!! Herbert Voss Gesendet von: voss 02.05.01 18:15 An: [EMAIL PROTECTED] Kopie: [EMAIL PROTECTED] Thema: Re: Antwort: Re: Antwort: Re: Antwort: Re: Prevent linebreaks and pagenumberingin TOC [EMAIL PROTECTED] wrote: > > I see, there was a missunderstanding: > I want to avoid pagenumbering in the TOC, but afterwords at the normal > text, I want to have pagenumbering. The problem is, that after avoiding > the pagenumbering in the TOC, the pagenumbering at the normal text at even > pages disapeared. > > > \renewcommand\thepage{} > > \tableofcontents% insert it via insert->lists & toc > > \renewcommand\thepage{\arabic{page}} > > I tried what you sent to me, deleted everything from my Latex-preamble, > changed the doc-style from koma-book to book and back, but it didn´t work. > I´ve got a pagenumber at the last page of the TOC and the only way to > prevent this, was adding > > \addtocontents{toc} {\protect\fancyfoot{}} send the whole preamble Herbert -- http://www.educat.hu-berlin.de/~voss/lyx/
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
Jean-Pierre.Chretie n An: [EMAIL PROTECTED], [EMAIL PROTECTED] Jean-Pierre.ChretieKopie: [EMAIL PROTECTED] Thema: Re: Prevent linebreaks and pagenumbering in TOC 25.04.01 10:18 Bitte antworten an Jean-Pierre.Chretie n I´m a Lyx-newbie and ran in two problems: 1. The linebreaks within words at the TOC look ugly. How can I prevent these linebreaks in the TOC? I tried \mbox{ bla bla .bla} but then, there wasn´t any linebreak at all and the line in the TOC left the right margin. The section line looks quite OK in the normal text, so I don´t want to do a linebreak in the section line, causing the TOC-line to behave the same. You will get in trouble as well with the runnib headers I guess. The optional text in sectioning instructions allows to get shorter test in both places. 2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the TOC: \tableofcontents \addtocontents{toc}{\protect\thispagestyle{empty}} The problem is, that I´m using fancyheader, so I tried a \addtocontents{toc} {\protect\fancyfoot{}} This works fine for the TOC, but in the normal text, the pagenumbering at even pages disappeared. Thanks in advance I personnaly use the fancyplain facility to change headers and footers for special pages (i.e. no printing of chaptermarks in the first page of a chapter. Yous shouls have look at the fancyhdr doc. I did this before, but I´m only able to avoid pagenumbering at the first page of the TOC. Though I did a \fancyfoot[LE]{\thepage} at the plain text after the TOC to reestablish the settings in the LATEX-preface, there this is already entered. This works, but I think, that´s not the way it should be handeled. Andi
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
Andre Berger uzscd5@uni-bAn: [EMAIL PROTECTED] onn.de Kopie: Thema: Re: Prevent linebreaks and pagenumbering in TOC 25.04.01 11:58 Bitte antworten an Andre Berger 1. The linebreaks within words at the TOC look ugly. How can I prevent these linebreaks in the TOC? I tried \mbox{ bla bla .bla} but then, there wasn´t any linebreak at all and the line in the TOC left the right margin. The section line looks quite OK in the normal text, so I don´t want to do a linebreak in the section line, causing the TOC-line to behave the same. The \samepage LaTeX command works, to be found for example in Kopka (1994: 1: ch. 3.5.5.5, p. 43 f.). I'm not at home and don't remember exactly how/where to use it. If anybody is interested I'll look it up this evening. Andre Berger[[EMAIL PROTECTED]] That would be great. Andi
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
Jean-Pierre.Chretie n An: [EMAIL PROTECTED], [EMAIL PROTECTED] Jean-Pierre.ChretieKopie: [EMAIL PROTECTED] Thema: Re: Prevent linebreaks and pagenumbering in TOC 25.04.01 10:18 Bitte antworten an Jean-Pierre.Chretie n I´m a Lyx-newbie and ran in two problems: 1. The linebreaks within words at the TOC look ugly. How can I prevent these linebreaks in the TOC? I tried \mbox{ bla bla .bla} but then, there wasn´t any linebreak at all and the line in the TOC left the right margin. The section line looks quite OK in the normal text, so I don´t want to do a linebreak in the section line, causing the TOC-line to behave the same. You will get in trouble as well with the runnib headers I guess. The optional text in sectioning instructions allows to get shorter test in both places. 2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the TOC: \tableofcontents \addtocontents{toc}{\protect\thispagestyle{empty}} The problem is, that I´m using fancyheader, so I tried a \addtocontents{toc} {\protect\fancyfoot{}} This works fine for the TOC, but in the normal text, the pagenumbering at even pages disappeared. Thanks in advance I personnaly use the fancyplain facility to change headers and footers for special pages (i.e. no printing of chaptermarks in the first page of a chapter. Yous shouls have look at the fancyhdr doc. I did this before, but I´m only able to avoid pagenumbering at the first page of the TOC. Though I did a \fancyfoot[LE]{\thepage} at the plain text after the TOC to reestablish the settings in the LATEX-preface, there this is already entered. This works, but I think, that´s not the way it should be handeled. Andi
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
Andre Berger uzscd5@uni-bAn: [EMAIL PROTECTED] onn.de Kopie: Thema: Re: Prevent linebreaks and pagenumbering in TOC 25.04.01 11:58 Bitte antworten an Andre Berger 1. The linebreaks within words at the TOC look ugly. How can I prevent these linebreaks in the TOC? I tried \mbox{ bla bla .bla} but then, there wasn´t any linebreak at all and the line in the TOC left the right margin. The section line looks quite OK in the normal text, so I don´t want to do a linebreak in the section line, causing the TOC-line to behave the same. The \samepage LaTeX command works, to be found for example in Kopka (1994: 1: ch. 3.5.5.5, p. 43 f.). I'm not at home and don't remember exactly how/where to use it. If anybody is interested I'll look it up this evening. Andre Berger[[EMAIL PROTECTED]] That would be great. Andi
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
"Jean-Pierre.Chretie n" An: [EMAIL PROTECTED], [EMAIL PROTECTED] Thema: Re: Prevent linebreaks and pagenumbering in TOC 25.04.01 10:18 Bitte antworten an "Jean-Pierre.Chretie n" >> >>I´m a Lyx-newbie and ran in two problems: >> >>1. The linebreaks within words at the TOC look ugly. How can I prevent >>these linebreaks in the TOC? >>I tried >> >> \mbox{ bla bla .bla} >> >>but then, there wasn´t any linebreak at all and the line in the TOC left >>the right margin. The section line looks >>quite OK in the normal text, so I don´t want to do a linebreak in the >>section line, causing the TOC-line to behave the same. >You will get in trouble as well with the runnib headers I guess. >The optional text in sectioning instructions allows to get >shorter test in both places. >> >>2. I tried Herbert Voss´ trick to prevent pagenumbering showing up in the >>TOC: >> >> \tableofcontents >> \addtocontents{toc}{\protect\thispagestyle{empty}} >> >>The problem is, that I´m using fancyheader, so I tried a >> >> \addtocontents{toc} {\protect\fancyfoot{}} >> >>This works fine for the TOC, but in the normal text, the pagenumbering at >>even pages disappeared. >> >>Thanks in advance >I personnaly use the fancyplain facility to change headers and footers >for special pages (i.e. no printing of chaptermarks in the first page >of a chapter. Yous shouls have look at the fancyhdr doc. I did this before, but I´m only able to avoid pagenumbering at the first page of the TOC. Though I did a \fancyfoot[LE]{\thepage} at the plain text after the TOC to reestablish the settings in the LATEX-preface, there this is already entered. This works, but I think, that´s not the way it should be handeled. Andi
Antwort: Re: Prevent linebreaks and pagenumbering in TOC
Andre BergerKopie: Thema: Re: Prevent linebreaks and pagenumbering in TOC 25.04.01 11:58 Bitte antworten an Andre Berger >> 1. The linebreaks within words at the TOC look ugly. How can I prevent >> these linebreaks in the TOC? >> I tried >> >> \mbox{ bla bla .bla} >> >> but then, there wasn´t any linebreak at all and the line in the TOC left >> the right margin. The section line looks >> quite OK in the normal text, so I don´t want to do a linebreak in the >> section line, causing the TOC-line to behave the same. >The "\samepage" LaTeX command works, to be found for example in Kopka >(1994: 1: ch. 3.5.5.5, p. 43 f.). >I'm not at home and don't remember exactly how/where to use it. If >anybody is interested I'll look it up this evening. >Andre Berger[[EMAIL PROTECTED]] That would be great. Andi