Thanks for this. Please now attach an example file, as simple as possible, that illustrates the problem.
Richard On 01/05/2016 01:33 PM, Sajjad wrote: > Hi, > > The rtthesis class that I am using providied by the university is > largely based on book class and here goes the content of the > corresponding .layout file: > > ///////////////////////////////////////////////////////////////////////////////////////////////// > #% Do not delete the line below; configure depends on this > # \DeclareLaTeXClass[rtthesis]{rtthesis} > > Format 49 > # Input general definitions > Input stdclass.inc > > > Input numreport.inc > > > Sides 2 > PageStyle Headings > > > > Style Bibliography > TopSep 4 > LabelString "Bibliography" > LabelFont > Series Bold > Size Huge > EndFont > End > > > > ///////////////////////////////////////////////////////////////////////////////////////////////// > > > I can access the layout from the LyX interface and I can generate the > pdf as well once I set some the class options through > Documents->Settings->Document Class->Class Options->Custom: > > "utf8,largesmallcaps,intlimits,widermath,sharecounter,nobreak,definition=marks,noparts,S5" > > > I tried to set the LaTex preamble to generate the front cover and this > where I am not able to generate it. It generates no error, it just > generate the same pdf output that I used to get without preamble: > > /////////////////////////////////////////////////// > > \setupThesis{ > > author={Sajjadul}, > > title={Fractal Scanning Path }, > > city=Dhaka, > > year=2016, > > type=msc, > > department=itn > > } > > > > > > ////////////////////////////////////////////////// > > > Please let me know if you need any more information to address this issue. > > > Thanks > > On Mon, Jan 4, 2016 at 11:56 PM, Richard Heck <rgh...@lyx.org > <mailto:rgh...@lyx.org>> wrote: > > On 01/04/2016 04:07 PM, Sajjad wrote: >> Hi Richard, >> >> I inserted the command(\setupThesis) just as you mentioned in >> your question. > > It'd definitely be best to post an example then, with the layout > file you made. > > Richard > > >> >> >> Thanks >> >> On Mon, Jan 4, 2016 at 3:45 PM, Richard Heck <rgh...@lyx.org >> <mailto:rgh...@lyx.org>> wrote: >> >> On 01/04/2016 12:59 AM, Sajjad wrote: >> > Hello Forum, >> > >> > I have managed to insert a custom .cls file into the LyX. >> It does >> > reflect some of the characteristics new customized class >> that came >> > along as a template from the University I am writing my >> thesis with. >> > >> > >> http://www.control.isy.liu.se/student/exjobb/liuthesis/liuthesis.html >> > >> > >> > I am trying to insert the title and some other parameter as >> LaTeX >> > preamble from the LyX interface as follows: >> > >> > \setupThesis{ >> > >> > author={Tom & Jerry}, >> > >> > title={Heeee Heeeeee Heeee}, >> > >> > type=msc, >> > >> > department=itn >> > >> > } >> > >> > >> > >> > If I compile, the author, title, and other parameters are >> not shown, >> > but rest of the chapters are shown with the format of the >> customized >> > class which is imported into LyX by .layout file. Any hint >> to make it >> > work ? >> > >> >> It's hard to answer this sort of question without an example >> file, so >> you could posting one. >> >> As for \setupThesis, did you insert this under Document> >> Settings> LaTeX >> Preamble? >> >> Richard >> >> > >