Commit 783d7665 authored by Matthias Stierle's avatar Matthias Stierle
Browse files

fixed issue with figure label and included option for project thesis

parent c152a5cf
......@@ -79,6 +79,7 @@
\RequirePackage{array}
\RequirePackage{tabularx}
\RequirePackage{multirow}
\RequirePackage{rotating}
\RequirePackage{tablefootnote}
\RequirePackage{booktabs}
......@@ -183,7 +184,7 @@
}
\isthesis@new@option{label-principal}{label@principal}{Principal Supervisor}
\isthesis@new@option{label-associate}{label@associate}{Associate Supervisor}
\isthesis@new@option{label-tutor}{label@tutor}{Tutor}
\isthesis@new@option{label-tutor}{label@tutor}{Co-Supervisor}
\isthesis@new@option{label-author}{label@author}{Presented by}
\isthesis@new@option{label-submission}{label@submission}{Submission}
\isthesis@new@option{label-atthe}{label@atthe}{at the}
......@@ -251,6 +252,7 @@
}
}{
\ClassError{isthesis}{Unknown language ``\isthesis@language'' specified}{}
}}
% Set specific settings w.r.t. thesis type
......@@ -258,11 +260,13 @@
% Specific settings for Master Theses
}{\ifthenelse{\equal{\isthesis@type}{bachelor}}{
% Specific settings for Bachelor Theses
}{\ifthenelse{\equal{\isthesis@type}{project}}{
% Specific settings for Project Theses
}{\ifthenelse{\equal{\isthesis@type}{seminar}}{
% Specific settings for Seminar Theses
}{
\ClassError{isthesis}{Unknown type ``\isthesis@type'' specified}{}
}}}
}}}}
% Macro for creating a thesis type
% (name, language, title page caption)
......@@ -282,6 +286,8 @@
\isthesis@new@type{bachelor}{english}{Bachelor Thesis}
\isthesis@new@type{master}{english}{Master Thesis}
\isthesis@new@type{master}{german}{Masterarbeit}
\isthesis@new@type{project}{english}{Project Thesis}
\isthesis@new@type{project}{german}{Projektarbeit}
% Helper to remove line breaks from a command
\newcommand{\removelinebreaks}[1]{%
......@@ -428,10 +434,10 @@
}{%
\ifthenelse{\isundefined{\figure@toc}}{%
% Without dedicated TOC caption
\caption{\figure@caption\label{\figure@label}}%
%\caption{\figure@caption\label{\figure@label}}%
}{%
% With dedicated TOC caption
\caption[\figure@toc]{\figure@caption\label{\figure@label}}%
%\caption[\figure@toc]{\figure@caption\label{\figure@label}}%
}%
\endcenter%
\endfigure@default%
......@@ -462,10 +468,10 @@
% \endtabular%
\ifthenelse{\isundefined{\table@toc}}{%
% Without dedicated TOC caption
\caption{\table@caption\label{\table@label}}%
%\caption{\table@caption\label{\table@label}}%
}{%
% With dedicated TOC caption
\caption[\table@toc]{\table@caption\label{\table@label}}%
%\caption[\table@toc]{\table@caption\label{\table@label}}%
}%
\endcenter%
\endtable@default%
......@@ -907,9 +913,7 @@
% MISQ citation style
% see http://www.misq.org/manuscript-guidelines
\setcitestyle{%
round, % Parantheses around default citation
authoryear, % Author-year citations
sort, % Sorting of authors in a single citation
numbers, square, super
}
% The following specification needs a separate setcitestyle
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment