%!TEX pdflatex
\documentclass[]{article}
\usepackage[margin=1cm,a4paper]{geometry}
\usepackage{tikz,ifthen}
\newcommand{\mathman}[2][1]{%
\begin{tikzpicture}[scale=#1,line width=\fpeval{#1*1.5mm},line cap=round,line join=round]
%--head
\draw (0,0) circle [radius=1.5] ;
\filldraw (-0.575,0.2) circle[radius=0.15] ;
\filldraw (0.3,0.215) circle[radius=0.15] ;
\filldraw (-0.65,-0.325) to[bend right=10] (0.3,-0.25) to[bend left=70,looseness=2] cycle ;
%--legs
\draw (-70:1.5) to[bend left=5] coordinate[pos=0.215] (brasD) ++(0.7,-3.5) ;
\draw (-110:1.5) to[bend right=5] coordinate[pos=0.215] (brasG) ++(-0.7,-3.5) ;
%--arms
\def\intrightarm{ node{}}
\def\intleftarm{ node{}}
\ifthenelse{\equal{#2}{linear}}%
{\def\intrightarm{--++ (1.6,1.6)}\def\intleftarm{--++ (-1.6,-1.6)}}{}%
\ifthenelse{\equal{#2}{quad}}%
{\def\intrightarm{to[bend right=25]++ (1.5,2.5)}\def\intleftarm{to[bend left=25]++ (-1.5,2.5)}}{}%
\ifthenelse{\equal{#2}{cub}}%
{\def\intrightarm{to[bend right=22]++ (1.5,2.5)}\def\intleftarm{to[bend right=22]++ (-1.5,-2.5)}}{}%
\ifthenelse{\equal{#2}{sin}}%
{\def\intrightarm{to[bend left=60]++ (2,0)}\def\intleftarm{to[bend left=60]++ (-2,0)}}{}%
\ifthenelse{\equal{#2}{cos}}%
{\def\intrightarm{to[bend right=17.5] ++(1.2,-0.8) to[bend right=40] ++(0.8,0.6)}\def\intleftarm{to[bend left=17.5] ++(-1.2,-0.8) to[bend left=40] ++(-0.8,0.6)}}{}%
\ifthenelse{\equal{#2}{tan}}%
{\def\intrightarm{to[bend right=15]++ (1.35,2.5)}\def\intleftarm{to[bend right=15]++ (-1.35,-2.5)}}{}%
\ifthenelse{\equal{#2}{cot}}%
{\def\intrightarm{to[bend left=15]++ (1.35,-2.5)}\def\intleftarm{to[bend left=15]++ (-1.35,2.5)}}{}%
\ifthenelse{\equal{#2}{abs}}%
{\def\intrightarm{--++ (1.6,1.6)}\def\intleftarm{--++ (-1.6,1.6)}}{}%
\ifthenelse{\equal{#2}{-abs}}%
{\def\intrightarm{--++ (1.6,-1.6)}\def\intleftarm{--++ (-1.6,-1.6)}}{}%
\ifthenelse{\equal{#2}{-linear}}%
{\def\intrightarm{--++ (1.6,-1.6)}\def\intleftarm{--++ (-1.6,1.6)}}{}%
\ifthenelse{\equal{#2}{loga}}%
{\def\intrightarm{to[bend right=12]++ (2,-0.4)}\def\intleftarm{to[bend left=30]++ (120:2.5)}}{}%
\ifthenelse{\equal{#2}{expa}}%
{\def\intrightarm{to[bend right=30]++ (60:2.5)}\def\intleftarm{to[bend left=12]++ (-2,-0.4)}}{}%
\ifthenelse{\equal{#2}{ccart}}%
{\def\intrightarm{to[bend right=80,looseness=1.375] (85:2)}\def\intleftarm{to[bend left=80,looseness=1.375] (95:2)}}{}%
\ifthenelse{\equal{#2}{inv}}%
{\def\intrightarm{plot[smooth,tension=1,shift=(brasD)] coordinates {(0,0) (0.5,-0.4) (-0.5,-1) (-1,-1.65)}}\def\intleftarm{to[bend left=25]++ (-0.6,0.4) to[bend left=60] (-120:1.5)}}{}%
\ifthenelse{\equal{#2}{-inv}}%
{\def\intleftarm{plot[smooth,tension=1,shift=(brasG)] coordinates {(0,0) (-0.5,-0.4) (0.5,-1) (1,-1.65)}}\def\intrightarm{to[bend right=25]++ (0.6,0.4) to[bend right=60] (-60:1.5)}}{}%
\draw (brasD) \intrightarm ;
\draw (brasG) \intleftarm ;
\end{tikzpicture}%
}
\newcommand\samplesmathman[1]{%
\noindent%
\begin{tabular}{ccccc}
\hline
\texttt{linear}&\texttt{quad}&\texttt{cub}&\texttt{sin}&\texttt{cos}\\
\mathman[#1]{linear}&\mathman[#1]{quad}&\mathman[#1]{cub}&\mathman[#1]{sin}&\mathman[#1]{cos}\\\hline
\texttt{tan}&\texttt{cot}&\texttt{inv}&\texttt{-inv}&\texttt{abs}\\
\mathman[#1]{tan}&\mathman[#1]{cot}&\mathman[#1]{inv}&\mathman[#1]{-inv}&\mathman[#1]{abs}\\\hline
\texttt{-abs}&\texttt{-linear}&\texttt{log}&\texttt{expa}&\texttt{ccart}\\
\mathman[#1]{-abs}&\mathman[#1]{-linear}&\mathman[#1]{loga}&\mathman[#1]{expa}&\mathman[#1]{ccart}\\\hline
\end{tabular}
\noindent
}
\begin{document}
\samplesmathman{0.5}
\end{document}