mirror of
https://gitlab.com/netravnen/NetworkLabNotes.git
synced 2025-01-10 21:57:55 +00:00
New command for wiki common images licensed to public domain
This commit is contained in:
parent
fb1d977ab8
commit
2cfa967506
13
commands.tex
13
commands.tex
|
@ -23,10 +23,17 @@ License: \texttt{\href{https://creativecommons.org/licenses/by-nc/2.5/}{CC BY-NC
|
|||
}}
|
||||
|
||||
|
||||
% Usage:
|
||||
% Usage: \wikicommons[<img description>]{<file>}
|
||||
\newcommand{\wikicommons}[2][]{\fig{wikimediacommons/#2}{#2}{#1\\%
|
||||
{\tiny\href{https://commons.wikimedia.org/wiki/File:#2.svg}{\MakeUppercase{https://commons.wikimedia.org/wiki/File:#2.svg}}\hskip3mm%
|
||||
License: \texttt{\href{https://creativecommons.org/licenses/by-sa/3.0/}{CC BY-SA 3.0}}}%
|
||||
{\tiny Url: \href{https://commons.wikimedia.org/wiki/File:#2.svg}{https://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: \wikicommonspublicdomain[<Attribution link>]{<file>}
|
||||
\newcommand{\wikicommonspublicdomain}[1]{\fig{wikimediacommonspublicdomain/#1}{#1}{\\%
|
||||
{\tiny Url: \href{https://commons.wikimedia.org/wiki/File:#1.svg}{https://commons.wikimedia.org/wiki/File:#1.svg}\hskip3mm%
|
||||
License: \texttt{Public Domain}}%
|
||||
}}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue