summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ifmtarg/ifmtarg.sty
blob: e6c4913d09885cdf3655bc8d7c31bf69cedcfa9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
%% LaTeX2e file `ifmtarg.sty'
%% generated by the `filecontents' environment
%% from source `ifmtarg' on 2010/07/10.
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{ifmtarg}[2009/09/02 v1.2a check for an empty argument]
\begingroup
\catcode`\Q=3
\long\gdef\@ifmtarg#1{\@xifmtarg#1QQ\@secondoftwo\@firstoftwo\@nil}
\long\gdef\@xifmtarg#1#2Q#3#4#5\@nil{#4}
\long\gdef\@ifnotmtarg#1{\@xifmtarg#1QQ\@firstofone\@gobble\@nil}
\endgroup
\endinput