Many thanks all of you for the quick response. I was just not doing what john was telling. Now it works.
Cheers, Koundinya [EMAIL PROTECTED] said: -> 2 possible reasons: -> 1. You need to set pagestyle to fancy (in the Layout->Paper menu) 2. -> You may have LaTeX errors. Click on the error button(s) to get -> the actual error message. -> John O'Gorman [EMAIL PROTECTED] said: -> Be more specific about the errors and send a _short_ example lyx -> document illustrating the problem. -> Matej -> > preamble. For example I'm trying to add a \lhead{My name}, but -> > when I do a layout->preamble and add my preamble, then try to -> > view the PS of it, I get errors. -> -> I'm guessing you need to use the fancyhdr package.. in -> Layout->Document->Document select "fancy" for "Pagestyle" and then it -> should work.. if not, please post the latex error... -> -> nirmal -> ->