8000 GitHub - IAS-Uni-Siegen/course_template: LaTeX classes for lecture, exercise and exam documents
[go: up one dir, main page]

Skip to content

IAS-Uni-Siegen/course_template

Repository files navigation

Course Template

CC BY 4.0 made-with-latex

This work is licensed under a Creative Commons Attribution 4.0 International License.

CC BY 4.0

This repository provides LaTeX classes for creating structured academic documents, including lectures, exercises, and exams. The template is designed to standardize and simplify document creation for courses, with built-in formatting and styling.

LaTeX Classes Overview

Lecture Class (lectureClass.cls)

Provides a clean and professional layout for lecture notes, with support for:

  • Author information
  • Titles
  • Footnotes
  • A consistent structure for academic content

Exercise Class (exerciseClass.cls)

Designed for exercise sheets, this class enables easy structuring of:

  • Problems
  • Solutions
  • Formatting features such as sectioning and problem numbering

Exam Class (examClass.cls)

This class assists in the formatting of exams by providing:

  • Automatic question numbering
  • Consistent spacing
  • Header formatting for exam information

Usage

  • Clone the repository:

    git clone https://github.com/IAS-Uni-Siegen/course_template.git
  • Use the LaTeX .cls files in your documents:

    \documentclass{lectureClass}  % or exerciseClass, examClass
  • Compile your .tex files as usual with pdflatex, xelatex, or your preferred LaTeX compiler.

Adding Course Template as a Submodule

To integrate this repository into your existing project as a submodule, follow these steps:

  • Navigate to your project directory in the terminal.

  • Add the course template repository as a submodule:

    git submodule add https://github.com/IAS-Uni-Siegen/course_template.git
  • Initialize and update the submodule to ensure it is ready for use:

    git submodule init
    git submodule update

This allows you to use the LaTeX classes provided in the course template repository directly within your project.

Customization

  • Default theme is unisiegen-IAS

  • General color palette and pdfdata options are defined in .sty files in theme/ which can be modified as necessary

  • In theme folder, you can create your own theme as yourtheme.sty and load it updating class option in main.tex:

    \documentclass[s
    7492
    olution, yourtheme]{../course_template/exerciseClass}
  • For the repository to work out-of-the-box with custom theme, it must have defaultcolor and defaultlightcolor defined in your custom theme file

  • As additional examples, unisiegen and unipaderborn themes are provided

  • For advanced customization, files in style folder can be modified

Notes

Expected Warnings and Workaround:

  • Depending on how you include the .cls files in your project, it is possible that latex might generate following warning:

    LaTeX: You have requested document class '../course_template/exerciseClass', but the document class provides 'exerciseClass'.
  • Although, this warning does not affect document generation and can be ignored here, it can be resolved by updating TEXINPUTS environment variable. If you are using VSCode with LaTeX-Workshop extension, procedure to update environment variable is available at LaTeX-Workshop wiki.

Color Vision Deficiency (CVD) Accessibile Color Palette:

About

LaTeX classes for lecture, exercise and exam documents

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5

Languages

0