Giter VIP home page Giter VIP logo

tudelft-light's Introduction

Anurag's GitHub stats

tudelft-light's People

Contributors

skilkis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

leicmi

tudelft-light's Issues

Change logic of cover page background

Currently the background header_fill is hardcoded to tudelft-black. This needs to be changed to be conditional based on whether the light or dark mode is selected.

Assymetric margins

Option to reduce margins on the outside of pages (non-binding side) instead of symmetric margins on inside and outside of the page. This would allow slightly more space for text and wide tables/images and reducing page count.

Change use of \import to \include in example

Using \include to add chapters results in an .aux file generated per chapter. This is beneficial when used with the \includeonly command that can render only the documents that one passes as arguments to that macro while keeping all of the required references intact without errors [1]. Another benefit to using \include over \import is the ability for the VS Code LaTeX extension to generate a report structure while writing.

Decide if useful packages should be included by default

Some useful packages for formatting LaTeX documents demonstrated in the examples can be helpful for users to get started. It should be decided what is the best way to include these in the template as too many packages included in the default package list could quickly get out of hand.

List of useful packages

Template does not compile on TeXLive 2020

The error generated by TeXLive 2020 is as follows as per GitHub Actions:

/opt/texlive/texdir/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty:479: LaTeX
 Error: The font size command \normalsize is not defined:
               there is probably something wrong with the class file.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              

Upon inspection this is caused by tudelft-light/report.cls calling LoadClass on report.cls which leads to a namespace conflict. Furthermore, as a result, the \normalsize macro is never loaded from the LaTeX standard library report class file.

Add \cdot as unit product

Adding \cdot as product to \si commands for better readability?

\sisetup{
inter-unit-product=\ensuremath{{\cdot}},
}

Add command/macro for research questions

something as discussed here:
https://tex.stackexchange.com/questions/525921/ideas-for-presenting-the-research-question

something like this:

\newlist{questions}{enumerate}{2}
\setlist[questions,1]{label=\bf{RQ-\arabic*.},ref=RQ-\arabic*, leftmargin=*}
\setlist[questions,2]{label*=\indent \bf{\arabic*.},ref=\thequestionsi.\arabic*}
\let\origitem\item
\renewcommand{\item}{\normalfont\origitem}
\newcommand{\question}{\normalfont\origitem\em}
\crefname{questionsi}{research question}{research questions}
\crefname{questionsii}{research sub-question}{research sub-questions}

Re-create the current cover page using TikZ

The current cover page that was generated with Adobe InDesign can be translated to TikZ due to it's simplicity. Make sure to include a version for light and dark backgrounds.

  • Create \makecover command
  • Add ability to position background picture
  • Use correct TU-Delft Light font
  • Add ability to rotate and scale background picture
  • Add ability to switch between light and dark theme
  • Add ability to change header background opacity (alpha)
  • Correct date format with datetime package
  • Document all makecoveroptions

Change Roman symbols abbreviation from "B" to "R"

The nomenclature grouping has a strange naming convention when it comes to the Roman symbols. It would make more sense to change it to use "R" instead of "B". This would however be a breaking change, and it is not clear how to deprecate use of the "B" nomenclature group without breaking backwards compatibility now.

Should a macro be made for creating the front matter of the report?

The macro should take key, value pairs where the key is the abbreviation for a chapter in the front matter and the key is the name for that chapter. An example of the usage would be as follows:

\frontmatter{%
    toc=Table of Contents,
    los=List of Symbols,
    lof=List of Figures,
}

The key, value pairs should be false by default such that when they are omitted that section of the frontmatter is not created.

Twoside geometry definition cannot be overwritten

The declaration of an alternate geometry in the report.cls file when the twoside option is used prevents the user from
modifying the default geometry using the \PassOptionsToPackage macro. This is detrimental towards keeping the template as easily configurable as possible.

Consider renaming setup.sty to metadata.sty

The setup.sty package deals with setting up the metadata of the document. However, the name "setup" is ambiguous and could be changed to "metadata" to be more descriptive.

Outer cover title auto-size

Ability to set the maximum amount of lines the outer cover title may use and changes font size accordingly.
Disable word splitting when wrapping text.

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.