I am currently writing my bachelor's/Honours thesis and have just discovered LaTeX. I would like to write it up using the (excellent) Masters/Doctoral Thesis Template available here. I am modifying to suit my own needs but have gotten stuck.
As my work is not as long as a PhD thesis, it does not have chapters per se and I am looking to format the chapter titles - when they are first introduced as well as the headers. Currently it reads:
'Chapter 1
Introduction'
and I would like it to read:
'1. Introduction'
I cannot find a way to do this and search results in this and other forums have dealt within similar things without fixing the issue. My limited knowledge tells me it is entangled in line 98 of the .cls file - the one that redefines \chaptermark. The following is the full .cls document as I am unsure which is the appropriate bit.
Code: Select all
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Thesis LaTeX Template - THESIS CLASS FILE%% This template has been downloaded from:% http://www.latextemplates.com%% This class file defines the structure and design of the template.%% There is one part of this file that needs to be filled out - the variables% dictating the document particulars such as the author name, university% name, etc. You will find these in the commented "DOCUMENT VARIABLES"% section below.%% The other two easily-editable sections are the margin sizes and abstract.% These have both been commented for easy editing. Advanced LaTeX% users will have no trouble editing the rest of the document to their liking.%% Original header:%% This is file `Thesis.cls', based on 'ECSthesis.cls', by Steve R. Gunn%% generated with the docstrip utility.%%%% Created by Steve R. Gunn, modified by Sunil Patel: www.sunilpatel.co.uk%% Further modified by www.latextemplates.com%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\NeedsTeXFormat{LaTeX2e}[1996/12/01]\ProvidesClass{Thesis}[2007/22/02 v1.0LaTeX document class]\def\baseclass{book}\DeclareOption*{\PassOptionsToClass{\CurrentOption}{\baseclass}}\def\@checkoptions#1#2{\edef\@curroptions{\@ptionlist{\@currname.\@currext}}\@tempswafalse\@tfor\@this:=#2\do{\@expandtwoargs\in@{,\@this,}{,\@curroptions,}\ifin@ \@tempswatrue \@break@tfor \fi}\let\@this\@empty\if@tempswa \else \PassOptionsToClass{#1}{\baseclass}\fi}
Code: Select all
\documentclass[12pt, oneside]{Thesis}\begin{document}\chapter{1. Introduction}Some Text\end{document}