added thesis structure
Some checks are pending
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, 1.10) (push) Waiting to run
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, 1.6) (push) Waiting to run
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, pre) (push) Waiting to run
Some checks are pending
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, 1.10) (push) Waiting to run
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, 1.6) (push) Waiting to run
CI / Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }} (x64, ubuntu-latest, pre) (push) Waiting to run
This commit is contained in:
67
thesis/hgbreport.cls
Normal file
67
thesis/hgbreport.cls
Normal file
@ -0,0 +1,67 @@
|
||||
%% hgbreport.cls
|
||||
%% LaTeX template for creating lab and term reports as well as other forms of academic documentation
|
||||
%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
|
||||
%% Author: Wolfgang Hochleitner (wolfgang.hochleitner@fh-hagenberg.at)
|
||||
%% GitHub: https://github.com/Digital-Media/HagenbergThesis
|
||||
%% File encoding: ASCII
|
||||
|
||||
%% Package Information --------------------------------------------------------
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}
|
||||
\ProvidesClass{hgbreport}[2023/11/06]%%AUTO
|
||||
|
||||
\typeout{****************** hgbreport.cls (options=\@nameuse{opt@hgbreport.cls}) ***********************}
|
||||
|
||||
\RequirePackage{xifthen}
|
||||
|
||||
\RequirePackage{ifpdf} % for checking PDF mode
|
||||
\ifpdf{}% \typeout{hgbreport: *** LaTeX in PDF mode ***}
|
||||
\else{\errmessage{hgbreport: *** LaTeX NOT running in PDF mode ***}}
|
||||
\fi
|
||||
|
||||
%% Handling class options --------------------------------------------------------------
|
||||
|
||||
\DeclareOption{notitlepage}{\PassOptionsToClass{\CurrentOption}{report}}
|
||||
\DeclareOption{apa}{\PassOptionsToPackage{\CurrentOption}{hgbbib}}
|
||||
% pass all other options to hgb.sty
|
||||
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{hgb}}
|
||||
\ProcessOptions*
|
||||
|
||||
|
||||
%% Paper options and style file -----------------------------------------------
|
||||
|
||||
\LoadClass[a4paper,11pt,onecolumn]{report}
|
||||
\RequirePackage[top=36mm,bottom=40mm,left=32mm,right=32mm]{geometry} %showframe
|
||||
|
||||
\RequirePackage{hgb} % load style file hgb.sty with options registered above
|
||||
|
||||
|
||||
%% Set title font to SF and inject PDF meta-data
|
||||
\RequirePackage{titling}
|
||||
\renewcommand{\maketitlehooka}{%
|
||||
\sffamily%
|
||||
\hypersetup{
|
||||
pdftitle={\@title},
|
||||
pdfauthor={\@author},
|
||||
pdfsubject={},
|
||||
pdfcreator={LaTeX using class hgbreport [\hgbDate]},
|
||||
pdfproducer={pdflatex},
|
||||
pdfkeywords={}
|
||||
}%
|
||||
}
|
||||
|
||||
%% Set abstract name to bold
|
||||
\RequirePackage{abstract}%
|
||||
\renewcommand{\abstractnamefont}{\sffamily\small\bfseries}
|
||||
|
||||
|
||||
%% Additional Hagenberg packages ----------------------------------------------
|
||||
|
||||
\RequirePackage{hgbmath}
|
||||
\RequirePackage{hgbalgo}
|
||||
\RequirePackage{hgbheadings}
|
||||
\RequirePackage{hgbabbrev}
|
||||
\RequirePackage{hgblistings}
|
||||
\RequirePackage{hgbbib}
|
||||
|
||||
\endinput
|
Reference in New Issue
Block a user