Winson <[EMAIL PROTECTED]> writes:

> It shows that it is "\maketitle". I looked through ucthesis.cls, it
> is actually defined in the file. I figure that I might need to
> redefine it or provide some parameters for it in my document or
> layout file. But I just do not know how to do it.

The problem is probably:

% \maketitle outputs the complete titlepage.  It requires all the
% above macros except \campuscap.  It is probably not correct for 
% joint (e.g. UCSD/SDSU) degrees.

You need to add support for the macros that build the front matter.
The README for ucthesis.cls says:

Declarations
------------

To use the front matter macros and environments, you must first
declare a number of text strings:

\title          Dissertation title
\author         Your name as registered with UC (usually w/ full
                middle name)
\degreeyear     Year your dissertation will be granted
\degreesemester Semester (or quarter) your dissertation will be granted
\degree         The title of your degree (e.g. Doctor of Philosophy)
\chair          Title and name of your committee chair
                (e.g. "Professor Michael A. Harrison")
\othermembers   The names of the other members of your committee
                separated by linebreaks
                (e.g. "Professor Susan L. Graham\\Professor Jim Pitman)
\numberofmembers The number of members on your committee.  This defaults to
                3 (and thus is optional) and can be any value between
                3 and 6.  It affects the number of lines on the approval
                page and the space between them.
\prevdegrees    Your previous degrees
                "B.A. (University of California, San Diego) 1978\\
                B.A. (University of California, San Diego) 1986\\
                M.S. (University of California, Berkeley) 1989"
\field          The official title of your field.  This is usually
                your department's name, but at Berkeley, most
                Engineering degrees have a more complex name.
                Be sure to check the guidelines for any special
                twists on the name of your field.
\campus         The name of your UC campus.  This should be capitalized.
                (e.g. Berkeley)


You have two solutions :

1/ you are lazy and just want to get this to work. Add entries for all
these things (except \title and \author, which are handled by LyX) in
Document>Settings|Preamble. Something like
\degreeyear{2}
\degreesemester{1}
\degree{Doctor of Philosophy}
...

2/ you are brave and want the future LyX users to remember fondly
about you. Then you should add support for these macros in your
ucthesis.layout and provide us a nice layout (which respects fonts)
that we can distribute with LyX.

HTH

JMarc

Reply via email to