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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163
|
# macros from texapi.tex
# Matthew Bertucci 11/6/2021 for v1.04
\texapiversion#*
\texenginenumber#*
\formatnumber#*
\priminput#*
\primunexpanded#*
\loadmacrofile%<<file>%>#*
\loadmacrofile{file}#Si
\senderror%<<package>%>%<<message>%>#*
\emptycs#*
\spacecs#*
\spacechar#*
\gobbleone#*
\gobbletwo#*
\gobblethree#*
\gobblefour#*
\gobblefive#*
\gobblesix#*
\gobbleseven#*
\gobbleeight#*
\gobblenine#*
\gobbleoneand%<<code>%>#*
\gobbletwoand%<<code>%>#*
\gobblethreeand%<<code>%>#*
\gobblefourand%<<code>%>#*
\gobblefiveand%<<code>%>#*
\gobblesixand%<<code>%>#*
\gobblesevenand%<<code>%>#*
\gobbleeightand%<<code>%>#*
\gobblenineand%<<code>%>#*
\unbrace%<<code>%>#*
\swapargs%<<arg1>%>%<<arg2>%>#*
\swapbraced%<<arg1>%>%<<arg2>%>#*
\swapleftbraced%<<arg1>%>%<<arg2>%>#*
\swaprightbraced%<<arg1>%>%<<arg2>%>#*
\passexpanded%<<arg1>%>%<<arg2>%>#*
\passexpandednobraces%<<arg1>%>%<<arg2>%>#*
\defcs%<<csname>%>%<<parameter text>%>{%<<definition>%>}#*
\edefcs%<<csname>%>%<<parameter text>%>{%<<definition>%>}#*
\gdefcs%<<csname>%>%<<parameter text>%>{%<<definition>%>}#*
\xdefcs%<<csname>%>%<<parameter text>%>{%<<definition>%>}#*
\letcs%<<csname>%>%<<command>%>#*
\lettocs%<<command>%>%<<csname>%>#*
\lettocs{cmd}#Sd
\letcstocs%<<csname>%>%<<csname>%>#*
\addleft%<<command>%>%<<material>%>#*
\addleftcs%<<csname>%>%<<material>%>#*
\eaddleft%<<command>%>%<<material>%>#*
\eaddleftcs%<<csname>%>%<<material>%>#*
\addright%<<command>%>%<<material>%>#*
\addrightcs%<<csname>%>%<<material>%>#*
\eaddright%<<command>%>%<<material>%>#*
\eaddrightcs%<<csname>%>%<<material>%>#*
\usecs%<<csname>%>#*
\usecsafter%<<csname>%>#*
\passcs%<<code>%>%<<csname>%>#*
\passexpandedcs%<<code>%>%<<csname>%>#*
\noexpandcs%<<csname>%>#*
\unexpandedcs%<<csname>%>#*
\commandtoname%<<command>%>#*
\reverse#*
\ifcommand%<<command>%>%<<true>%>%<<false>%>#*
\iffcommand%<<command>%>%<<true>%>#*
\ifcs%<<csname>%>%<<true>%>%<<false>%>#*
\iffcs%<<csname>%>%<<true>%>#*
\ifemptycommand%<<command>%>%<<true>%>%<<false>%>#*
\iffemptycommand%<<command>%>%<<true>%>#*
\ifemptycs%<<csname>%>%<<true>%>%<<false>%>#*
\iffemptycs%<<csname>%>%<<true>%>#*
\ifxcs%<<csname>%>%<<command>%>%<<true>%>%<<false>%>#*
\iffxcs%<<csname>%>%<<command>%>%<<true>%>#*
\ifxcscs%<<csname>%>%<<csname>%>%<<true>%>%<<false>%>#*
\iffxcscs%<<csname>%>%<<csname>%>%<<true>%>#*
\newife%<<command>%>#*
\newife{cmd}#Sd
\straightenif%<<TeX conditional>%>%<<arg>%>%<<true>%>%<<false>%>#*
\straighteniff%<<TeX conditional>%>%<<arg>%>%<<true>%>#*
\ifwhatever%<<conditional>%>%<<true>%>%<<false>%>#*
\iffwhatever%<<conditional>%>%<<true>%>#*
\ifexpression%<<expression>%>%<<true>%>%<<false>%>#*
\iffexpression%<<expression>%>%<<true>%>#*
\ifelseif%<<statements>%>#*
\afterfi%<<code>%>#*
\afterdummyfi%<<code>%>#*
\skipspace%<<code>%>#*
\ifnext%<<token>%>%<<true>%>%<<false>%>#*
\iffnext%<<token>%>%<<true>%>#*
\ifnextnospace%<<token>%>%<<true>%>%<<false>%>#*
\iffnextnospace%<<token>%>%<<true>%>#*
\ifcatnext%<<token>%>%<<true>%>%<<false>%>#*
\iffcatnext%<<token>%>%<<true>%>#*
\ifcatnextnospace%<<token>%>%<<true>%>%<<false>%>#*
\iffcatnextnospace%<<token>%>%<<true>%>#*
\ifcatnext%<<token>%>%<<true>%>%<<false>%>#*
\iffcatnext%<<token>%>%<<true>%>#*
\ifcatnextnospace%<<token>%>%<<true>%>%<<false>%>#*
\iffcatnextnospace%<<token>%>%<<true>%>#*
\ifxnext%<<token>%>%<<true>%>%<<false>%>#*
\iffxnext%<<token>%>%<<true>%>#*
\ifxnextnospace%<<token>%>%<<true>%>%<<false>%>#*
\iffxnextnospace<token><true>
\ifstring%<<string1>%>%<<string2>%>%<<true>%>%<<false>%>#*
\iffstring%<<string1>%>%<<string2>%>%<<true>%>#*
\ifemptystring%<<string>%>%<<true>%>%<<false>%>#*
\iffemptystring%<<string>%>%<<true>%>#*
\newstring%<<string>%>#*
\ifprefix%<<prefix>%>%<<string>%>%<<true>%>%<<false>%>#*
\iffprefix%<<prefix>%>%<<string>%>%<<true>%>#*
\ifsuffix%<<suffix>%>%<<string>%>%<<true>%>%<<false>%>#*
\iffsuffix%<<suffix>%>%<<string>%>%<<true>%>#*
\ifcontains%<<string1>%>%<<string2>%>%<<true>%>%<<false>%>#*
\iffcontains%<<string1>%>%<<string2>%>%<<true>%>#*
\removeprefix%<<prefix>%>%<<string>%>#*
\removesuffix%<<suffix>%>%<<string>%>#*
\removeprefixand%<<prefix>%>%<<string>%>%<<code>%>#*
\removesuffixand%<<suffix>%>%<<string>%>%<<code>%>#*
\removeprefixin%<<prefix>%>%<<string>%>%<<command>%>#*
\removesuffixin%<<suffix>%>%<<string>%>%<<command>%>#*
\splitstringat%<<string1>%>%<<string2>%>%<<code>%>#*
\setcatcodes{%<<list>%>}#*
\restorecatcodes#*
\trimleft%<<string>%>#*
\trimright%<<string>%>#*
\trim%<<string>%>#*
\passtrimleft%<<string>%>%<<code>%>#*
\passtrimright%<<string>%>%<<code>%>#*
\passtrim%<<string>%>%<<code>%>#*
\deftrimleft%<<command>%>%<<string>%>#*
\deftrimleft{cmd}#Sd
\deftrimright%<<command>%>%<<string>%>#*
\deftrimright{cmd}#Sd
\deftrim%<<command>%>%<<string>%>#*
\deftrim{cmd}#Sd
\repeatuntil%<<number>%>%<<code>%>#*
\dowhile%<<condition>%>%<<code>%>#*
\newwhile%<<command>%>%<<number>%>%<<transformations>%>%<<code>%>#*
\newwhile{cmd}#Sd
\breakwhile%<<code>%>#*
\changewhile%<<new arguments>%>#*
\dofor%<<list>%>%<<parameter text>%>{%<<definition>%>}%<<coda>%>#*
\dofornoempty#*
\breakfor%<<code>%>#*
\retrieverest%<<code>%>#*
\pausefor%<<code>%>#*
\resumefor#*
\newfor%<<command>%>{%<<optional passed arguments>%>}%<<parameter text>%>{%<<definition>%>}[%<<optional coda>%>]#*
\newfor{cmd}#Sd
\newfornoempty#*
\breakfor%<<code>%>#*
\retrieverest%<<code>%>#*
\pausefor%<<code>%>#*
\resumefor%<<loop command>%>#*
\passarguments%<<arg1>%>%<<arg2>...%>#*
## not in documentation ##
\pdef%<<command>%>{%<<definition>%>}#*
\pdef{cmd}#S
\firstoftwo#*
\secondoftwo#*
\breakdofor#*
\pausedofor#*
|