summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/skillicons/skillicons.sty
blob: cb9d7760c3133930e256f8861b92300221f7a379 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% A package to bring cute cool and modern icons into your document
% Maintained by Anton --> AnMnV https://github.com/AnMnv/AnMnv
%
% Project repository and bug tracker:
% https://github.com/AnMnv/latex-skill-icons
%
% Released under the MIT License
% See https://opensource.org/license/mit
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{skillicons}[2024-05-14 version v1.0  A LaTeX package designed to seamlessly integrate skill icons into your documents]

\RequirePackage{graphicx}

 

\newcommand{\photosymbol}[2][1]{%
    \raisebox{\dimexpr 0.5\fontcharht\font`T - 0.5\height - 0.5\fontchardp\font`q}{%
        \includegraphics[height=\dimexpr#1\fontcharht\font`T+1.5\fontchardp\font`q]{skill-icons/skillicons_#2}%
    }%
}

\endinput