changed \addreference(s) so that they are on slide instead of footnote
This commit is contained in:
@@ -65,7 +65,40 @@
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
||||
% References on bottom of slide
|
||||
\newcommand{\addreference}[2]{%
|
||||
\newcommand{\addreference}[1]{%
|
||||
\scriptsize\textcolor{kit-green}{
|
||||
\begin{tabular}{lp{0.88\columnwidth}}
|
||||
\supercite{#1} & {\fullcite{#1}}
|
||||
% \supercite{#1} & {#2}
|
||||
\end{tabular}}%
|
||||
}
|
||||
|
||||
\makeatletter
|
||||
\newcommand{\addreferences}{%
|
||||
\begin{scriptsize}
|
||||
\begin{tabular}{lp{0.88\textwidth}}
|
||||
\@addreferencesi
|
||||
}
|
||||
\newcommand\@addreferencesi{
|
||||
\@ifnextchar\stopreferences{\@addreferencesend}{\@addreferencesii}
|
||||
}
|
||||
|
||||
\newcommand\@addreferencesii[1]{%
|
||||
\textcolor{kit-green100}{\supercite{#1}} & {\fullcite{#1}} \\
|
||||
\@addreferencesi % restart the recursion
|
||||
}
|
||||
\newcommand\@addreferencesend[1]{% The argument is \stopimages
|
||||
\end{tabular}
|
||||
\end{scriptsize}
|
||||
}
|
||||
\makeatother
|
||||
|
||||
|
||||
\newcommand{\citereference}[1]{\textcolor{kit-green}{\scriptsize\supercite{#1}}}
|
||||
\newcommand{\citereferencewhite}[1]{\textcolor{white}{\textbf{\scriptsize\supercite{#1}}}}
|
||||
|
||||
% Add reference in the footnote - buggy: when the last reference has two lines, the slide will split into two slides, one only has the title and one only has the content.
|
||||
\newcommand{\footaddreference}[2]{%
|
||||
% \nomarkfootnote{%
|
||||
% \begin{minipage}[t]{0.1\linewidth}
|
||||
% \scriptsize\textcolor{kit-green}{[#1]}
|
||||
@@ -87,9 +120,6 @@
|
||||
\fi%
|
||||
}%
|
||||
}
|
||||
|
||||
\newcommand{\citereference}[1]{\textcolor{kit-green}{\textbf{\scriptsize{[#1]}}}}
|
||||
\newcommand{\citereferencewhite}[1]{\textcolor{white}{\textbf{\scriptsize{[#1]}}}}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
%%%
|
||||
%%% Math macros
|
||||
|
||||
Reference in New Issue
Block a user