Giter Site home page Giter Site logo

ucl-latex-thesis-templates's Issues

Reset mathcal fonts to default

mathptmx introduces a really terrible font for mathcal. Consider adding \DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n} to reset it to the standard alphabet.

Onesided setting produces uneven margins

Hi,
Thanks for providing this great template.
I have noticed that the following results in uneven margins:
\documentclass[11pt,phd,a4paper,oneside]{ucl_thesis}
image

After some digigng, I think this is because the margin sizes in the cls just dont add up:

\setlength \voffset{-25.4mm}
\setlength \textwidth{140mm}
\setlength \textheight{232mm} % I think you need some extra vertical space for headers and page numbers
\setlength \topmargin{20mm}
\setlength \oddsidemargin {39mm} % Allow a mm for the bleed.
\if@twoside
  \setlength \evensidemargin {20mm}
\else
  \setlength \evensidemargin {39mm}
\fi

A4 paper is 210mm wide, but the textwidth plus the margins adds up to: 140 + 39 + 39 = 218

I guess this is causing the issue or is this intentional?

I changed the settings to

\if@twoside
  \setlength \oddsidemargin {40mm} % Allow a mm for the bleed.
  \setlength \evensidemargin {29mm}
\else
  \setlength \oddsidemargin {34.5mm} % Allow a mm for the bleed.
  \setlength \evensidemargin {34.5mm}
\fi

Doe you see any issues with that?

MSc option

How do I add an option for Master of Science (msc) please?

make command throws error

I'm getting the following error when running make all

lualatex --halt-on-error Main.tex
This is LuaTeX, Version 0.95.0 (TeX Live 2016)
 restricted system commands enabled.
(./Main.tex
LaTeX2e <2016/03/31>
Babel <3.9r> and hyphenation patterns for 1 language(s) loaded.
(/usr/local/texlive/2016/texmf-dist/tex/latex/nag/nag.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/nag/nag-l2tabu.cfg)
(/usr/local/texlive/2016/texmf-dist/tex/latex/nag/nag-orthodox.cfg))
(./ucl_thesis.cls
Document Class: ucl_thesis 2014/08/12 v1.6 UCL MRes/MPhil/PhD Thesis class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/book.cls
Document Class: book 2014/09/29 v1.4h Standard LaTeX document class
(/usr/local/texlive/2016/texmf-dist/tex/latex/base/bk12.clo))
(/usr/local/texlive/2016/texmf-dist/tex/latex/psnfss/times.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/psnfss/mathptmx.sty))
(./MainPackages.tex
(/usr/local/texlive/2016/texmf-dist/tex/latex/blindtext/blindtext.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/tools/xspace.sty))
(/usr/local/texlive/2016/texmf-dist/tex/latex/emptypage/emptypage.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphicx.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/keyval.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/texlive/2016/texmf-dist/tex/latex/graphics-cfg/graphics.cfg)
(/usr/local/texlive/2016/texmf-dist/tex/lualatex/luatex-def/luatex.def
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/infwarerr.sty)
(/usr/local/texlive/2016/texmf-dist/tex/generic/oberdiek/ltxcmds.sty))))
! Undefined control sequence.
l.21 \pdfimageresolution
                      =300
 317 words of node memory still in use:
   1 hlist, 1 rule, 1 dir, 4 glue, 40 glue_spec, 1 write nodes
   avail lists: 2:12,3:1,4:1,5:1,7:2,9:3
!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on Main.log.
make: *** [Main.pdf] Error 1

Would you know what might be the cause of it? Maybe related to:

! Undefined control sequence.
l.21 \pdfimageresolution
                      =300

Enabling APA citations

First of all, thanks for this template. It's great and saved me a lot of time.
I need to use APA citation style but the template that I found is using \documentclass[a4paper,man,natbib]{apa6} which overwrites the settings from \documentclass[12pt,phd,draft,a4paper,oneside]{ucl_thesis}.

What would be a correct way to use APA6 style citation in the ucl_thesis template?

Add a FAQ entry for Arial/Helvetica font changes

Since someone decided that Arial and Helvetica were the officially recommended fonts to set theses in, I should probably add a FAQ entry for how to do that, based on #12.

And find out who that someone is so I can ask them about it.

Long headers compressed into one line only, exceeds margins

Hi, when chapter titles exceed a certain character limit, the headers go a bit wild and continue into the margin. Can we change the height of the header? Or preferably remove the chapter/section title from the header, leaving only the page number?

Share the UCL Thesis template in sharelatex.com

Hi,
First to note I did not found any other means of contacting so my bad for putting this as an issue.

I'm a PhD student at UCL and really appreciate this template. I use a lot sharelatex and wanted to encourage you, or with your consent to share this as an UCL template for thesis there.

All the best!

\hbar not working

Hi, \hbar doesn't seem to work with amssymb at the same time.
MWE:

\documentclass[12pt,phd,a4paper,oneside]{ucl_thesis}

\usepackage{amssymb}
\begin{document}
    \begin{equation}
        \hbar
    \end{equation}
      $ \hbar $
\end{document}

This fails with the Undefined control sequence error.

Tex version:

latex --version
pdfTeX 3.141592653-2.6-1.40.24 (TeX Live 2022)
kpathsea version 6.3.4
Copyright 2022 Han The Thanh (pdfTeX) et al.
There is NO warranty.  Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Han The Thanh (pdfTeX) et al.
Compiled with libpng 1.6.37; using libpng 1.6.37
Compiled with zlib 1.2.11; using zlib 1.2.11
Compiled with xpdf version 4.03

Citation \item Error

From RC00005675:

There is an issue about the bibliography in the UCL PhD thesis latex template. When I tried to cite a reference in the thesis, it threw out an exception during the compiling : "LaTeX Error: Lonely \item--perhaps a missing list environment."

Update fonts from times to mathptx

Apparently the times package is deprecated (see #12), so it would be a good idea to work out what should be used now instead. (I think it's mathptx.)

hyperref links broken

When compiling I was getting errors such as:

pdfTeX warning (dest): name{cite.whatever} has been referenced but does not exist, replaced by a fixed one

meaning that the links in the PDF just went to the first page.

To fix this, I found that adding:
\usepackage{natbib}

before the line \usepackage{bibitem} did the trick.

I haven't found that this causes any other issues, so you might want to make this change on the repo.

Helvetica/Arial

Hi! (The template is awesome, thank you so much.)

The guidelines recommend using Arial or Helvetica.
Afraid I'm relatively new to LaTeX and so I'm not sure how to properly implement this.

I tried adding \usepackage{helvet} to MainPackages.tex to no avail.

openright doesn't do anything

\documentclass[12pt,phd,a4paper,twoside,twopage,openright]{ucl_thesis}

doesn't produce the proper openright effect.

"ucl_a4.sty" conflicts with "geometry" package

Including the ucl_a4.sty style makes it impossible to use the geometry package: simply loading it (without any options) makes this apparent. Removing ucl_a4 from the class fixes this with no other noticeable problems.

In fact, I'm not even sure why this style is necessary at all, since all well-behaved packages understand what a4paper is.

Spaces in references for web citations

Has anyone else had issues with spaces in references for web page citations?

Attached is an example of what is happening for me.

Screenshot 2022-05-08 at 12 25 23 pm

There are work arounds for this online such as here: https://tex.stackexchange.com/questions/200333/bibliography-in-latex-spaces-between-words however when I try to implement these packages which I believe are already included I get errors whilst compiling.

Does any one else know of a work around for these spaces in references? Perhaps instead of doing them as web links something else?

Regards,

Peter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.