gowtham - michigan technological university · pick an editor (vi, gedit, texmaker, winedt) make...

37
Gowtham Information Technology Services [email protected] • (906) 487/1111 • http://www.it.mtu.edu/ 2012.02.24 A Template for Typesetting Graduate Thesis & Dissertation Using 1

Upload: lethuy

Post on 14-Aug-2019

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

GowthamInformation Technology Services

[email protected] • (906) 487/1111 • http://www.it.mtu.edu/

2012.02.24

A Template for Typesetting Graduate Thesis & Dissertation Using

1

Page 2: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Outline

Basics of LaTeXWhat is it & why use itWhere to get itHow to install & use itTypesetting simple documents

Template for Graduate Thesis & DissertationsLinuxMacWindows

2

Page 3: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

An Introduction to LaTeXhttp://gradschool.mtu.edu/professional ⇨ Online Seminar Archive ⇨ 2011

Basics of LaTeX

What is it & why use itWhere to get itHow to install & use itTypesetting simple documents

Please refer to the video/slides from

3

Page 4: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Please note that using this template is not a substitute for learning the fundamentals of LaTeX - both typesetting your material and compiling it to generate fully functional PDF

Thesis & Dissertation

Visit the website, http://sgowtham.net/mtu-latex/Read through the post

Download the template Retain the filenames as they are

Make other necessary changes

Pick an editor (vi, gedit, TeXMaker, WinEdt)Make necessary changes to embed fonts

Compile away

4

Page 5: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Sets up the title pagethe signature page

up to 2 advisors

up to 4 advisory committee members

department, program, school

an appropriate layout

table of contents, figures, tables; line spacing, marginschapters, sections, subsections, subsubsections

Removes page numbers on blank pages Bookmarks and embedded fonts in PDF

In compliance withGraduate School

guidelines

Template Features

Also works with Subversion and other revision control systems5

Page 6: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

% Document type% Uncomment the line below for single sided printing % \documentclass[letterpaper,12pt,fleqn]{report}\documentclass[letterpaper,twoside,12pt,fleqn]{report}

% Necessary packages% MichiganTech_MSPhD.sty % This will in turn load all other required packages and (re)define% several aspects to make the document compliant with Michigan Tech% Graduate School requirements\usepackage{MichiganTech_MSPhD}

% Information required for Title & Signature pages%% University\university{MICHIGAN TECHNOLOGICAL UNIVERSITY}%% Thesis/Dissertation title\thesistitle{Beginning, Evolution, Sustenance And Future Of Our Very Own Sweet Little Universe}%% Thesis/Dissertation author\thesisauthor{Mary A. Doe}%% Thesis/Dissertation year\thesisyear{2012}

MichiganTech_MSPhD.tex

Nece

ssar

y Ch

ange

s Fo

r All

OS

6

Page 7: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

%% Department or School\deptschool{Physics}%% Program (optional)\program{Engineering Physics}%% Chair of the primary/home department%% \deptchair{} must be empty, if \schooldean is not empty\deptchair{Dr. Dept Chair}%% Dean of the School - applies if you entered a school for \dept{}%% \schooldean{} must be empty, if \deptchair is not empty\schooldean{}%% Primary advisor\primaryadvisor{Dr. Advisor}%% Co-Advisor (optional)\coadvisor{}%% Advisory committee member #1 (optional)\advcommone{Dr. Advisory Committee \#1}%% Advisory committee member #2 (optional)\advcommtwo{Dr. Advisory Committee \#2}%% Advisory committee member #2 (optional)\advcommthree{Dr. Advisory Committee \#3}%% Advisory committee member #4 (optional)\advcommfour{Dr. Advisory Committee \#4}

MichiganTech_MSPhD.tex

Nece

ssar

y Ch

ange

s Fo

r All

OS

7

Page 8: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

...% Title and Signature pages%% For MS: replace \phdtitlepage with \mstitlepage%% replace \phdsignaturepage with \mssignaturepage\phdtitlepage\cleartooddpage[\thispagestyle{empty}]\phdsignaturepage…%% Dedication (optional)%% Comment the line below if not needed\include{Dedication}…%% Preface (optional)%% Uncomment the line below if needed% \include{Preface}…%% Chapters%% Add more, if need be\include{Chapter1}\include{Chapter2}\include{Chapter3}

MichiganTech_MSPhD.tex

Nece

ssar

y Ch

ange

s Fo

r All

OS

8

Page 9: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

LaTeX ⇨

LaTeX ⇨

BibTeX ⇨

BibTeX ⇨

LaTeX ⇨

LaTeX ⇨

DVIPS ⇨

PS2PDF ⇨ View the PDF

General Work Flow

9

Page 10: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

OS Specific Changes

No additional changes are necessaryIf you use the associated Makefile

It’s as simple as typing make

If using other editors (Kile, etc.)Check the preferences (or options)Edit the commands by comparing with Makefile

10

Page 11: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

OS Specific Changes

No additional changes are necessaryIf you use the associated Makefile

It’s as simple as typing make

If using TeXMakerPreferences ⇨ Quick Build ⇨ Quick Build Command ⇨ User

"/usr/texbin/latex" -interaction=nonstopmode %.tex | "/usr/texbin/latex" -interaction=nonstopmode %.tex | "/usr/texbin/bibtex" %.aux | "/usr/texbin/bibtex" %.aux | "/usr/texbin/latex" -interaction=nonstopmode %.tex | "/usr/texbin/latex" -interaction=nonstopmode %.tex | "/usr/texbin/dvips" -Ppdf -o %.ps %.dvi | "/usr/local/bin/ps2pdf" -dPDFSETTINGS=/prepress -dEmbedAllFonts=true -dSubsetFonts=true -dMaxSubsetPct=100 %.ps

11

Page 12: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

OS Specific Changes

12

Page 13: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

OS Specific Changes

If using TeXMakerOptions ⇨ Configure TeXMaker ⇨ Quick Build ⇨ Quick Build Command ⇨ User

latex -interaction=nonstopmode %.tex | latex -interaction=nonstopmode %.tex | bibtex % | bibtex % | latex -interaction=nonstopmode %.tex | latex -interaction=nonstopmode %.tex | dvips -Ppdf -o %.ps %.dvi | "C:/Program Files (x86)/gs/gs9.00/bin/gswin32c.exe" -dBATCH -dNOPAUSE -sDEVICE=pdfwrite -r600 -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dEmbedAllFonts=true-dSubsetFonts=true -dMaxSubsetPct=100 -sOutputFile="%.pdf" "%.ps"

Check the path to gswin32c.exe command

13

Page 14: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

OS Specific Changes

14

Page 15: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

OS Specific Changes

If using WinEdt 6.xOptions ⇨ Execution Modes ⇨ Console Applications ⇨ Accessories ⇨ ps2pdf ⇨ Command Line

For Executable:

For Switches:

For Parameters:

gswin32c.exe

-dBATCH -dNOPAUSE -sDEVICE=pdfwrite -r600 -dCompatibilityLevel=1.4 -dPDFSETTINGS=/printer -dEmbedAllFonts=true -dSubsetFonts=true-dMaxSubsetPct=100

-sOutputFile="%N.pdf" "%N.ps" Check the path to gswin32c.exe command

15

Page 16: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

OS Specific Changes

16

Page 17: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

MS T

itle

17

Page 18: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

MS S

igna

ture

: 1 Ad

visor

, Cha

ir

18

Page 19: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

MS S

igna

ture

: 1 Ad

visor

, Dea

n

19

Page 20: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

MS S

igna

ture

: 2 Ad

visor

s, Ch

air

20

Page 21: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

MS S

igna

ture

: 2 Ad

visor

s, De

an

21

Page 22: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

PhD

Title

22

Page 23: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

PhD

Sign

atur

e: 1 A

dviso

r, Cha

ir

23

Page 24: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

PhD

Sign

atur

e: 1 A

dviso

r, Dea

n

24

Page 25: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

PhD

Sign

atur

e: 2 A

dviso

rs, C

hair

25

Page 26: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

PhD

Sign

atur

e: 2 A

dviso

rs, D

ean

26

Page 27: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

Tabl

e of C

onte

nts -

Lead

ing D

ots

27

Page 28: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

List o

f Fig

ures

- Han

ging

Inde

nt

28

Page 29: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

List o

f Tab

les -

Hang

ing I

nden

t

29

Page 30: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

Sam

ple T

able

+ Ca

ptio

n

30

Page 31: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

When All Goes Well

Sam

ple F

igur

e + Ca

ptio

n

Complete set of screenshots are available at http://sgowtham.net/mtu-latex/31

Page 32: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Bookmarks in PDF

32

Page 33: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Embedded Fonts in PDF

33

Page 34: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Embedded Fonts in PDF

34

Page 35: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Embedded Fonts in PDF

35

Page 36: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Need Help? Have Ideas?

If you need help with using this template and/or have ideas to make it better (for e.g., incorporating newer guidelines from Graduate School, etc.),

contact me via email, [email protected]

post them as comments at http://sgowtham.net/mtu-latex/

36

Page 37: Gowtham - Michigan Technological University · Pick an editor (vi, gedit, TeXMaker, WinEdt) Make necessary changes to embed fonts Compile away 4. Sets up the title page the signature

Acknowledgments

Dr. Michael LarsenDepartment of Physics & Astronomy

College of Charleston

Dr. Charles WallaceDepartment of Computer Science

Michigan Technological University

Physics FacultyDr. Ravi Pandey, Dr. Alexander Kostinski,

Dr. Will Cantrell, Dr. Raymond Shaw

Members of my advisory committee

Michigan Technological University

Dr. Debra CharlesworthGraduate School

Michigan Technological University

Good FriendsBijunath Patla, Jacob Fugal, David Clark, David Fritz,

Nils Markus Stenvig, John Armstead, Irfan Ahmed,

Shaughn Kern and more

Friends Of The InternetDiscussion forum, mailing lists, etc.

37