jessexknight / ut-thesis Goto Github PK
View Code? Open in Web Editor NEWUniversity of Toronto thesis class for LaTeX
University of Toronto thesis class for LaTeX
[from email]
Could you please tell me if there is a way to move the page numbering from top left corner to the bottom middle position? If it is possible, could you please provide me with a dummy code or something similar?
because it is not properly grouped. Thanks AH for the report!
If you have had your thesis rejected by SGS / ProQuest due to formatting issues related to ut-thesis, please:
The current formatting requirements are outlined here but these may not be consistently enforced.
The page numbering appears on the top left/right of the page in the main chapters.
But in the word template provided by SGS it is consistently at the bottom of the page.
Also on according to the SGS Template Website, the page numbering is suggested to be placed at the bottom center.
Hi @jessexknight. Thanks for maintaining this class. One of my dissertation chapters is based on a publication for which the publisher holds the copyright. I am careful to note the specific copyright on the first page of that chapter, as required by the publisher. I think in this case, the general copyright statement on the cover page is incorrect. I would like to append the phrase "except where otherwise noted". Since the copyright statement is baked into the class. I came up with two ways to get around this, and figured I'd share them here; though I admit that the requirement may be an edge case.
My first attempt was to directly address my specific requirement, where I just wanted a brief disclaimer to follow my name.
\newcommand\copyrightstatement{{\copyright} Copyright {\@gradyear} by {\@author}}
\DeclareOption{sharedcopyright}{%
\renewcommand\copyrightstatement{{\copyright} Copyright {\@gradyear} by {\@author}, except where otherwise noted}
}
I then replaced the copyright line in the class by \copyrightstatement
Alternatively, I thought additional flexibility might be desirable. I don't really need it, but I guess there could be a situation where, e.g., I could want to use "Conor Ian" as the author name, but "Conor I." as the copyright name. I tried to come up with a new command that defaults to the value of \@author
if it is empty.
\newcommand*{\copyrightauthor}[1]{%
\if\relax\detokenize{#1}\relax
\gdef\@copyrightauthor{\@author}
\else
\gdef\@copyrightauthor{#1}
\fi
}
This works great, for instance, if I insert \copyrightauthor{Conor I. Anderson, except where otherwise noted}
into my main.tex file. The major drawback here is that omitting \copyrightauthor{}
causes no name to be printed at all (I had hoped it would print the value of \@author
). I am pushing the limits of my LaTeX knowledge on this one. I note also that I avoided using a new package for this - I am sure there are clean ways to do this with a new package.
I was just recently asked for a revision to my thesis submission by SGS because the text in the \tableofcontents
, \listoftables
and \listoffigures
was red, not black. Looks like it's red because it is hyperlinked to the corresponding section/table/figure. I hacked a fix by defining a new command:
% Custom command to set hyperlink colors to black
\newcommand{\blacklinks}{\hypersetup{linkcolor=black}}
\newcommand{\defaultlinks}{\hypersetup{linkcolor=red}} % Set this to your default link color
and then wrapping my calls to \tableofcontents
, \listoftables
and \listoffigures
in main.txt
with it:
\blacklinks
\tableofcontents
\listoftables
\listoffigures
\defaultlinks
Hey @jessexknight,
Basically, the margins aren't consistent from page to page. Is there a quick fix for this?
Thanks!
Hi,
When using the template, I've had SGS request that I remove the word "Graduate" before the department name on the title and abstract pages.
This is the comment they sent me on that: "Please remove the word ‘Graduate’ from your Department Name on both your Title and Abstract pages. At the moment the template does include the word ‘Graduate’ but we are working with the library to have that corrected."
The \degree command is also used in the gensymb package as a degree symbol (for example for temperature units or angles), causing a conflict with the degree name from this class. This can be solved with a workaround to assign the degree symbol to a different command name, but it is messy and does not work 100%.
Since the gensymb package is likely used often with technical theses, it would be good to rename the \degree command to something which does not conflict, such as \degreetitle or \degreename.
Potential issues:
According to the formatting guidelines it should be:
Copyright by Jesse Knight 2023
But this template makes it:
Copyright 2023 by Jesse Knight
One of my chapter title is too long and it hides the page number printed at the header. How can I put the page number at the bottom of each page throughout the thesis?
The SGS requires this now:
Please include the List of Tables, List of Figures, and the Table of Contents itself in the TOC as per the following example:
Example:
Table of Contents ……………………... iv
List of Tables ……………………………. vi
List of Figures ....................................... vii
Introduction .......................................... 1
Behaviour is apparently different on Overleaf
The default section title generated by \tableofcontents
is "Contents", but it needs to be "Table of Contents".
Here is the related part of the rejection email from ProQuest.
Contents Section:
- This should be changed to Table of Contents
It should be solved by renewing \contentsname
. (cf. https://tex.stackexchange.com/questions/28516/)
For example,
\renewcommand{\contentsname}{Table of Contents}
\tableofcontents
Hi Jesse. I am facing one issue with my thesis formatting. There was a change in the space between paragraphs and I am not able to solve this problem. This is also affecting the space between one of the headings and the text. Have you seen this issue before?
[from email]
It seems like we cannot change the title style if we want not all the letters becoming capitalized....Is this a convention or default setting for this module? How could we change it back to proper capital and small letters for title?
I have something weird happening with the chapter and section numbering when using the ut-thesis class.
\chapter
command).0.x
, where x
proceeds sequentially from 1 (the first section is numbered 0.1, the next one 0.2,...)Any idea why this could be happening? I'm working on Overleaf, and have followed the test examples for how to set the document up.
Thanks!
Are there general instructions somewhere for getting this template working in Overleaf? I am sure I am just doing something silly, but it doesn't seem like like the ut-thesis.cls
file for some reason.
The current draft option has many package-level effects. These should probably be kept separate from marking the corners with DRAFT, which can be useful for circulating pre-final copies. Propose:
draftmark
that marks the cornersdraft
option to book
, which should also result in draftmark
Section 2.2.3 of the documentation lists the commands \tableoftables
and \tableoffigures
but these should respectively be \listoftables
and \listoffigures
instead.
I tried to compile the following simple document
\documentclass{ut-thesis}
\author{Jane Doe}
\title{Title of the Example Thesis}
\degree{Doctor of Philosophy}
\department{Institute of Medical Science}
\gradyear{2020}
% \addbibresource{refs}
\usepackage{lipsum}
\begin{document}
\frontmatter
\maketitle
\begin{abstract}
\lipsum
\end{abstract}
\tableofcontents
\listoftables
\listoffigures
\mainmatter
\lipsum
\appendix
\backmatter
\lipsum
\end{document}
And got the following errors
! Undefined control sequence.
l.10 \frontmatter
...
! Undefined control sequence.
l.18 \mainmatter
...
! Undefined control sequence.
l.21 \backmatter
I've attached the full log file here.
It appears I'm using v3.0.0a
Hello,
I am using the ut-thesis.cls
file in my Overleaf project and the int-text citations are appearing out of order (please see the attached image). For instance, the in-text citations start at the number 10 and 1 does not appear until the next paragraph. Is there any insight into what might be causing this problem?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.