Code Monkey home page Code Monkey logo

edinburgh-math-latex's People

Contributors

bencwbrown avatar foggalong avatar quark67 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

edinburgh-math-latex's Issues

Pres sans captial greek

Running into an issue where the capital $\Sigma$ is appearing as a black-box font error in presentations. The workaround for now is to default mathmode back to serif fonts \usefonttheme[onlymath]{serif} but would like a way to keep this in general b/c the themes math rendering is much nicer otherwise.

"Missing number, treated as zero" with edmaths.sty

"Missing number, treated as zero." is returned as an error to the below thesis skeleton, when run with the present version of edmaths.sty

This error is not returned when I use the edmaths.sty style file available through a private link at https://teaching.maths.ed.ac.uk/main/undergraduate/studies/honours/year-5/projects/reports

I suggest the inclusion of another minimal working example, of the report class, in the bundled documents. Presently, I can only see a beamer example (which does work).

%thesis.tex 
%Model LaTeX file for Ph.D. thesis at the 
%School of Mathematics, University of Edinburgh

\documentclass[10pt,twoside,openright]{report} 

\title{Thesis title}
\author{Postgraduate Student}
\date{2009}

\usepackage[phd]{edmaths}

\begin{document}

\maketitle

\declaration

\dedication{To my ...}

\begin{abstract}
My abstract.
\end{abstract}

\tableofcontents

\chapter{First Chapter}

\section{First section}

\section{Second section}

\chapter{Second Chapter}

\appendix

\chapter{First Appendix}

\end{document}

Pres RHS White Bar

Noticed when giving a presentation against a black background that there's a very thin white bar which appears along the right hand side of rendered presentations. Hadn't noticed this previously because all my PDF readers have white backgrounds.

Sans-serif Font

Bella has highlighted that the UoE guidelines actually recommend (but don't require) a sans-serif font while the ones this package (and it's original) provide are all serif. Would be worth adding an additional option like fourier to use helevita or similar.

Error in the documentation? (section 3.3 Fonts)

Describe the problem or request
The documentation say that the package fontenc needs XeLaTeX or LuaLaTeX. This seems false (fontspec needs these engine, but here the cmbright option don't load fontspec, but fontenc).

Screenshots
image

Additional context
The lines 99 to 106 of edmaths.sty are:

% If with-cmbright selected, use the (sans-serif) Computer Modern Bright font.
\ifthenelse{\boolean{with-cmbright}}{
    % NOTE must be compiled with xelatex or luatex
    \RequirePackage{cmap}
    \RequirePackage{cmbright}
    \RequirePackage[T1]{fontenc}
    \RequirePackage{microtype}
} {}

The comment in line 101 seems to be wrong.

On lines 108 to 113, we read:

% :)
\ifthenelse{\boolean{with-comicsans}}{
    % NOTE must be compiled with xelatex or luatex
    \usepackage{fontspec}
    \setmainfont{Comic Sans MS}
} {}

Perhaps the line 101 is a copy and paste of line 110 (which is correct, because of the loading of fontspec at line 111).

Documentation Messy

Documentation for all components is very messy, would be good to standardise:

  • edmaths
  • Usher Beamer
  • beamernotes
  • setspace

Newlines in beamernotes

Beamernotes can't properly handle newlines, either explicitly or via \n, in notes. It crashes with a command error. I'm not sure whether LaTeX supports newlines in command arguments so some workaround might be needed here.

Accessible Presentations

Aside from the brand guidelines, the university has guidance on creating accessible powerpoints. While some of this won't be possible to replicate in LaTeX, e.g.

Use standard slide layouts and check order of information in outline view to ensure accessibility for those reading slides using screen readers.

most of the points can be integrated into the beamer theme without worry, e.g.

Do not use colour as the only indicator of meaning, such as priority items shown in red.

and some can be added as advice in the docs, e.g.

Bullet points assist in making slides easier to follow.

Option to Avoid Blank Pages for Unnumbered Chapters

Hi there,

First off, thank you for providing this excellent stylesheet! It has been a pleasure to use, and it really makes the thesis writing process much smoother.

I've just started working on my thesis, and I noticed that when using the twoside option, the stylesheet enforces all chapters to begin on odd-numbered pages. While this is great for numbered chapters, it results in undesired blank pages between certain unnumbered chapters like the abstract and lay summary, as well as chapters like acknowledgement.

An ugly way to fix

To address this, I’ve temporarily redefined the \cleardoublepage command for these specific unnumbered chapters, so they don’t force a new odd-numbered page. Here's a snippet of how I’ve done this:

\begin{document}

% Temporarily redefine \cleardoublepage
\let\origcleardoublepage\cleardoublepage
\let\cleardoublepage\clearpage


\flushbottom
\pagenumbering{roman}

\maketitle

\declaration{}

\abstract{}

\laysummary{}

\tableofcontents

% Restore original  \cleardoublepage behaviour
\let\cleardoublepage\origcleardoublepage

Other thoughts

It would be fantastic if the stylesheet could include an option or a more elegant solution to handle these unnumbered chapters without inserting blank pages. This would help avoid the need for users to manually redefine commands or implement workarounds, ensuring a cleaner and more intuitive experience.

Thank you for considering this request, and I appreciate all the work that’s gone into this project!

Unknown Licenses

The following files have unknown licensing, and an effort should be made to find them:

  • beamernotes.sty
  • beamerthemeUsherNew.sty
  • edmaths.sty
  • edmaths documentation
  • University of Edinburgh logos
  • setspace.sty

Subtitle Support

Subtitles aren't part of the standard report/article templates, would be nice if we can get them in edmaths.

  • Double check subtitles are permissible in the UoE guidelines
  • Add subtitle support to the report
  • Improve subtitle support in the presentation
  • Add subtitles to the example projects

edmaths can't handle subtitles

For some reason edmaths can't properly handle document subtitles, it just throws a command error. Needs investigation

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.