Added license attribution to XKCD comic strips

This commit is contained in:
chhan11 2017-06-06 08:38:16 +02:00
parent 518a1d4707
commit c1f211cec9
2 changed files with 9 additions and 1 deletions

View File

@ -24,7 +24,9 @@
}
\newcommand{\xkcd}[2]{\fig{xkcd/#1}{#1}{#2\\%
{\tiny\MakeUppercase{https://imgs.xkcd.com/comics/#1.png}}}}
{\tiny\MakeUppercase{https://imgs.xkcd.com/comics/#1.png}\hskip3mm%
License: \href{https://creativecommons.org/licenses/by-nc/2.5/}{CC BY-NC 2.5}%
}}}
% Usage: \svg{<path-to-file>}{<label>}{<caption>}
\newcommand{\svg}[3]{

View File

@ -39,6 +39,12 @@
\usepackage{titling} % makes available \thetitle \theauthor \thedate
\usepackage[toc,acronym,footnote,nomain]{glossaries} % Load the package with the acronym option
\usepackage{chngcntr}
\usepackage[unicode=false,
colorlinks=true,
linkcolor=darkgray,
citecolor=darkgray,
filecolor=darkgray,
urlcolor=darkgray]{hyperref} % https://en.wikibooks.org/wiki/LaTeX/Hyperlinks
\bibliographystyle{unsrtnat} %styles list https://www.sharelatex.com/learn/Natbib_bibliography_styles