http://flukylogs.blogspot.com/2009/09/install-style-files-in-lyx.html

The .sty file is your style file. It is used for formatting. The
sample_thesis.tex file is a raw latex file (presumably so you can test the
style to make sure you get the required output). You do not ever want to
include these. They are not for that. What you want to do is import the sty
file and make it into a document class. Then you want to edit the file in
lyx. The PDF that you generate should be the same format as the sample.

I don't think that this is a trivial amount of work to get working but it
isn't too much. What you want to search for in google is "lyx sty" and it
comes up with a mess of useful links.

~Ben


On Mon, Jun 9, 2014 at 3:46 PM, umair durrani <umairdurr...@outlook.com>
wrote:

> I have asked this question on tex.stackexchange but got no answer so far. I
> am new to LaTeX and LyX. For writing my thesis I got 2 files from
> university: uw_masters_thesis.sty and sample_thesis.tex. The sample file
> contains \usepackage{uw_masters_thesis} in preamble. If I use LaTex I
> simply put both files in same directory and include child documents by
> using \include or \input in the sample_thesis.tex document.
> The embedded objects manual in LyX suggests to specify the Document Class of
> master document in child document. But in my case the document class is Report
> (Standard Class). In my understanding, what uses the style file is the
> \usepackage{uw_masters_thesis} in preamble.
> I am creating thesis chapters (child documents) in lyx without specifying
> any thing in Document Stettings. I want them to use the style provided by
> .sty file and finally include all of them in master document. How can I
> achieve this in Lyx. Please suggest a step by step solution.
>
>
> Umair Durrani
> Master's candidate
> Civil and Environmental Engineering
> University of Windsor
>

Reply via email to