It is from the rtthesis example file, found here 
http://www.control.isy.liu.se/student/exjobb/liuthesis/liuthesis.html

More specifically,
http://www.control.isy.liu.se/student/exjobb/liuthesis/rtthesisex-exjobb.zip

Within that zip file is a file called “main.pdf” and there is an appendix B. On 
page 13 they talk about the setupThesis command. They give examples of 
key=value pairs in Table B.2 (page 14)

For example, within the preamble you could set the following,
\setupThesis{author = {My name}, title = {My nice thesis}, city = {Important 
city}, year = 2015, type = phd}

The preamble can be found in Document -> Settings -> Latex Preamble

There are many more options that you can decide on further into the document. 
From a quick glance, I believe that most of them should be used in the 
preamble as they are global settings.
-- 
Respectfully,

Robert Susmilch
===============
The "gobbledygook" in this email is due to this email having been "signed" 
with PGP for security.

On Saturday, November 28, 2015 10:54:28 PM Sajjad wrote:
> Thanks
> 
> In one of the previous posts the following LaTeX command :
> 
> 
> \setupThesis{key1=value1,key2=value2}
> 
> 
> I did not find it anywhere in the LaTeX book I am using. Is it
> something advanced that you can use custom command ?
> 
> On Sat, Nov 28, 2015 at 7:02 PM, Sajjad <dosto.wa...@gmail.com> wrote:
> > Thanks !
> > 
> > It worked out eventually. Now I still have many options to enter and you
> > suggested to preamble . Is there any reference to it where I can started
> > with ?
> > 
> > On Sat, Nov 28, 2015 at 1:44 AM, Sajjad <dosto.wa...@gmail.com> wrote:
> >> Thanks for the hint!
> >> 
> >> I tried but the issue prevails.  I am still getting the same error while
> >> trying for a pdf preview.
> >> 
> >> The .cls file came along with the a pdf file that narrates how to use it
> >> and all the references are make to the LaTeX commands/notation which I am
> >> not aware of. At the beginning of the document it, indeed mentions that
> >> 
> >> "You must decide on an input encoding from start, and select the
> >> corresponding
> >> class option from tabell B.12 on sida 30. You must also tell rtthesis
> >> whether you
> >> intend to use part sectioning or not, see tabell B.1. There are many more
> >> class op-
> >> tions, but they will be mentioned below where there is room for a more
> >> detailed
> >> discussion for the corresponding features."
> >> 
> >> How is it possible to insert all the options that are mentioned in the
> >> documentation through LyX instead of LaTeX ?
> >> 
> >> 
> >> Thanks
> >> Sajjadul
> >> 
> >> On Fri, Nov 27, 2015 at 10:34 PM, Sajjad <dosto.wa...@gmail.com> wrote:
> >>> Hello forum,
> >>> 
> >>> I managed to insert a custom .cls file into the lyx interface as I can
> >>> access it from the Documents->Settings.
> >>> 
> >>> But I get the following error once i try to generate a preview pdf . The
> >>> errors are as follows:
> >>> 
> >>> 
> >>> ////////////////////////////////////////////////////////////////////////
> >>> ///////
> >>> 
> >>> 1. Class rtthesis Error: One of the options `latin1' and `utf8' must be
> >>> given
> >>> 
> >>> One of the options `latin1' and `utf8' must be given
> >>> 
> >>> to select the character encoding of the loaded
> >>> 
> >>> captions. Guessing your preference is just too
> >>> 
> >>> dangerous
> >>> 
> >>> 
> >>> 
> >>> 2. Package rtthesis-captions Error: One of the options `latin1' and
> >>> `utf8' must
> >>> 
> >>> 
> >>> One of the options `latin1' and `utf8' must
> >>> 
> >>> be given to select the character encoding
> >>> 
> >>> of the loaded captions
> >>> 
> >>> 
> >>> 
> >>> 3. Package rtthesis-papers-captions Error: One of the options `latin1'
> >>> and
> >>> 
> >>> 
> >>> 
> >>> One of the options `latin1' and
> >>> 
> >>> `utf8' must be given to select the
> >>> 
> >>> character encoding of the loaded
> >>> 
> >>> captions
> >>> 
> >>> 
> >>> 
> >>> 4. LaTeX Error: Option clash for package inputenc.
> >>> 
> >>> 
> >>> \setcounter
> >>> 
> >>> {secnumdepth}{3}
> >>> 
> >>> The package inputenc has already been loaded with options:
> >>> 
> >>> [latin1]
> >>> 
> >>> There has now been an attempt to load it with options
> >>> 
> >>> [latin9]
> >>> 
> >>> Adding the global options:
> >>> 
> >>> latin1,latin9
> >>> 
> >>> to your \documentclass declaration may fix this.
> >>> 
> >>> Try typing <return> to proceed.
> >>> 
> >>> 
> >>> 
> >>> 
> >>> ////////////////////////////////////////////////////////////////////////
> >>> ///////
> >>> 
> >>> 
> >>> 
> >>> 
> >>> I am quite new to LaTex and I must use the custom class to write the
> >>> report.  Do I have to insert the required values as asked through the
> >>> .layout file or the .clas file.
> >>> 
> >>> 
> >>> 
> >>> Some hints over this issue is earnestly requested.
> >>> 
> >>> 
> >>> 
> >>> 
> >>> Thanks
> >>> 
> >>> Sajjadul

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to