On 02/08/2010 10:26 AM, Stephen Anthony wrote:
rgheck wrote:
On 02/07/2010 02:14 PM, Stephen Anthony wrote:
I am new to LATEX/LYX, and I am interested in trying it out for my thesis. I have found the LATEX style and class for my thesis (http://physics.illinois.edu/grad/thesis-templates.asp). They appear to be appropriately installed, I can see them both in MiKTeX 2.8 and they also appear in LYX in Tools:TeX Information.

Where I seem to be running into problems is with the Layout file. I have tried following the instructions in Help:Customization regarding creating a new layout file, and haven't managed to get it to work. When I go to Document:Settings:Document Class, uiucthesis does not appear. When I try "Local Layout" there, it tells me "Unable to read local layout file". Can someone either generate a layout for me from the uiucthesis2009 class/style provided, or help me figure out how to do that properly myself?

Can you post the layout file you have so far?

#% Do not delete the line below; configure depends on this

# \DeclareLATEXClass[uiucthesis,book]{uiucthesis}

I'd do just:
    # \DeclareLATEXClass[book]{UIUC Thesis Class}
to start. You can add the other back if you need to do so. It may also need to be:
    # \DeclareLATEXClass[book,uiucthesis]{UIUC Thesis Class}
in that order. I'm not sure.

# UIUC Thesis textclass definition file.

# Author :

# Transposed by

# Heavily modifed and enhanced by serveral developers.

Preamble

\usepackage{uiucthesis}

EndPreamble

Format 11

The format line MUST be the first non-empty, non-comment line.

Input stdclass.inc

Input numreport.inc

Sides 2

PageStyle Headings

NoStyle Abstract

Style Bibliography

TopSep 4

LabelString "Bibliography"

LabelFont

Series Bold

Size Huge

EndFont

End

The rest looks as if it should be OK. Make sure you have put this in the right place, namely, in the layouts/ subdirectory of your user directory, whose location you can find in Help>About LyX. Then do Tools>Reconfigure.

Richard

Reply via email to