Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Hello, I'm writing my thesis with LyX 1.3.7 on WinXP. The class is book, the style is default. It's working very nice but now I have one question: Is there an easy way to get the page number top right without using style fancy? The problem is that on every start page of a chapter the page number

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
this. Richard Joachim Krieg wrote: Thanks for your fast support!! Your trick works very good. I have one more question: Now on every start page of a chapter the name of the chapter is shown top right too. Is there any possibility to show only the page number on this page? -- Joachim

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Richard Heck wrote: The idea was to put \let\chaptermark##1\empty or \def\chaptermark#1{}% in the preamble. If you just changed that line, then you redefined it only after the first chaptermark was created. Hence the behavior you are seeing. If I put \let\chaptermark##1\empty in the

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
I tried your idea. It works very good too. First I changed the book.cls like Richard told it. Then I changed the style to fancy and wrote your commands in the preamble. I get the page numbers on all pages, on the first page of the chapter too. How can I add the name of the chapter or subchapter

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Kamran SHAFQAT wrote: Hi well i am assuming that you want the name of chapter and section/subsection on each page for that try adding these commands to preamble \renewcommand{\chaptermark}[1]{\markboth{{\thechapter.\ #1}}{}} \renewcommand{\sectionmark}[1]{\markright{{\thesection.\ #1}}}

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Charles de Miramon wrote: c. Can I change this? Yes, thanks for the hint. You sound like a user who knows fancy. This is a little bit OT for this thread but maybe you can give me a hint. How can I make a line under the header to visual separate him from the text?

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Kamran SHAFQAT wrote: Hi, that works! But I haven't on the first page of a chapter only the chapter name, there is nothing (in the header. But that's okay for me. Now I have one more problem. The page after my toc is a chapter* without a number. The header of this page shows the name of my toc.

Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Hello, I'm writing my thesis with LyX 1.3.7 on WinXP. The class is book, the style is default. It's working very nice but now I have one question: Is there an easy way to get the page number top right without using style fancy? The problem is that on every start page of a chapter the page number

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
this. Richard Joachim Krieg wrote: Thanks for your fast support!! Your trick works very good. I have one more question: Now on every start page of a chapter the name of the chapter is shown top right too. Is there any possibility to show only the page number on this page? -- Joachim

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Richard Heck wrote: The idea was to put \let\chaptermark##1\empty or \def\chaptermark#1{}% in the preamble. If you just changed that line, then you redefined it only after the first chaptermark was created. Hence the behavior you are seeing. If I put \let\chaptermark##1\empty in the

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
I tried your idea. It works very good too. First I changed the book.cls like Richard told it. Then I changed the style to fancy and wrote your commands in the preamble. I get the page numbers on all pages, on the first page of the chapter too. How can I add the name of the chapter or subchapter

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Kamran SHAFQAT wrote: Hi well i am assuming that you want the name of chapter and section/subsection on each page for that try adding these commands to preamble \renewcommand{\chaptermark}[1]{\markboth{{\thechapter.\ #1}}{}} \renewcommand{\sectionmark}[1]{\markright{{\thesection.\ #1}}}

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Charles de Miramon wrote: c. Can I change this? Yes, thanks for the hint. You sound like a user who knows fancy. This is a little bit OT for this thread but maybe you can give me a hint. How can I make a line under the header to visual separate him from the text?

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Kamran SHAFQAT wrote: Hi, that works! But I haven't on the first page of a chapter only the chapter name, there is nothing (in the header. But that's okay for me. Now I have one more problem. The page after my toc is a chapter* without a number. The header of this page shows the name of my toc.

Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Hello, I'm writing my thesis with LyX 1.3.7 on WinXP. The class is "book", the style is "default". It's working very nice but now I have one question: Is there an easy way to get the page number top right without using style "fancy"? The problem is that on every start page of a chapter the page

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
{}% > Perhaps someone else here knows how to do this. > Richard > Joachim Krieg wrote: >> Thanks for your fast support!! Your trick works very good. >> I have one more question: Now on every start page of a chapter the >> name of the chapter is shown top right too. I

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Richard Heck wrote: > The idea was to put >> \let\chaptermark##1\empty > or >> \def\chaptermark#1{}% > in the preamble. If you just changed that line, then you redefined it > only after the first "chaptermark" was created. Hence the behavior you > are seeing. If I put

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
I tried your idea. It works very good too. First I changed the book.cls like Richard told it. Then I changed the style to fancy and wrote your commands in the preamble. I get the page numbers on all pages, on the first page of the chapter too. How can I add the name of the chapter or subchapter

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Kamran SHAFQAT wrote: > Hi > well i am assuming that you want the name of chapter and > section/subsection on each page for that try adding these commands to > preamble > \renewcommand{\chaptermark}[1]{\markboth{{\thechapter.\ #1}}{}} > \renewcommand{\sectionmark}[1]{\markright{{\thesection.\

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Charles de Miramon wrote: > c. Can I change this? Yes, thanks for the hint. >> >> >> You sound like a user who knows fancy. This is a little bit OT for >> this thread but maybe you can give me a hint. How can I make a line >> under the header to visual separate him from the text? >> >

Re: Easy way to get the page number top right

2006-04-05 Thread Joachim Krieg
Kamran SHAFQAT wrote: >>Hi, >>that works! But I haven't on the first page of a chapter only the >>chapter name, there is nothing (in the header. But that's okay for me. >>Now I have one more problem. The page after my toc is a chapter* >>without a number. The header of this page shows the name of

Re: Lyx on a USB-Stick?

2005-04-25 Thread Joachim Krieg
Thank you very much for all your help and sorry for my late reply. In my university there are no computers with CD-Drives so I can't use a CD-ROM. I will try to install lyx on an USB-Stick together with the other programs. I hope it works ;-) Thank you once more for your help!!

Re: Lyx on a USB-Stick?

2005-04-25 Thread Joachim Krieg
Thank you very much for all your help and sorry for my late reply. In my university there are no computers with CD-Drives so I can't use a CD-ROM. I will try to install lyx on an USB-Stick together with the other programs. I hope it works ;-) Thank you once more for your help!!

Re: Lyx on a USB-Stick?

2005-04-25 Thread Joachim Krieg
Thank you very much for all your help and sorry for my late reply. In my university there are no computers with CD-Drives so I can't use a CD-ROM. I will try to install lyx on an USB-Stick together with the other programs. I hope it works ;-) Thank you once more for your help!!

Lyx on a USB-Stick?

2005-04-21 Thread Joachim Krieg
Hello, I'm a real lyx newbie but I very impressed about the possibilities to work with lyx. Now I have one question. Is there any possibility to run lyx on an USB-Stick? I always work on different computers (university...) and I will take lyx with me ;-) The computers running with Windows XP.

Lyx on a USB-Stick?

2005-04-21 Thread Joachim Krieg
Hello, I'm a real lyx newbie but I very impressed about the possibilities to work with lyx. Now I have one question. Is there any possibility to run lyx on an USB-Stick? I always work on different computers (university...) and I will take lyx with me ;-) The computers running with Windows XP.

Lyx on a USB-Stick?

2005-04-21 Thread Joachim Krieg
Hello, I'm a real lyx newbie but I very impressed about the possibilities to work with lyx. Now I have one question. Is there any possibility to run lyx on an USB-Stick? I always work on different computers (university...) and I will take lyx with me ;-) The computers running with Windows XP.