suchow / Dissertate

Beautiful LaTeX dissertation templates.
GNU Affero General Public License v3.0
717 stars 164 forks source link

Harvard style Latex Template- to Lyx #15

Closed Lingsky closed 10 years ago

Lingsky commented 10 years ago

I am starting to write my dissertation and selected 'Dissertate' as my template.

I have installed the packages in my ~Library/ directory under MacTex, according to the instructions; all works well when compiling to .pdf.

Now, I want to;

(i) slightly modify my title page, so that this includes the word count (excluding abstract appendices etc.)

(ii) write this dissertation via GUI Lyx instead of LaTeX (I'm a novice here).

suchow commented 10 years ago

Since you'll likely only do it once ever, the easiest way to include a word count on the title page is to use a LaTeX word-counting utility such as texcount (http://app.uio.no/ifi/texcount/online.php) or wordcount (http://www.tex.ac.uk/tex-archive/help/Catalogue/entries/wordcount.html) and then hard code the result into the title page. To modify the title page, edit the .cls file (Harvard.cls, or whichever one you're using, or harvard-thesis.cls if you're using the old template). The default title page is

\renewcommand{\maketitle}{ 
    \thispagestyle{empty}
    \vspace*{\fill} 
    \vspace{100pt} 
    \begin{center}
    \Huge \textcolor{SchoolColor}{\thetitle} \normalsize \\ 
    \vspace{100pt}
    \textsc{a dissertation presented \\ by\\
    \theauthor\\ to\\ The Department of \@department\\ 
    \vspace{12pt}
    in partial fulfillment of the requirements\\ 
    for the degree of\\ \@degree\\ 
    in the subject of\\ \@field\\
    \vspace{12pt}
    \@university\\ \@universitycity, \@universitystate\\ 
    \@degreemonth\ \@degreeyear}
    \end{center} \vspace*{\fill}
}

Replace this with something like:

\renewcommand{\maketitle}{ 
    \thispagestyle{empty}
    \vspace*{\fill} 
    \vspace{100pt} 
    \begin{center}
    \Huge \textcolor{SchoolColor}{\thetitle} \normalsize \\ 
    \vspace{100pt}
    \textsc{a dissertation presented \\ by\\
    \theauthor\\ to\\ The Department of \@department\\ 
    \vspace{12pt}
    in partial fulfillment of the requirements\\ 
    for the degree of\\ \@degree\\ 
    in the subject of\\ \@field\\
    \vspace{12pt}
    \@university\\ \@universitycity, \@universitystate\\ 
    \@degreemonth\ \@degreeyear}\\
        100,000 words
    \end{center} \vspace*{\fill}
suchow commented 10 years ago

I'm not really familiar with WYSIWYG LaTeX editors.

re Lyx, I don't think it's easy to use existing classes, but you might check out this and see if you get anywhere: http://wiki.lyx.org/Layouts/CreatingLayouts.

BaKoMa TeX (http://www.bakoma-tex.com/) is another option, though I've never used it.