{"id":53382,"date":"2020-02-05T11:38:27","date_gmt":"2020-02-05T16:38:27","guid":{"rendered":"https:\/\/web.uri.edu\/engineering\/?page_id=53382"},"modified":"2020-02-05T11:38:27","modified_gmt":"2020-02-05T16:38:27","slug":"configure-latex","status":"publish","type":"page","link":"https:\/\/web.uri.edu\/engineering\/thesisguide\/configure-latex\/","title":{"rendered":"Guide to Writing Your Thesis in LaTeX: Step 4"},"content":{"rendered":"<h1>Guide to Writing Your Thesis in LaTeX<\/h1>\n<section class=\"cl-wrapper cl-menu-wrapper\"><nav id=\"\" class=\"cl-menu  \" data-name=\"latex\" data-show-title=\"0\"><ul id=\"menu-academics\" class=\"cl-menu-list cl-menu-list-no-js\"><li id=\"menu-item-80199\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-80199\"><a href=\"https:\/\/web.uri.edu\/engineering\/academics\/\">Undergraduate Programs<\/a><\/li>\n<li id=\"menu-item-80198\" class=\"menu-item menu-item-type-post_type menu-item-object-page menu-item-80198\"><a href=\"https:\/\/web.uri.edu\/engineering\/academics\/graduate\/\">Graduate Programs<\/a><\/li>\n<\/ul><\/nav><\/section>\n<h2>Step 4: Configure the Options Specific to Your Thesis<\/h2>\n<p>At this point, it is assumed that you have a working LaTeX distribution, an editor, have downloaded and installed the necessary template files, and confirmed that you can build <a href=\"http:\/\/ele.uri.edu\/info\/thesis\/dist\/thesis.pdf\">this sample thesis<\/a>. If not, do that first. Now we will explain how to set things like the title, the author name, and whether it is a masters thesis or a doctoral dissertation.<\/p>\n<p>Start by opening the file <tt>thesis.tex<\/tt> in your editor.<\/p>\n<h3>Setting the Class Options<\/h3>\n<p>The first line of the file will be:<\/p>\n<pre>  \\documentclass{urithesis}<\/pre>\n<p>This tells LaTeX to use the urithesis document class with all default options. There are many options that that can be given, but for now we will only concern ourselves with one.<\/p>\n<p>If this is a Ph.D. dissertation, change the first line to be:<\/p>\n<pre>  \\documentclass[phd]{urithesis}<\/pre>\n<h3>Setting the Title and Author<\/h3>\n<p>To set the title, you use the command:<\/p>\n<pre>  \\title{The Title of My Thesis}<\/pre>\n<p>Make sure to use proper capitalization.<\/p>\n<p>Since you will be the author, set your name using the command:<\/p>\n<pre>  \\author{John L.~Doe}<\/pre>\n<p>The tilde between the middle initial and the last name tells LaTeX that the period does not indicate the end of a sentence, and to use a normal interword space.<\/p>\n<h3>The Bibliography Source File<\/h3>\n<p>The references will come from one or more <tt>.bib<\/tt> files that you create. This is the only type of file without a <tt>.tex<\/tt> extension that you will need to edit. The line:<\/p>\n<pre>  \\reffile{references}<\/pre>\n<p>tells BibTeX to look in the file <tt>references.bib<\/tt> for references cited in the thesis. The argument to the <code>\\reffile<\/code> command can be a comma separated list of files (without the <tt>.bib<\/tt> extension), and it will look in all of those files.<\/p>\n<h3>The Preliminary Material<\/h3>\n<p>The pages that come before the first chapter are called the preliminary material. See the page <a href=\"https:\/\/web.uri.edu\/graduate-school\/formatting\">Guidelines for the Format of Theses and Dissertations<\/a>, on the Graduate School&#8217;s web site, for more information about the preliminary material. The preliminary material includes, in this order:<\/p>\n<table border=\"1\" cellspacing=\"2\" cellpadding=\"3\">\n<tbody>\n<tr>\n<td align=\"left\"><b>Section<\/b><\/td>\n<td align=\"center\"><\/td>\n<td align=\"left\"><b>Command to include section<\/b><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Title Page<\/td>\n<td align=\"center\">automatic<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Approval Page<\/td>\n<td align=\"center\">automatic<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Abstract<\/td>\n<td align=\"center\">required<\/td>\n<td align=\"left\"><code>\\abstract{filename}<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Acknowledgments<\/td>\n<td align=\"center\">optional<\/td>\n<td align=\"left\"><code>\\acknowledgements{filename}<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Dedication<\/td>\n<td align=\"center\">optional<\/td>\n<td align=\"left\"><code>\\dedication{filename}<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Preface<\/td>\n<td align=\"center\">optional<\/td>\n<td align=\"left\"><code>\\preface{filename}<\/code><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">Table of Contents<\/td>\n<td align=\"center\">automatic<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">List of Figures<\/td>\n<td align=\"center\">automatic<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<tr>\n<td align=\"left\">List of Tables<\/td>\n<td align=\"center\">automatic<\/td>\n<td align=\"left\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The automatic sections will be generated automatically, and you need not worry about them. The <em>List of Tables<\/em> and <em>List of Figures<\/em> sections will only be generated if the thesis contains any tables or figures, respectively. The argument to the command to include the four manual sections, is the name of the <tt>.tex<\/tt> file that contains the content for that section, without the <tt>.tex<\/tt> extension. For example the abstract is included with the command:<\/p>\n<pre>  \\abstract{abstract}<\/pre>\n<p>which means it will us the contents of the file <tt>abstract.tex<\/tt> as the abstract. The file <tt>abstract.tex<\/tt> should contain only the text of the abstract, as the title will be generated automatically.<\/p>\n<h3>The Chapters<\/h3>\n<p>Chapters are included with the command:<\/p>\n<pre>  \\newchapter{chapterN}<\/pre>\n<p>which will include the file <tt>chapterN.tex<\/tt> in the thesis. There should be one <code>\\newchapter{}<\/code> command for each chapter of the thesis.<\/p>\n<p>The chapter source files should each begin with the command<\/p>\n<pre>  \\chapter{The Title of This Chapter}<\/pre>\n<p>followed by the contents of the chapter.<\/p>\n<h3>The Appendices<\/h3>\n<p>Appendices are optional, but if present, they are included with the command:<\/p>\n<pre>  \\newappendix{appendixN}<\/pre>\n<p>which will include the file <tt>appendixN.tex<\/tt> in the thesis. There should be a <code>\\newappendix{}<\/code> command for each appendix of the thesis.<\/p>\n<p>The main difference between appendices and chapters, are that chapters are numbered starting with 1, while appendices start with the letter A. The contents of an appendix is identical to that of a chapter. Each appendix source file should begin with the command:<\/p>\n<pre>  \\chapter{The Title of This Appendix}<\/pre>\n<p>command, just like with chapters.<\/p>\n<h3>Additional Considerations<\/h3>\n<p>By default, the department named on the title page is Electrical Engineering, but that can be changed by using the command:<\/p>\n<pre>  \\dept{My Department}<\/pre>\n<p>before any of the chapters are included.<\/p>\n<p>The year that the thesis is generated is displayed on the title page and approval page, but the Graduate School requires that year must be the year of your official graduation. To set that date to a specific year, other than the current year, use the command:<\/p>\n<pre>  \\copyrightyear{year}<\/pre>\n<p>before the <code>\\begin{document}<\/code> command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Guide to Writing Your Thesis in LaTeX Step 4: Configure the Options Specific to Your Thesis At this point, it is assumed that you have a working LaTeX distribution, an editor, have downloaded and installed the necessary template files, and confirmed that you can build this sample thesis. If not, do that first. Now we [&hellip;]<\/p>\n","protected":false},"author":581,"featured_media":0,"parent":53325,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-53382","page","type-page","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/pages\/53382","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/comments?post=53382"}],"version-history":[{"count":0,"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/pages\/53382\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/pages\/53325"}],"wp:attachment":[{"href":"https:\/\/web.uri.edu\/engineering\/wp-json\/wp\/v2\/media?parent=53382"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}