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:
36
thesis/hgbheadings.sty
Normal file
36
thesis/hgbheadings.sty
Normal file
@ -0,0 +1,36 @@
|
||||
%% hgbheadings.sty
|
||||
%% Headings setup
|
||||
%% This file is part of the Hagenberg Thesis package for creating bachelors's and masters's theses
|
||||
%% Author: Wilhelm Burger (wilbur@ieee.org)
|
||||
%% GitHub: https://github.com/Digital-Media/HagenbergThesis
|
||||
%% File encoding: ASCII
|
||||
|
||||
\ProvidesPackage{hgbheadings}[2023/11/06]%%AUTO
|
||||
|
||||
\RequirePackage{fancyhdr}
|
||||
\pagestyle{fancy}
|
||||
|
||||
\RequirePackage[sf,raggedright]{titlesec} % use sans serif for chapter/section headings
|
||||
|
||||
\@ifundefined{chapter}%
|
||||
{}%
|
||||
{\renewcommand{\chaptermark}[1]{%
|
||||
\ifthenelse{\value{chapter} < 1}%
|
||||
{\markboth{#1}{}}%
|
||||
{\markboth{\thechapter.\ #1}{}}
|
||||
}}
|
||||
|
||||
\addtolength{\headheight}{\baselineskip}
|
||||
\renewcommand{\headrulewidth}{0pt} % thin line under header
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
\fancyhf{} % clear all fields.
|
||||
\fancyhead[R]{\sffamily\thepage} %{\bf \rightmark}
|
||||
\fancyhead[L]{\sffamily\nouppercase{\leftmark}} %{\slshape \leftmark}
|
||||
|
||||
\fancypagestyle{plain}{%
|
||||
\fancyhf{} % clear all header and footer fields
|
||||
\fancyfoot[C]{\sffamily\thepage} % except the center
|
||||
\renewcommand{\headrulewidth}{0pt}
|
||||
\renewcommand{\footrulewidth}{0pt}
|
||||
}
|
||||
|
Reference in New Issue
Block a user