69 lines
2.5 KiB
TeX
69 lines
2.5 KiB
TeX
$if(false)$
|
|
% This file defines the author block and affiliation block
|
|
% based on the author and affiliation theme
|
|
% none, plain, colorbox, doublelined
|
|
$endif$
|
|
|
|
\newcommand{\titleandsubtitle}{
|
|
% Title and subtitle
|
|
$if(title)$
|
|
{$if(titlepage-theme.title-fontsize)$\fontsize{$titlepage-theme.title-fontsize$}{$titlepage-theme.title-spacing$}\selectfont
|
|
$endif$$if(titlepage-theme.title-color)$\textcolor{$titlepage-theme.title-color$}$endif${$for(titlepage-theme.title-fontstyle)$\$titlepage-theme.title-fontstyle${$endfor$\nohyphens{$title$}$for(titlepage-theme.title-fontstyle)$}$endfor$}\par
|
|
}%
|
|
$endif$
|
|
$if(subtitle)$
|
|
|
|
\vspace{\betweentitlesubtitle}
|
|
{
|
|
$if(titlepage-theme.subtitle-fontsize)$\fontsize{$titlepage-theme.subtitle-fontsize$}{$titlepage-theme.subtitle-spacing$}\selectfont
|
|
$endif$$if(titlepage-theme.subtitle-color)$\textcolor{$titlepage-theme.subtitle-color$}$endif${$for(titlepage-theme.subtitle-fontstyle)$\$titlepage-theme.subtitle-fontstyle${$endfor$\nohyphens{$subtitle$}$for(titlepage-theme.subtitle-fontstyle)$}$endfor$}\par
|
|
}$endif$}
|
|
$--
|
|
$if(titlepage-style-code.title.none)$
|
|
\newcommand{\titlepagetitleblock}{}$endif$
|
|
$--
|
|
$if(titlepage-style-code.title.plain)$
|
|
\newcommand{\titlepagetitleblock}{
|
|
\titleandsubtitle
|
|
}
|
|
$endif$
|
|
$--
|
|
$if(titlepage-style-code.title.colorbox)$
|
|
\newcommand{\titlepagetitleblock}{
|
|
{\setlength{\fboxrule}{$if(titlepage-theme.title-colorbox-borderwidth)$$titlepage-theme.title-colorbox-borderwidth$$else$0pt$endif$}
|
|
\fcolorbox{$if(titlepage-theme.title-colorbox-bordercolor)$$titlepage-theme.title-colorbox-bordercolor$$else$black$endif$}{$if(titlepage-theme.title-colorbox-fill)$$titlepage-theme.title-colorbox-fill$$else$cyan$endif$}{
|
|
\parbox[t]{0.90\minipagewidth}{ % Outer full width box
|
|
\parbox[t]{0.85\minipagewidth}{ % Inner box for inner right text margin
|
|
$if(titlepage-theme.title-align)$\titlepagetitlealign$else$$if(titlepage-theme.page-align)$\titlepagepagealign$endif$$endif$
|
|
\vspace{0.7cm}
|
|
|
|
\titleandsubtitle
|
|
|
|
\vspace{0.7cm}
|
|
}} % end of parboxes
|
|
} % fcolorbox
|
|
} % ensure fbox set is restricted
|
|
}$endif$
|
|
$--
|
|
$if(titlepage-style-code.title.doublelinewide)$
|
|
\newcommand{\titlepagetitleblock}{
|
|
\rule{\textwidth}{0.4pt} % Thin horizontal rule
|
|
\vspace{0.025\textheight} % Whitespace between the top rules and title
|
|
|
|
\titleandsubtitle
|
|
|
|
\vspace{0.025\textheight}
|
|
\rule{0.3\textwidth}{0.4pt} % Short horizontal rule under the title
|
|
}$endif$
|
|
$--
|
|
$if(titlepage-style-code.title.doublelinetight)$
|
|
\newcommand{\titlepagetitleblock}{
|
|
\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
|
|
|
|
\HRule\\[0.4cm]
|
|
|
|
\titleandsubtitle
|
|
|
|
\HRule\\
|
|
}$endif$
|