Skip to content

LaTeX packages containing styles for writing notes and assignments

Notifications You must be signed in to change notification settings

Unisa-Notes/tex-packages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Kayzels Tex Packages

This repo contains LaTeX packages that define custom styles and commands that can be used when writing notes in LaTeX, or an assignment.

Usage

There are two ways to use these files:

  1. Add them directly to the project directory that contains the tex files being worked on. This requires importing them in a slightly different way — the normal way works, but sometimes it will complain on compiling.
    \usepackage{./notestyles}
  2. Add them to your texmf directory. On Windows, using MiKTex, you can add a custom directory to your texmf root directories, by opening MiKTex Console > Settings > Directories, and then adding a path there. I recommend making a directory at ~\texmf, set with Generic purposes. Inside that directory, the path needs to be tex\latex\custom, but custom can be replaced with whatever name you want to give the folder. After that, they can be imported into a LaTeX file as
    \usepackage{notestyles}
    Adding the files to your texmf directory has the added benefit of allowing LSPs such as texlab, and tools such as vimtex (if you use Vim or Neovim), to find the added commands and environments, which aids in autocomplete.

Packages Used

TeX packages that have been used are:

Commands Added

Commands

  • concept{text}: Marks specific text as a concept to be learned. Puts the text in bold.
  • rulebookend: Insert a decorative horizontal line at the end of the text.
  • rulechapterend: Insert a decorative horizontal line at the end of each chapter.

Environments

  • answer: Indicates an answer to a question, normally in exercises. Unbolds the text that is made bold with the question environment.
  • definition[args]{title}: Creates a definition tcolorbox, with the given title. Args are optional, and are extra parameters for the tcolorbox.
  • example[title][args]: Creates an example tcolorbox. Both the title and args are optional, but if both are included, the title must appear before the additional arguments.
    % Right
    \begin{example}[Some Title][float]
    \end{example}
    
    % Wrong
    \begin{example}[float][Some Title]
    \end{example}
  • descriptenum: Creates a mix of an enumerate list and a description list.
  • descriptimize: Creates a mix of an itemize list and a description list.
  • exercise[args]{title}: Creates an exercise tcolorbox, with the given title. Args are optional, and are extra parameters for the tcolorbox.
  • indentparagraph: Creates an indented paragraph.
  • question: Indicates a question to be answered, normally in exercises.
  • sidenote[args]{title}: Creates a sidenote tcolorbox, with the given title. Args are optional, and are extra parameters for the tcolorbox.
  • theorem[args]{title}: Creates a theorem tcolorbox, with the given title. Args are optional, and are extra parameters for the tcolorbox.

Colors

  • example color: Used for the background in examples
  • example title: Used for the title background in examples
  • example border: Used for the border around examples
  • definition color: Used for the background in definitions
  • definition border: Used for the border around definitions
  • exercise color: Used for the background in exercises
  • exercise border: Used for the border around exercises
  • note color: Used for the background in sidenotes
  • note border: Used for the border around sidenotes
  • theorem color: Used for the background in theorems
  • theorem border: Used for the border around theorems

About

LaTeX packages containing styles for writing notes and assignments

Resources

Stars

Watchers

Forks

Languages