BFH LaTeX CI Variables
The BFH LaTeX document classes supported variables for configuring document-specific attributes. Refer to the documentation of the variables to find out what they are for and in which document class they can be used.
In all examples there is a variables.sty
file which gets included in the document preamble.
However, you can use a variable directly in the main file’s preamble instead of including
a file but we belief it is easier to handle properties using a dedicated variable.sty
file instead.
Use BFH document variables as follows:
\VariableName{VariableValue}
Among BFH LaTeX CI variables there are KOMA-Script variables, which are provided by the underlying KOMA-Script packages/classes. See the KOMA-Script documentation for further about its purpose and how to use.
advisor
optional
Default : None
Description : Used to set the thesis advisor(s) name
Where : On title pages
Class : bfhthesis
Usage :
\advisor{Prof. Dr. S. Smart}
author
optional
Default : None
Description : Used to set the document author(s)
Where : On title pages
Class : bfhthesis, bfhpub, bfhsciposter, bfhbeamer
Usage :
\author{Anton Muster \and Cindy Example}
coadvisor
optional
Default : None
Description Used to set the thesis coadvisor(s) name.
Where : On title pages
Class : bfhthesis
Usage :
\coadvisor{Dr. M. Smart}
declarationOfAuthorship
optional
Default :
Description : Adds a predefined declaration of authorship text in selected language
Where : user defined
Class : bfhthesis, bfhpub
Usage :
\declarationOfAuthorship
degreeprogram
optional
Default : None
Description : Used to set the degree program
Where : On title pages
Class : bfhthesis
Usage :
\degreeprogram{Bachelor of Computer Sciences}
department
optional
Default : None
Description : Used to set the name of the department. E.g Technology and computer science
Where : On title pages – bfhthesis; bfhpub;
Usage :
\department{DEPARTMENT NAME}
expert
optional
Default : None
Description : Used to set the thesis expert(s)
Where : On title pages.
Class : bfhthesis
Usage :
\expert{EXPERT NAME}
institute
optional
Default : None
Used to set the name of the institute. E.g Micro and Medical Technology
Where : On title pages
Class : bfhthesis, bfhpub, bfhsciposter, bfhbeamer
Usage :
\institute{INSTITUTE NAME}
institution
optional
Default : None
Description : Used to set the name of the institution i.e. Bern University of Applied Sciences
Where : On title pages
Class : bfhthesis, bfhpub
Usage :
\institution{INSTITUTION NAME}
partnerlogo
optional
Default : None
Description : To add a partnerlogo on the documentation. Configure the height with
height
Where : On title pages
Class : bfhthesis, bfhpub, bfhbeamer, bfhsciposter
Usage :
\partnerlogo{\includegraphics[height=\height]{partnerlogo-expl}}
projectpartner
optional
Default : None
Description : Used to set the thesis company name
Where : On title pages
Class : bfhthesis
Usage :
\projectpartner{COMPANY NAME}
publishers
optional
Default : None
Description : Used to set the publishers name
Where : On title pages
Class : bfhpub
Usage :
\publishers{PUBLISHERS}
setupBfhTabular
optional
Requirement :
\PassOptionsToPackage{table}{xcolor}
must be set before the document classDefault : Empty
Description : Used to setup a BFH Tabular
Where : Anywhere throughout the document
Class : bfhthesis, bfhpub, bfhbeamer
Usage :
\begin{table}
\setupBfhTabular
\begin{tabular}{lll}
\rowcolor{BFH-tablehead} % To change color of table see BFH Name aliases
Header 1&Header 2&Header3\\\hline
Content 11&Content 12&Content 13\\\hline
Content 21&Content 22&Content 23
\end{tabular}
\caption{table caption}
\label{table-label}
\end{table}
setupSignature
optional
Requirement :
declarationOfAuthorship
must be set in documentDefault : Empty
Description : Used to set signature placeholder and add a digital signature as svg, pdf or png as well
Where : On the declaration of authorship
Class : bfhthesis
Usage :
\setupSignature{
%% Begin example code snippet
A. Muster={\includegraphics[width=.4\linewidth]{sig_muster}},
B. Meier={},
C. Example={\includegraphics[width=.4\linewidth]{sig_example}\vskip-0.5em}
%% End example code snippet
}
subject
optional
Default : None
Description : Used to set the document subject
Where : On title pages
Class : bfhpub
Usage :
\subject{SUBJECT}
subtitle
optional
Default : None
Description : Used to set the document sub-title. In thesis class i.e. the thesis subject
Where : On title pages
Class : bfhthesis, bfhpub, bfhbeamer
Usage :
\subtitle{SUBTITLE}
title
mandatory
Default : None
Description : Used to set the document title.
Where : On title pages
Class : bfhthesis, bfhpub, bfhsciposter, bfhbeamer
Usage :
\title{TITLE}
titlegraphic
optional
Default : None
Description : Used to assign an image to be used as a banner on the title page. To use a svg file use
\includesvg
instead of\includegraphics
Where : As title page banner image
Class : bfhthesis, bfhpub, bfhsciposter, bfhbeamer
Usage :
\titlegraphic{\includegraphics[width=\width]{SOME_PICTURE}}
version
optional
Default : None
Description : Used to set the document version
Where : On title pages
Class : bfhthesis, bfhpub
Usage :
\version{1.0.0}