1
0
Fork 0
mirror of https://gitlab.com/netravnen/NetworkLabNotes.git synced 2024-11-23 19:17:54 +00:00

new command wikicommons

This commit is contained in:
chhan11 2017-06-18 14:55:52 +02:00
parent fb7c7a65cc
commit 681ec014f1

View file

@ -19,8 +19,15 @@
% Usage: % Usage:
\newcommand{\xkcd}[2]{\fig{xkcd/#1}{#1}{#2\\% \newcommand{\xkcd}[2]{\fig{xkcd/#1}{#1}{#2\\%
{\tiny\MakeUppercase{https://imgs.xkcd.com/comics/#1.png}\hskip3mm% {\tiny\MakeUppercase{https://imgs.xkcd.com/comics/#1.png}\hskip3mm%
License: \texttt{\href{https://creativecommons.org/licenses/by-nc/2.5/}{CC BY-NC 2.5}}% License: \texttt{\href{https://creativecommons.org/licenses/by-nc/2.5/}{CC BY-NC 2.5}}}%
}}} }}
% Usage:
\newcommand{\wikicommons}[2][]{\fig{wikimediacommons/#2}{#2}{#1\\%
{\tiny\href{https://commons.wikimedia.org/wiki/File:#2.svg}{commons.wikimedia.org/wiki/File:#2.svg}\hskip3mm%
License: \texttt{\href{https://creativecommons.org/licenses/by-sa/3.0/}{CC BY-SA 3.0}}}%
}}
% Usage: % Usage: