Skip to content
Snippets Groups Projects
Select Git revision
  • 42ff034bab2aa7424b10ca6a31c0e4ee2d3c77e2
  • Praxisbericht default protected
2 results

HsH-article.cls

Blame
  • HsH-article.cls 13.55 KiB
    %%
    %% This is file `HsH-article.cls',
    %% generated with the docstrip utility.
    %%
    %% The original source files were:
    %%
    %% HsH-classes.dtx  (with options: `article')
    %%
    %% This is a generated file.
    %%
    %% Copyright (C) 2021 by Jan Wille <mail@janwille.de>
    %%
    %% This file may be distributed and/or modified under the conditions of
    %% the LaTeX Project Public License, either version 1.3 of this license
    %% or (at your option) any later version.  The latest version of this
    %% license is in:
    %%
    %%    http://www.latex-project.org/lppl.txt
    %%
    %% and version 1.3 or later is part of all distributions of LaTeX version
    %% 2021/01/01 or later.
    %%
    \typeout{Adapted from KOMA script for use in Hochschule Hannover <2022-03-28> Jan Wille}
    \NeedsTeXFormat{LaTeX2e}
    \newcommand{\myClassName}{HsH-article}
    \ProvidesClass{\myClassName}[2022/03/28 v1.4 HsH-Class based on KOMA]
    
    %% commands for HsH-logo
    \newcommand{\HsHlogoPath}{HSH-Logo.pdf}
    \newcommand{\HsHlogoPage}{1}
    \newcommand{\includeHsHlogohere}[1][5cm]{\includegraphics[width=#1,page=\HsHlogoPage]{\HsHlogoPath}}
    \newif\if@german%
    
    %% document options -------------------------------------------------------------------------------
    \DeclareOption{german}{
      \@germantrue
    }
    \DeclareOption{ngerman}{
      \@germantrue
    }
    \DeclareOption{english}{
      \@germanfalse
    }
    \DeclareOption{f1}{
      \renewcommand{\HsHlogoPage}{2}
    }
    \DeclareOption{f2}{
      \renewcommand{\HsHlogoPage}{3}
    }
    \DeclareOption{f3}{
      \renewcommand{\HsHlogoPage}{4}
    }
    \DeclareOption{f4}{
      \renewcommand{\HsHlogoPage}{5}
    }
    \DeclareOption{f5}{
      \renewcommand{\HsHlogoPage}{6}
    }
    \DeclareOption{sans}{
      \renewcommand{\familydefault}{\sfdefault}
    }
    \DeclareOption{roman}{
      \renewcommand{\familydefault}{\rmdefault}
    }
    \DeclareOption*{\expandafter\PassOptionsToClass\expandafter{\CurrentOption}{scrartcl}}
    \ExecuteOptions{fontsize=11pt,a4paper,ngerman,sans} % default options
    \ProcessOptions\relax
    %% Load KOMA class
    \LoadClass{scrartcl}
    \KOMAoption{toc}{bibliography,listof}