tiexercise.sty: insert appropriate document header

...by default

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
tiexercise.cls: add \inserttext macro

This macro automatically inserts either \insertproblem or \insertproblem
depending on whether the `solution` option was passed to \documentclass
or not.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Clean up tienv and remove redundant brackets in...

tiexercise.sty

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
tiexercise.sty: use ISO 8601 format for date
tiexercise.cls: set language in \AtBeginDocument

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
timath: let \probop expand to a regular `P`

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
timath: fix transposition operator

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
timath: enclose \vm in an extra pair of {}

This allows for constructions like $f_\vm{X}$ instead of $f_{\vm{X}}$.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
timath: base macros on mathMacros of the TI script

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
added transformation signs
tiexercise.sty: include tienv by default

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
tiexercise.cls: don't use \CurrentOption directive

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Use \expandafter to process \CurrentOption in \def

Defining macros with the \def directive requires the use of \expandafter
if the content of \CurrentOption should be used in the expansion of the
new macro.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Rename tiexercise.sty to tiproblem.sty

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
tiproblem: rename internal \SolutionSuffix macro

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
tiexercise.cls: redefine \setfirstproblem command

The \setfirstproblem macro now either expands to \setproblemnumber or
\setsolutionumber, depending on whether the `solution` option is passed
to the tiexercise class.

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
tiinternal.sty: include the subcaption package

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
Add tiarticle document class

This document class provides a basic page layout used, for instance, in
exercise sheets and exams

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
tiinternal.sty: update hyphenation list

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>
tiexercise.cls: use tiarticle as documentclass

Signed-off-by: Niklas Koep <niklas.koep@gmail.com>