Last active
June 13, 2016 12:56
-
-
Save konn/632057158223bb7c920f02d551dee328 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\newcommand{\checked}[2][.5ex]{% | |
\mathord{% | |
\tikz[baseline,line cap=round] {% | |
\node[anchor=base,inner sep=0pt] (n) {\ensuremath{#2}};% | |
\coordinate (nw) at ($(n.north west)+(.3ex, {#1 + 1pt})$); % | |
\coordinate (ne) at ($(n.north east)+(-.3ex,{#1 + 1pt})$);% | |
\draw[very thin,fill,line cap=round] (nw) -- ($(nw)!.5!(ne) - (0, #1)$) -- (ne) -- ($(nw)!.5!(ne) - (0, #1 - .1ex)$) --cycle;}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment