Re: PDF error converting to loadable format
On 22/03/2010 15:52, Richard Brown wrote: External Files> PDF and select my pdf. I add the pages options for all of the pages (there are 2). Lyx burbles a little, and then spits the error message at me: error converting to loadable format. The file was prepared by a friend on Windows from a Sibelius music notation file. If I examine the pdf file properties I see the following: Format PDF-1.4 Producer GPL Ghostscript 8.70 Creator PDFCreator Version 0.9.9 What might be going wrong? I'm using Komascript Book under lyx 1.6.4 on ubuntu 9.04. Try putting the pdf file in the temp. folder of your lyx file. Long time ago I found from the mailing list that lyx doesn't copy the pdf file into the temp. directory automatically therefore you get an error. I don't know if there was some other fix to this but I just copy the pdf file that I want to attach manually in the temp. folder and this works. Regards, Kamran
Re: Split table?
On 25/02/2010 18:48, Manoj Rajagopalan wrote: Hi lyx users, Is it possible to split a table and/or equation array from above or below the current cell? thanks, Manoj Hi, One way to do this is to use long table option. You can see the examples in user guid section 4.5.2 and also in embedded object document in section 2.6. Hope this helps. Regards, Kamran
problem_with_hypcap_and_figure_environment
Hi, I using lyx1.6.5 with miktex 2.7. I have redefine the figure environment so that all the figure are automatically centred on the page using the following code \renewenvironment{figure}[1][\...@figure]{% \ed...@tempa{\noexpand\@float{figure}[#1]} % \...@tempa\centering% }{% \...@float } while this works fine but I am having problem with hycap now because of the redefinition. I can't use hypcap after these statements it gives error TeX capacity exceeded, sorry [input stack size=5000]. and when hypcap is used before the environment definition than it doesn't work. The figure links just show the figure caption not the figure as it suppose to do. any idea how this could be solved. Thanks for the help. Regards, Kamran
child_master_document_formatting
Hi, I am having some problem with formatting my thesis. I am using Lyx1.6.4 with Miktex 2.7 on Xp machine. I am writing each chapter in a separate file and then including them in a master file. Sometimes a used \enlargethispage or \vspace commands to fill the page properly because extra space is left at the bottom of the page or by reduing the space between the float and text a bit I can get a better distributed page. I get each chapter formatted properly and when I include just that chapter in the master file it works fine I get the desired results but when I add more than one chapter than in some cases the changes that I have made doesn't seems to work. For example, I have attached two images the difference is the extra line at the bottom of the page in the correct_output file. This is who I wanted to get the page so I have used \vspace command to move the text up (\enlagethispage did work that well in this case). The master file and everything else is same except that I get the desired result when I am not including the other chapters as child document in the master file. This happens with the float placement as well, after manual adjustment I get the float in the desired position when only that chapter is included in the master file but when I add more chapters in the master file then the float position changes. I have kept the margins and float placement as default in the every child document and only define the margin in the master file and the float options in the master are top, bottom or pages of float. So any suggestion why the formatting is changing when more than one child document is getting added to the master file. Thanks for the help Regards, Kamran <><>
child_master_document_formatting
Hi, I am having some problem with formatting my thesis. I am using Lyx1.6.4 with Miktex 2.7 on Xp machine. I am writing each chapter in a separate file and then including them in a master file. Sometimes a used \enlargethispage or \vspace commands to fill the page properly because extra space is left at the bottom of the page or by reduing the space between the float and text a bit I can get a better distributed page. I get each chapter formatted properly and when I include just that chapter in the master file it works fine I get the desired results but when I add more than one chapter than in some cases the changes that I have made doesn’t seems to work. For example, I have attached two images the difference is the extra line at the bottom of the page in the correct_output file. This is who I wanted to get the page so I have used \vspace command to move the text up (\enlagethispage did work that well in this case). The master file and everything else is same except that I get the desired result when I am not including the other chapters as child document in the master file. This happens with the float placement as well, after manual adjustment I get the float in the desired position when only that chapter is included in the master file but when I add more chapters in the master file then the float position changes. I have kept the margins and float placement as default in the every child document and only define the margin in the master file and the float options in the master are top, bottom or pages of float. So any suggestion why the formatting is changing when more than one child document is getting added to the master file. Thanks for the help Regards, Kamran <><>
Re: using_elyxer_with_lyx1.6.3
Murat Yildizoglu wrote: Dear Kamran, Have you put "C:\Program Files\elyxer" also in the LyX path? I do not know why but my system has worked only with reconfigure after that step. Murat 2009/6/28 Kamran SHAFQAT <mailto:k.shaf...@city.ac.uk>> "C:\Program Files\elyxer" -- Prof. Murat Yildizoglu Université Paul Cézanne (Aix-Marseille 3) GREQAM (UMR CNRS 6579) Centre de la Vieille Charité 2, rue de la Charité 13236 Marseille cedex 02 Bureau 320 Tel : +33 4 91 14 07 27 (standard) Tel : +33 4 91 14 07 70 (secrétariat) Tel : +33 4 91 14 07 47 (bureau) Fax : +33 4 91 90 02 27 e-mail: murat.yildizo...@univ-cezanne.fr <mailto:murat.yildizo...@univ-cezanne.fr> www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html http://www.twitter.com/yildizoglu __ Hi, Thanks for the advise I put "C:\Program Files\elyxer" in the path as well. The latex to html converter with "lyx" "html" "python $$s/scripts/elyxer.py $$i $$o" "" didn't work and gave me error but lyx to html convert with python $$s/scripts/elyxer.py $$i $$o is working ok. So the problem is solved. I am not sure if it is suppose to work with latex to html converter int he first place. The problem in my case seems to be coming from "lyx "html" part. Anyway i am getting the html properly now need to spend time to understand this better. Thanks again for the help and elyer. I hope this will same me some time in converting my documents into word so that my advisor can read and comment. So far i have not been able to convince him to use Lyx or even use PDF for correction :(. Kamran
using_elyxer_with_lyx1.6.3
Hi, I have installed lyx with the following installer LyX-163-4-19-AltInstaller-Complete and have elyxer 0.27. i couldn't find 0.29 version which was mentioned in one of the previous email. I am using windows XP ( home addition) I have place elyxer in "C:\Program Files\elyxer" >From the previous discussion as i understood the "elyxer.py" file needs to be copied in the script folder of lyx so i put a copy of this file in "C:\Program Files\LyX 1.6.3\Resources\scripts" and added the above in the lyx path as well . In the converter option i have define the latex to html converter with "lyx" "html" "python $$s/scripts/elyxer.py $$i $$o" "" I have also reconfigured lyx twice but it gives me error saying something like "lyx" "html" "python "C:\Program Files\LyX 1.6.3/b. Elyer is working fine from the command line. I hope that someone could help with this thanks. Kamran
Re: Manage Table of Contest, list of figures, list tables etc
Adrian Diaz wrote: Friend of Lyx i have lix 1.6.2 and I would like to manage others Styles of : Table of Contest. list of figures. list tables etc. besides i would like to have the control of font, size etc. Could you tell me how i can set others styles? Regards Adrián Regards Adrían I think the tocloft package will allow you to do that have a look at its documentation http://www.ctan.org/tex-archive/macros/latex/contrib/tocloft/tocloft.pdf regards, Kamran
Re: two columns abbreviation help please
Uwe Stöhr wrote: Kamran SHAFQAT schrieb: I am trying to write my thesis I am having problem with putting a list of abbreviation in two columns properly... > I have attached the pdf file of how the output look right now When you send a _small_ LyX example file, can have a look. regards Uwe Hi, i have attach the file which i am using as my msater file and including chapter as child documents. The result is same as this file. i hope that is works Regards, Kamran test_abb.lyx Description: application/lyx
two columns abbreviation help please
Hi, I am trying to write my thesis I am having problem with putting a list of abbreviation in two columns properly. I am using fncychap package and which I think is causing the problem instead of filling the first column properly the entries goes in the second column and even above the heading. I tried to the used some of the option of multicol package but wasn't able to fix this. If I don’t use two columns than the situation is fine. The code that I have used is below and I am using koma script report \begin{multicols}{2} \printnomenclature[2mm] \end{multicols} I have attached the pdf file of how the output look right now Thanks for the help 11.pdf Description: Adobe PDF document
Re: How to create Table of Contents from separate files?
Hesham Kamel wrote: Hi, I am a new Latex user and I have started to write my thesis using LyX. I have each chapter in a separate folder. Please, I want to know how do make LyX generate lists like: *the bibliography, lists of figures and tables*, *and table of contents*from these separate files and make them appear also in separate files in the order they appeared within chapters? Thank you If i undestand correctly you want to have your You need to have a master file in which you can include TOC,LOF,LOT from the inster menus then go to the insert menu file option and select the child document this will open a new windo from where u can choose you chapter file. Keep all your settings (page setting and preamble) in the master file so you dont have to these for each chapter. As for the bibliography you can also include that in the master document and from the insert menu and use your references in the chapter were you want them they should appear properly when you output the master file. regards, kamran
Re: Refernces
Hesham Kamel wrote: Hello, I am writing my thesis now, and just knew about LATEX. I downloaded LyX, and started to work with, however I have a concern. In MS Word, I am using a citation manager, Refworks to insert citations, and at the end it produces a bibliography numbered list, while in the main document itself, it generates references to the list according to the selected style. e.g. a full frontal impact can extend for more than half a day even with current computational capabilities [1]. and 1. REFERENCES [1] Natori, S., and Yu, Q., 2007, "2007-01-0882 an Application of CAP (Computer-Aided Principle) to Structural Design for Vehicle Crash Safety," SAE SP, (2072) pp. 73-80. so, can I get the same using LyX? Do I need any additional software? Thank you, Hi, As far as i know you have to get a bib file for your references and than you can insert them in Lyx using any style. The citation manager that you are using probably will generate the bib file i think. But you can have a look at Lyx wiki page were thay have information about software that you can use and other details regarding references. http://wiki.lyx.org/BibTeX/BibTeX I am using Jabref a free references manager which is quite good you can get it from http://jabref.sourceforge.net/ Regards Kamran
TOF_formatting
Hi, I have a little bit of a problem with formatting my table of contents. I have use the following latex code to get the table of content as shown in the attached figure. \contentsline {chapter}{{\textbf{\textit{\Large{Chapter\hspace{0.2cm}% \numberline{\itshape{\bfseries{\Large{2}}}\\}{\hspace{-3.2cm}\protect\rule[-.3cm]{15.65cm}{0.08cm}\hfill% \hspace{-3.2cm}Tachogram resampling, Ectopic beat correction and Detrending}}{\bf{6}}{chapter.2} \contentsline {section}{\numberline {2.1}Introduction}{6}{section.2.1} basically i have just made some changes in the line related to the chapters. I would like to move the chapter heading "Tachogram resampling ." a bit to the left. I tried to use \hspace command but it didn't work i might be putting it in the wrong place or something i don't know. If someone can help me with this i would really appreciate. Thanks Regards, Kamran toc.pdf Description: Adobe PDF document
Re: final feedback
Bob Lounsbury wrote: On Thu, Mar 20, 2008 at 4:00 PM, William B. King <[EMAIL PROTECTED]> wrote: After struggling with LyX for two days, I can't even get it to print out its own documentation, which was prepared in LyX! How much more retarded could it possibly get? Good idea. Let me know when you get it working. Posts like this are very unwarranted and extremely rude! You're blaming LyX for something that is out of it's control! If you don't like the program then don't use it, but don't bother the list with this nonsense. This list helped me create my thesis and I'll be forever thankful and try to provide 'open' individuals with help whenever I know the answer. Is it possible to block people from the list? I wish it were. Bob Hi, It’s been a long time since I wrote here because I ma very busy with my thesis. I try my best to answer things that I know. I never worked with latex before when I started with Lyx and I am glade not only because the program is quite good but also because of the help I got from this mailing list (SO THANKS TO ALL THE PEOPLE INVOVLVED IN THE PROJECT). The people here are way too kind than on other discussion forums and they do try to help every one even with questions which arises simply because the person has not look at the manual properly. As someone suggested there should be a way to block people from the list that is the only solution I think. By the way do you work for Microsoft by any chance? Kamran
Re: Cannot import LaTeX file to Lyx
Andreas K. wrote: Andreas K. <[EMAIL PROTECTED]> writes: sutovsky <[EMAIL PROTECTED]> writes: Lyx creates pdf file without problem from file below. File exported LaTeX file compiles fine in latex. But, when I try to import it back I get error: An error occurred whilst running tex2lyx -f "ecai 08_pokus for import New.tex"ecai Could it be problem with layout file? Any suggestions how to fix this? Thank you Peter Sutovsky I have the same problem with LyX 1.5.3 on Windows XP, see this bug report: http://bugzilla.lyx.org/show_bug.cgi?id=4503 I understand that you are also using LyX 1.5.3. Is it on Windows XP too? Andreas Peter Sutovsky said in a privat mail that he uses Lyx 1.5.3 under Windows XP. Peter, I also got a privat mail from another user with the same problem. Do you have full administrator rights on you computer? I have not, only some power user rights, and suspects that it maybe may be a reason to my problems. Andreas I have administrator rights. This feature use to work for me in Lyx 1.4.x but in 1.5.x it did't work at all as far as i remember. I am going to post bugzilla as u said. thanks Shafqat k
Re: IEEE class margin problem
Manveru wrote: 2007/8/1, Kamran Shafqat <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>: Hi, I am writing a conference paper using IEEE class available in Lyx. I have tried both Lyx 1.5.0 release candidate 2 and Lyx 1.4.4 on XP system. The problem with the generated pdf file is that the next goes slightly outside the allocated area on all four sides. I tried using both the letter and the letter (lettersize) option in Miktex 2.6 paper format and also Us letter as paper size in Lyx option and reconfigure Lyx every time when i have changed the options but the problem is still there. When i used word for the same work and print the paper in a file and generate the pdf using Gostview I don't have this problem. Can someone please let me know where i am going wrong with Lyx or Miktex setup while generating the Pdf. Regards, Kamran Please look at TeX messages log, if you have overhaul hbox messages the problem is with fitting the text in columns. Are you using hypenation? -- Manveru jabber: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> gg: 1624001 http://www.manveru.pl Hi, I tried to have a look at the log file i haven't work with Latex much so i am not sure actually what's going on ( I am trying to learn latex as i go along). As far as i see there is no massage about overhaul hbox massage there is only one place where the warning is Underfull \hbox (badness 1) in paragraph at lines 117--134 Which as i know should mean that Latex has to put extra space between the words. the only other incidance of hbox is the command \scratchbox=\box29 in th elog file. I have attached the log file just in case if it makes more sense. As for hyphenation i am not explicitly defining it but it is done automatically. So word are getting split with "-" between the two parts. I tried to use the hyphenat package by putting \usepackage{hyphenate} just to see if it does stop hyphenation but for some reason that doesn't do anything. I will check that again but as far as i thing in th paper hyphenation should be enable otherwise there could be the change that words might go out of the margin. I hope that this is right. Thanks for the reply. Any other suggestion i am really stuck with this Regards, Kamran This is pdfTeX, Version 3.141592-1.40.3 (MiKTeX 2.6) (preloaded format=pdflatex 2007.7.31) 1 AUG 2007 21:49 entering extended mode **Detrending_paper.tex (Detrending_paper.tex LaTeX2e <2005/12/01> Babel and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, french, loaded. ("C:\Program Files\MiKTeX 2.6\tex\latex\IEEEtran\IEEEtran.cls" Document Class: IEEEtran 2007/03/05 V1.7a by Michael Shell -- See the "IEEEtran_HOWTO" manual for usage information. -- http://www.michaelshell.org/tex/ieeetran/ [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] LaTeX Font Info:Try loading font information for OT1+ptm on input line 366. ("C:\Program Files\MiKTeX 2.6\tex\latex\psnfss\ot1ptm.fd" File: ot1ptm.fd 2001/06/04 font definitions for OT1/ptm. ) -- Using 8.5in x 11in (letter) paper. -- Using PDF output. [EMAIL PROTECTED] -- This is a 10 point document. \CLASSINFOnormalsizebaselineskip=\dimen105 \CLASSINFOnormalsizeunitybaselineskip=\dimen106 \IEEEnormaljot=\dimen107 LaTeX Font Info:Font shape `OT1/ptm/bx/n' in size <5> not available (Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. LaTeX Font Info:Font shape `OT1/ptm/bx/it' in size <5> not available (Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. LaTeX Font Info:Font shape `OT1/ptm/bx/n' in size <7> not available (Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. LaTeX Font Info:Font shape `OT1/ptm/bx/it' in size <7> not available (Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. LaTeX Font Info:Font shape `OT1/ptm/bx/n' in size <8> not available (Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. LaTeX Font Info:Font shape `OT1/ptm/bx/it' in size <8> not available (Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. LaTeX Font Info:Font shape `OT1/ptm/bx/n' in size <9> not available (Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. LaTeX Font Info:Font shape `OT1/ptm/bx/it' in size <9> not available (Font) Font shape `OT1/ptm/b/it' tried instead on input line 724. LaTeX Font Info:Font shape `OT1/ptm/bx/n' in size <10> not available (Font) Font shape `OT1/ptm/b/n' tried instead on input line 724. LaTeX Font Info:Font sha
IEEE class margin problem
Hi, I am writing a conference paper using IEEE class available in Lyx. I have tried both Lyx 1.5.0 release candidate 2 and Lyx 1.4.4 on XP system. The problem with the generated pdf file is that the next goes slightly outside the allocated area on all four sides. I tried using both the letter and the letter (lettersize) option in Miktex 2.6 paper format and also Us letter as paper size in Lyx option and reconfigure Lyx every time when i have changed the options but the problem is still there. When i used word for the same work and print the paper in a file and generate the pdf using Gostview I don't have this problem. Can someone please let me know where i am going wrong with Lyx or Miktex setup while generating the Pdf. Regards, Kamran
toc formating
Hi, I am trying to write my thesis using lyx (koma-script report class). But i would like to format the toc, lof and lot to have something like the table in attachment. I tried to make use of tocloft and just having a look at titlesec/titletoc package but i am not sure if this is the best solution available. The following commands are mentioned in the manual of tocloft to add a horizontal line across the whole width of the ToC below an entry for a Part \part{Part title} \addtocontents{toc}{\protect\mbox{}\protect\hrulefill\par} i tired to put this in the preamble with Part tile replaced by title of first chapter of my document but i got error saying [EMAIL PROTECTED] already define ... can someone please have a look at the attachment and provide me some hint or the package that could be used for this. formating thanks for all the help regards, Kamran pg4.pdf Description: Adobe PDF document
hyperref use
Hi, i am trying to use hyperref in a report class document. i would like to have a list in the bookmark section of pdf file showing the table of contents and have links so that the reader can move from the reference in the text to biblogrphy section and back. i don't know much about it but by reading the manual i tried to add the following command in the preamble for this \hypersetup{backref=true, bookmarksopen=true,bookmarks=true,bookmarkstype=toc,citebordercolor=1 1 1, =1 1 1,pagebordercolor=1 1 1} In the Pdf file the links are created in the table of contents and also for the references in the text. But the problem is that all the links have boxes around them. i tired citebordercolor option as above and also linkbordercolor=1 1 1 and colorlinks=false option but the it has no effect on the ouput. Also the bookmarks it not created. i would be very thankful to receive some help on this issue. regards Kamran
Re: user defined headers
Bruce Muirhead wrote: hi I need to define my own headers for a few documents (very small documents!), but have been unable to work out how to do this. I know I need to use fancyhdr, which is as simple as choosing myheadings in document settings, but I have to admit that I have no idea of show to actually tell lyx what I want in the header! Unfortunately, I am relatively tex/latex ignorant, so a lot of the apparently relevant documentation is uninformative for me. In these instances I need to have my name and address in the top left hand corner. (I can kludge this, I know, for one page documents, but works of more than one page would be very difficult to do.) In other instances I need to have my name in the top left hand corner, the page number centred, and the title of the document in the right hand corner. Is there some easy way to achieve these two results? thanks in advance Bruce Hi, well if you need more information about how to use fancyhrd than have a look at its documentation. I have started using fancyhrd just couple of weeks ago and the documentation really help. You can get it from http://www.ctan.org/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf As far as you question goes chage the style of the doucment to fancy than add the foolowing \usepackage{fancyhdr} \pagestyle{fancy} \lhead{type you name and adress here as you want it to appear} \chead{\thepage} % this will give you the page number in the center \rhead{Type the title of ther document here} \lfoot{} \cfoot{} \rfoot{} \renewcommand{\headrulewidth}{0.4pt} % these two commands will produce line in the footer and header if you dont want it than just put zeros instead of 0.4 \renewcommand{\footrulewidth}{0.4pt} regards, kamran
Re: Changing enumerate style
Stacia Hartleben wrote: This is a real newbie question, but I couldn't seem to find it anywhere. How do I change enumerate so that for one part of the document it displays something like a, b, c...instead of 1,2,3? Hi, You can change the numbering in enumerate environement by adding commands in the peramble like \renewcommand{\labelenumi}{\alph{enumi}} \renewcommand{\labelenumii}{\roman{enumii}} this will give a,b,c for the first level in enumerate environement and i,ii,iii in the second level. similarly \renewcommand{\labelenumi}{\#\Alph{enumi}\#} \renewcommand{\labelenumii}{\Alph{enumi}.\arabic{enumii}} will produce A,B,C.. in first and A.i,A.ii,A.iii in the second level if its nested after A or Bi,Bii,B.iii if its after B you can read more about this in the Extended feature document in the lyx in section 7.4 regards kamran
Re: Easy way to get the page number top right
Joachim Krieg wrote: 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 to the header? Thanks for your help too! -- Joachim Kamran SHAFQAT wrote: Hi, I think it could be done by changing the page style to fancy and adding the following commands in the peramble \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \rhead{\thepage} \lhead{} \rfoot{} \lfoot{} \cfoot{} But this will not give you the page number on the first page of the chapter. To add the page number on the first page you have to put command \thispagestyle{fancy} using ERT at the start of the first line of the page. regards, Kamran 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}}} than \lhead{\rightmark} and \cfoot{\leftmark} will produce the chapter name and section/subsection on left side of header and cneter of footer respectively. But on the first page of the chapter only the chapter name will apper. regards, kamran
Re: Easy way to get the page number top right
Joachim Krieg wrote: 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 is in the footer. I searched for a solution in the mailinglist, on the LyX wiki and in one LaTeX book but there are only hints for using fancy. Are there other possibilities? Thanks for your help and sorry for my bad English -- Joachim Hi, I think it could be done by changing the page style to fancy and adding the following commands in the peramble \pagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \rhead{\thepage} \lhead{} \rfoot{} \lfoot{} \cfoot{} But this will not give you the page number on the first page of the chapter. To add the page number on the first page you have to put command \thispagestyle{fancy} using ERT at the start of the first line of the page. regards, Kamran
probelm with header and footer
Hi, i am trying to put the subsection or section number and the names of section/subsection in the header. i used the following commands in the preamble \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\subsectionmark}[1]{\markright{\thesubsection.\ #1}} \fancyhead[L]{\nouppercase \rightmark} It works on other pages except the first page that have chapter heading. I can put the chapter number and chapter name in the header on this page by adding \renewcommand{\chaptermark}[1]{\markright{\thechapter.\ #1}} command in the preamble. but i would like to have the section number and section heading on this page as well like the ohter pages ruther than chapter information. Can someone please let me know how it could be done thanks