Thanks a lot Julien and Rob!!
With your prompting I have figured out the answers to almost all of my
questions.
In case anyone else is searching for something similar to what I wanted, I
will include my working layout and cls file text at the end of the email.
InTitle 1 did the trick regarding getting the abstract before the title
page. I left the title page and copyright page together in the maketitle
command.
The End_Front_Matter separator style worked for me in LyX.
I discovered in the tocbibind documentation that the t...@chapter command was
exactly what I wanted for my front matter sections. I tried making
a FrontMatterSection style in my layout file, but when I try to run LaTeX
with LyX I get the following error (though the TeX source in LyX looks like
what I want, eg \...@chapter{acknowledgements}):
Undefined Control Sequence
\toc
@chapter{Acknowledgements}
The control sequence at the end of the top line
of your error message was never \def'ed.
Is there a quick fix to this? Do I need to define \...@chapter somewhere?
I can see \usepackage{tocbibind} in my TeX source so it should be defined.
Thanks again
Will
full layout text:
#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[yalephd,book]{yalephd}
Format 11
Input stdclass.inc
Input numreport.inc
Input stdlayouts.inc
Sides 2
PageStyle Headings
Style Abstract
InTitle 1
End
Style Advisor
InTitle 1
LatexType Command
LatexName advisor
Align center
End
Style Bibliography
TopSep 4
LabelString "Bibliography"
LabelFont
Series Bold
Size Huge
EndFont
End
Style FrontMatterSection
CopyStyle Chapter*
LatexType Command
LatexName t...@chapter
End
Style End_Front_Matter
CopyStyle --Separator--
LatexName frontmatterend%
LatexType Command
Align center
LabelString "--- End of front matter ---"
End
AddToPreamble
\usepackage{tocbibind}
EndPreamble
full cls text:
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesClass{yalephd}[2000/03/15 Yale doctoral dissertation
class]
% Warn user that the following options are ignored because they
% are disallowed by the Yale Graduate School:
%
\DeclareOption{legalpaper}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `letterpaper'.}}
\DeclareOption{executivepaper}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `letterpaper'.}}
\DeclareOption{a4paper}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `letterpaper'.}}
\DeclareOption{a5paper}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `letterpaper'.}}
\DeclareOption{b5paper}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `letterpaper'.}}
\DeclareOption{twoside}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `oneside'.}}
\DeclareOption{twocolumn}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `onecolumn'.}}
\DeclareOption{landscape}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `portrait'.}}
\DeclareOption{notitlepage}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `titlepage'.}}
\DeclareOption{openright}{\PackageWarning{yalephd}%
{Option `\CurrentOption' ignored. Must use `openany'.}}
% What to do with other options? Pass them on to book.cls.
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{book}}
\PassOptionsToClass{onecolumn}{book}
\PassOptionsToClass{oneside}{book}
\PassOptionsToClass{letterpaper}{book}
\PassOptionsToClass{openany}{book}
\ProcessOptions\relax
\LoadClass{book} \RequirePackage{setspace}
%--------------------------------------------------------------------
% Physical layout of the page.
%--------------------------------------------------------------------
\setlength{\topmargin}{-0.5in} % header .5" from top of sheet
\setlength{\headsep}{-\topmargin} % body is 1" from top of sheet
\addtolength{\headsep}{-\headheight}
\setlength{\textheight}{8.8in} % 9" less a smidge to get 1"
% bottom margin
\setlength{\footskip}{.5in} % footer .5" from bottom
\setlength{\oddsidemargin}{0.5in} % 1.5" left margin
\setlength{\evensidemargin}{0.5in} % all pages
\setlength{\textwidth}{5.95in} % 1" right margin, 6" textwidth
\setstretch{1.7} % Produces double spacing
\catcod...@=11\relax
%--------------------------------------------------------------------
% Slightly redefine pagestyle headings from standard book class.
%--------------------------------------------------------------------
\def...@headings{%
\l...@oddfoot\@empty
\d...@oddhead{\makeuppercase{\rightmark}\hfil\thepage}%
\l...@mkboth\markboth
\def\chaptermark##1{%
\markright {%
\ifnum \...@secnumdepth >\...@ne
\...@chapapp\ \thechapter. \ %
\fi
##1}}}
%--------------------------------------------------------------------
% Define abstract environment, because book class doesn't have one.
%--------------------------------------------------------------------
\newenvironment{abstract}{%
\begin{titlepage}
%\pagestyle{empty}
\begin{center}
{\bf Abstract}\par\bigskip
{\Large \bf \...@title}\par\bigskip
\...@author \\
% Yale University \\
\the\year
\end{center}%
}{\end{titlepage}}%
%--------------------------------------------------------------------
% \advisor{}
%--------------------------------------------------------------------
\def\advisor#1{\gd...@dvisor{#1}}
\d...@dvisor{\@la...@warning@n...@line{no \noexpand\advisor given}}
%--------------------------------------------------------------------
% \makecopyright
%--------------------------------------------------------------------
\newcommand{\makecopyright}{%
\hbox{\hfil}\vspace{1.5in}\begin{center}
\begin{singlespace}
Copyright \copyright\ \the\year\ by \...@author \\
All rights reserved.
\end{singlespace}
\end{center}
\clearpage
}%
%--------------------------------------------------------------------
% \frontmatterend
%--------------------------------------------------------------------
\newcommand{\frontmatterend}{%
\setcounter{page}{0}
\pagenumbering{arabic}
}%
%--------------------------------------------------------------------
% Customize \maketitle
%--------------------------------------------------------------------
% Produces the title page and the copyright
\renewcommand\maketitle{\begin{titlepage}%
\null \vskip 40\p@
\begin{center}%
{\LARGE\bf \...@title \par}%
\vfil
\begin{singlespace}
{\large
A Dissertation\\
Presented to the Faculty of the Graduate School\\
of\\
Yale University\\
in Candidacy for the Degree of\\
Doctor of Philosophy\par\vfil\vskip 6ex%
by\\
\...@author\par\vskip 1.5em%
Dissertation Director: \...@dvisor\par
}\vskip 1.5em%
{\large \...@date \par
}%
\clearpage
\end{singlespace}
\end{center}
\pagestyle{plain} % Page numbers at bottom center.
\pagenumbering{roman} % roman numerals.
\addtocounter{page}{1} %This is page i, but not shown -- Next page is ii.
\makecopyright
\end{titlepage}%
\global\let\maketitle\relax
\global\let\title\relax
\global\let\author\relax
\global\let\advisor\relax
\global\let\date\relax
\global\let\and\relax
\pagestyle{plain} % Page numbers at bottom center.
\pagenumbering{roman} % roman numerals.
\addtocounter{page}{2} %This is page i, but not shown -- Next page is ii.
}
\catcod...@=12\relax
% EOF