From 681ec014f1721c1ee6cf8b0ffa8d4139c0a39b4a Mon Sep 17 00:00:00 2001 From: chhan11 Date: Sun, 18 Jun 2017 14:55:52 +0200 Subject: [PATCH] new command wikicommons --- commands.tex | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/commands.tex b/commands.tex index 61cbc05..ce240e8 100644 --- a/commands.tex +++ b/commands.tex @@ -19,8 +19,15 @@ % Usage: \newcommand{\xkcd}[2]{\fig{xkcd/#1}{#1}{#2\\% {\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: