[PDF] [PDF] Using LaTeX to Write a PhD Thesis

Command definitions are shown in a typewriter font in the form: When you're writing a large document such as a PhD thesis, I would strongly recommend that you use fooled, and it's best not to irritate them as it is likely to make them less 



Previous PDF Next PDF





[PDF] Using LaTeX to Write a PhD Thesis - Dickimaw Books

thesis in LATEX, particularly if their work involves a lot of mathematics In addition , these Command definitions are shown in a typewriter font in the form: scrreprt and scrbook, so choose whichever class file you feel best suits your thesis



[PDF] Writing a thesis with LaTeX - TeX Users Group

For good readability on A4 and letter paper it is advisable to use a base font size of 11 pt 2 Information on how to use these commands is reported in sec 3 3



[PDF] How to Write a Doctoral Dissertation with LATEX - Northwestern

This document deals with how to write a doctoral dissertation using LATEX, and graphs may be included in the main body of the text, or they should imme- Other values of this argument are: t (top of the page), b (bottom of the page), p ( 



[PDF] Users Guide to Writing a Thesis in a Physics/Astronomy Institute of

8 déc 2018 · this document and says what they are good for Chapters 5 and 6 give some For PhD theses this is the version that goes to ULB; PILibrary final If you used the default LATEX font in your thesis, then choose lmodern in the 



[PDF] Guideline for Thesis Writing - Technische Informatik

Style 5 Structure (formal) 5 Styleguide 6 Fonts 6 Font Size 7 Page style 7 Header and Footer 8 Line spacing 8 Paragraphs 8 Justification 8 Emphasis 



[PDF] Formatting a Thesis with LATEX - Multimedia Signal Processing

9 jui 2005 · content and organization of the thesis, LATEX macros for controlling the thesis layout, 2 5 1 Bitmap Fonts and Resolution Dependency A thesis for the doctoral degree must display original scholarship, expressed in good



[PDF] Using LaTeX to Write a PhD Thesis

Command definitions are shown in a typewriter font in the form: When you're writing a large document such as a PhD thesis, I would strongly recommend that you use fooled, and it's best not to irritate them as it is likely to make them less 



[PDF] Writing Masters and Doctoral Theses Using LATEX

∗This document has been prepared by a team of PhD students (Kirin Moonen, the top of the LATEXdocument to increase the text size used for the footnotes



[PDF] The Graduate/Staff Guide to LaTeX - College of Engineering

3 5 Computer Modern Fonts 14 Thesis Requirements 29 Next you may wish to define a heading which will appear at the top of the ta- Where the first line contains the type of reference e g book, mastersthesis, Article, phdthesis



[PDF] A Classic Thesis Style - CTAN

3 jui 2018 · This might come in handy for PhD theses: some ideas and figures whole LATEX-community for support, ideas and some great software Regarding stallation right away and, therefore, it uses only freely available fonts

[PDF] best method for monitoring blood glucose levels

[PDF] best mexican food in paris texas

[PDF] best money transfer app

[PDF] best mortgage rates today

[PDF] best paris vacation rental agency

[PDF] best pg diploma course in canada

[PDF] best photoshop fonts for logos

[PDF] best physics online lectures for class 12

[PDF] best physics professor in the world

[PDF] best place to learn json

[PDF] best practices for delivering virtual classroom training

[PDF] best programming language for hardware control

[PDF] best programming languages for the future

[PDF] best public schools in geneva switzerland

[PDF] best python tutorial on youtube

Using LATEX to Write a PhD Thesis

Dr Nicola TalbotSchool of Computing Sciences

University of East Anglia

6 thOctober, 2004

Abstract

This document is aimed at PhD students who want to use L

ATEX to typeset their PhD thesis. If you are

unfamiliar with L ATEX I would recommend that you rst readLATEX for Complete Novices[5]. This document and associated les are available on-line athttp://theoval.cmp.uea.ac.uk/~nlct/ latex/thesis/thesis.html

Contents1 Introduction12 Getting Started23 Splitting a Large Document into Several Files44 Changing the Document Style64.1 Modifying Object Specic Text. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .64.2 Changing the Section Headings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74.3 Changing the Chapter Headings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .84.4 Adding to the Table of Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .94.5 Dening a New Page Style. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95 Generating a Bibliography115.1 Back-References. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195.2 Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 Formatting206.1 Double Spacing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206.2 Changing the Title Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206.3 Verbatim Text. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216.4 Tabbing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216.5 Theorems and Algorithms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .237 Generating an Index or a Glossary287.1 Generating an Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .287.1.1 Troubleshooting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .307.2 Generating a Glossary. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .317.2.1 ThemakeglosPackage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .317.2.2 TheglossaryPackage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .328 Too Many Unprocessed Floats34Bibliography35Index36i

Chapter 1

Introduction

Many PhD students in the sciences are being encouraged to produce their PhD thesis in L

ATEX, partic-

ularly if their work involves a lot of mathematics. This document is intended as a brief guide on how to

structure your document, and how to dene new page styles, chapter headings and so on. If you have never used L ATEX before, I would recommend that you rst readLATEX for Complete Novices[5], as this document assumes you have a basic knowledge of L ATEX. Throughout this document, source code is illustrated in the form:This is an \textbf{example}. The corresponding output is illustrated as follows:

This is anexample.

Command denitions are shown in a typewriter font in the form:\documentclass[options]{class le}Denition1

Chapter 2

Getting Started

If you have been told to use a particular class le, use that one, otherwise I would recommend that you use thereportclass le. Before you start your document, consider rst what kind of structure it

should have. Unless you have been told otherwise, I would recommend that you start out with a skeletal

document that looks something like the following:\documentclass[a4paper]{report} \begin{document} \title{A Sample PhD Thesis} \author{A. N. Other} \date{July 2004} \maketitle \pagenumbering{roman} \tableofcontents \listoffigures \listoftables \chapter*{Acknowledgements} \begin{abstract} \end{abstract} \pagenumbering{arabic} \chapter{Introduction} \label{ch:intro} \chapter{Technical Introduction} \label{ch:techintro} \chapter{Method} \label{ch:method} \chapter{Results} \label{ch:results} \chapter{Conclusions} \label{ch:conc} \bibliographystyle{plain} \bibliography{thesis}2

CHAPTER 2. GETTING STARTED3\end{document}

If you do this, it will help ensure that your document has the correct structure before you begin with

the actual contents of the document.

Chapter 3

Splitting a Large Document into

Several Files

Some people prefer to place each chapter of a large document in a separate le. You can do this by using

the commandnincludeflenamegDenition If you only want to work on one or two chapters, you can tell L

ATEX to only include those les using the

commandnincludeonlyfle listgDenition

in the preamble, wherele listis a comma separated list of les you want included. LATEX will still read

in all the cross-referencing information for the missing chapters, but won't include them in the DVI le.

There is a denite advantage to this if you have, say, a large number of images in your results chapter,

which you don't need when you're working on, say, the technical introduction. You can still reference

all the gures in the omitted chapter, as long as you have previously L

ATEXed the document without the

nincludeonlycommand. The example given in Chapter2can now be split into various les: \begin{document} \title{A Sample PhD Thesis} \author{A. N. Other} \date{July 2004} \maketitle \pagenumbering{roman} \tableofcontents \listoffigures \listoftables \chapter*{Acknowledgements} \begin{abstract} \end{abstract} \pagenumbering{arabic}4 CHAPTER 3. SPLITTING A LARGE DOCUMENT INTO SEVERAL FILES5\include{intro} \include{techintro} \include{method} \include{results} \include{conc} \bibliographystyle{plain} \bibliography{thesis} \end{document}

Fileintro.tex:\chapter{Introduction}

\label{ch:intro} Filetechintro.tex:\chapter{Technical Introduction} \label{ch:techintro}

Filemethod.tex:\chapter{Method}

\label{ch:method}

Fileresults.tex:\chapter{Results}

\label{ch:results}

Fileconc.tex:\chapter{Conclusions}

\label{ch:conc} If you only want to work on, say, the Method and the Results chapters, you can place the following command in the preamble:\includeonly{method,results}

Chapter 4

Changing the Document Style

It is possible to redenenchapter,nsectionetc in order to change the heading style for your document.

If you want to do this I recommend that you create a or class le to do this. There are two main reasons

for this: rstly, some of the commands involved use an@character which behaves dierently depending on whether or not it occurs in a class/package or in a normal.texle, and secondly, if you place all these commands in your main document, you may confuse the spell checker or word count application1. So, should you create a package or a class le? Packages should be designed to be independent of the class le. For example, thegraphicxpackage works irrespective of whether you are using thereport, article,slideetc class le. If the commands or environments that you want to dene are somehow

dependent on a particular class le, then you should create a new class le that is based on the one you

want. If you are redening chapter or section styles, then this is dependent on the overall document style, that is, it's dependent on the class le. So, you should create a new class le that modies the existing one, rather than creating a package. Let's have an example. If you want to create a new class called, say,mythesis, you will need to

create a le calledmythesis.cls, and the start of your le should look something like:\NeedsTeXFormat{LaTeX2e}

\ProvidesClass{mythesis} Next you need to specify what to do with any options passed to this class le. Since we don't need to

dene any new options for this example, we can simply pass all options on to thereportclass le:\DeclareOption*{\PassOptionsToClass{\CurrentOption}{report}}

Once all options have been declared, they need to be processed:\ProcessOptions Now thereportclass needs to be loaded:\LoadClass{report} and the very last line of your le should have the command\endinput The contents of this new class le should be inserted between thenLoadClass{report}andnendinput commands. You will then need to modify your source code,thesis.tex, so that it uses this new class le:\documentclass[a4paper]{mythesis}

4.1 Modifying Object Specic Text

Thereportclass le denes various commands that produce words such as \Contents", \Chapter", \Bibliography". These commands, and their default values are listed in Table4.1. So, suppose you want your gures and tables to be labelled Fig. and Tab. instead of Figure and Table, then you could add the following lines tomythesis.cls:\renewcommand{\figurename}{Fig.}

\renewcommand{\tablename}{Tab.}1for information on counting the number of words in your document, see the documentation for thecmpreprtclass le6

CHAPTER 4. CHANGING THE DOCUMENT STYLE7Table 4.1: Default NamesncontentsnameContents nlistfigurenameList of Figures nlisttablenameList of Tables nbibnameBibliography nindexnameIndex nfigurenameFigure ntablenameTable npartnamePart nchapternameChapter nappendixnameAppendix nabstractnameAbstract4.2 Changing the Section Headings

It is possible to customise the way your section, subsection etc headings appear by redening the corre-

sponding commandsnsection,nsubsectionetc using the command:n@startsectionftypegflevelgfindentgfbeforeskipgfafterskipgfstylegDenition

The six arguments are as follows:typeThe sectioning type. This should be one of:section,subsection,subsubsection,paragraphor

subparagraph. (Note no backslash.)levelThis is the sectioning level as indicated in Table4.2.indentThis should be a length, specifying the indentation from the left margin.beforeskipThe absolute value of thebeforeskipspecies how much vertical distance to leave before the

heading. Ifbeforeskipis negative, the rst paragraph following the section heading will not be

indented.afterskipThe absolute value of theafterskipspecies how much vertical distance to leave after the

heading. Ifafterskipis negative, the text following the sectioning command will appear on the

same level as the section heading.styleThestyleare the declarations required to set the style of the heading (e.g.nitshapefor an italic

heading.)Table 4.2: Section Levelspart -1 chapter 0 section 1 subsection 2 subsubsection 3 paragraph 4

subparagraph 5As an example, suppose you want to change the section headings so that they appear in a large italic

font, you could do something like:\renewcommand{\section}{\@startsection {section}% % the name {1}% % the level CHAPTER 4. CHANGING THE DOCUMENT STYLE8{0mm}% % the indent {-\baselineskip}% % the before skip {0.5\baselineskip}% % the after skip {\normalfont\large\itshape}} % the style

SeeA Guide to LATEX[2] for further information.

There is a counter calledsecnumdepththat controls what level the sections have numbers. The levels

correspond to those shown in Table4.2. By default this value is 2, so only parts, chapters, sections and

subsections have associated numbers. You can usensetcounterto change the value ofsecnumdepth.

So, for example, if you want thenparagraphcommand to produce a number, do\settocounter{secnumdepth}{4}

4.3 Changing the Chapter Headings

If you want to change the chapter or part heading style, you can't use then@startsectioncommand. Instead you should use thensecdefcommand. If you loadreport.clsinto a text editor, you will see

that both thenpartandnchaptercommands usensecdef. The denition ofnchapterhas the line\secdef\@chapter\@schapter

andnparthas the line\secdef\@part\@spart The rst argument tonsecdeftells LATEX what to do if the unstarred version is used, and the second argument tells L ATEX what to do if the starred version is used. So the command\chapter{Introduction} will use the commandn@chapter, whereas the command\chapter*{Acknowledgements} will use the commandn@schapter. The commandsn@chapterandn@schapteruse the commands n@makechapterheadandn@makeschapterhead, respectively, to format the chapter heading, so if you want to change the chapter format, you will need to redene the commandsn@makechapterheadand n@makeschapterhead. The easiest way to do this is to look for the code for these commands in report.clsand copy them over to your new class le,mythesis,described earlier, and edit the appro- priate formatting commands. For example, suppose you want a line to appear above and below the chapter heading, and have the chapter heading appear in small capitals, you could do:\renewcommand{\@makechapterhead}[1]{% \vspace*{50\p@}% {\parindent \z@ \raggedright \normalfont \hrule % horizontal line \vspace{5pt}% % add vertical space \ifnum \c@secnumdepth >\m@ne \huge\scshape \@chapapp\space \thechapter % Chapter number \par\nobreak \vskip 20\p@ \fi \interlinepenalty\@M \Huge \scshape #1\par % chapter title \vspace{5pt}% % add vertical space \hrule % horizontal rule \nobreakquotesdbs_dbs17.pdfusesText_23