Giter Club home page Giter Club logo

eth-summary-template's Introduction

ETHZ Summary Template

action status

This repository contains the LaTeX summary template which can be used as a submodule or as a starting point for your lecture summary.

Example.pdf

Topics documented in this ReadMe:

How to use this template

If your summary is hosted on GitHub or GitLab the best way to use this template is by including it as a submodule. The next step describes how to achieve this. If you don't use a version control tool to manage your changes you can also just download this template and copy the files into the subfolder src/template in your summary directory. In this case you can skip the next step and proceed with the LaTeX setup.

Include this repo as a submodule

Navigate to the root folder of your existing repository and execute the following command:

git submodule add https://github.com/MeierTobias/eth-summary-template.git src/template

This adds the template repo to the folder src/template

Remember: If you later want to clone your repository to another machine you need to add the --recurse-submodules flag to your clone command to pull the submodules. git clone --recurse-submodules https://github.com/your/repository.git

LaTeX setup

Navigate to the subfolder that contains this repository src/template there you find a folder called example. Copy the two files main.tex and var.tex to the src folder. This can also be done by executing the following command:

cp src/template/example/* src

Open the newly copied var.tex file in your src directory and adjust the parameters (values in the left most curly braces) to your needs.

Parameter Description
\templatePath Specifies the relative path from your main.tex file to the template folder
\summaryTitle Summary title
\summarySubTitle Line below the title
\summaryAuthor Autors
\repoURL Link to your repository
\summaryInfo General information about your summary
\imagePath Relative path to your image folder
\orientationmode Landscape or portrait
\papersize A4 or A3
\fontheight Font size
\includeexamples Specify if you want to print the example environment or not. (1 or 0)

Now you are ready to compile the main.tex file and start working on your summary.

Important Make sure to compile with xelatex (required by fontspec).

We recommend to read the style guide and follow these guidelines whenever possible.

VS Code setup

If you use the LaTeX Workshop extension we provide an example settings file in this repository to get you started. Just copy the file src/template/.vscode/settings.json.example to .vscode and remove the .examplein the filename.

LaTeX checker ChkTeX

To get more information about the different warnings search for your warning code in the ChkTeX documentation. If you want to disable a checker warning on a specific line you can add % chktex ## to the end of the line with the warning number you want to suppress.

Contributing

Feel free to fork this repository and create a pull request to integrate your corrections and extensions.

HINT: If you're working on this template repository itself change the \templatePath parameter to ../ to compile the main.tex example.

Acknowledgements

Thanks to S. for creating the AMIV/ETHZ summaries LaTeX template which was used as a starting point for this project and can be downloaded here.

License

Distributed under the MIT License. See LICENSE for more information.

eth-summary-template's People

Contributors

meiertobias avatar juripfammatter avatar

Stargazers

 avatar

Watchers

 avatar

eth-summary-template's Issues

paragraph spacing

Find a clean way to introduce spacing inbetween paragraphs

  • \vspace*{4pt}
  • \
  • \par (is obsolete because \parskip=0pt)

Color scheme

A rework of the color scheme would improve the readability/distinction of the sections

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.