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 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276
|
# autogenerated by txs
#include:color
#include:endfloat
#include:ifthen
#include:relsize
#include:tocbibind
#include:xspace
\AlCapFnt#S
\AlCapNameFnt#S
\AlCapNameSty{arg1}#S
\AlCapSty{arg1}#S
\AlFnt#S
\AlTitleFnt#S
\AlTitleSty{arg1}#S
\AlgoLineautorefname#S
\ArgSty{arg1}#S
\BlankLine
\CommentSty{arg1}#S
\DataSty{arg1}#S
\DecMargin{arg1}#S
\DontPrintSemicolon#*
\FuncSty{arg1}#S
\Hlne#S
\InOutSizeDefined#S
\IncMargin{arg1}#S
\Indentp{arg1}#S
\Indm#S
\Indmm#S
\Indp#S
\Indpp#S
\KwSty{arg1}#S
\LinesNotNumbered#*
\LinesNumbered#*
\LinesNumberedHidden#*
\NlSty{arg1}#S
\NoCaptionOfAlgo#*
\PrintSemicolon#*
\ProcArgFnt#*
\ProcArgSty{arg1}#*
\ProcFnt#*
\ProcNameFnt#*
\ProcNameSty{arg1}#*
\ProcSty{arg1}#*
\ResetInOut{arg1}#S
\RestoreCaptionOfAlgo#S
\RestyleAlgo{arg1}#S
\SetAlCapFnt{arg1}#*
\SetAlCapHSkip{arg1}#*
\SetAlCapNameFnt{arg1}#*
\SetAlCapNameSty{arg1}#*
\SetAlCapSkip{arg1}#*
\SetAlCapSty{arg1}#*
\SetAlFnt{arg1}#*
\SetAlTitleFnt{arg1}#*
\SetAlTitleSty{arg1}#*
\SetAlgoCaptionLayout{arg1}#*
\SetAlgoCaptionSeparator{arg1}#*
\SetAlgoFuncName{arg1}{arg2}#*
\SetAlgoInsideSkip{arg1}#*
\SetAlgoLined#*
\SetAlgoLongEnd#*
\SetAlgoNlRelativeSize{arg1}#*
\SetAlgoNoEnd#*
\SetAlgoNoLine#*
\SetAlgoProcName{arg1}{arg2}#*
\SetAlgoRefName{arg1}#*
\SetAlgoRefRelativeSize{arg1}#*
\SetAlgoShortEnd#*
\SetAlgoSkip{arg1}#*
\SetAlgoVlined#*
\SetAlgorithmName{arg1}{arg2}{arg3}#*
\SetArgSty{arg1}#*
\SetCommentSty{arg1}#*
\SetDataSty{arg1}#*
\SetEndCharOfAlgoLine{arg1}#*
\SetFillComment#*
\SetFuncSty{arg1}#*
\SetInd{arg1}{arg2}#*
\SetKwArray{arg1}{arg2}
\SetKwBlock{arg1}{arg2}{arg3}
\SetKwComment{arg1}{arg2}{arg3}
\SetKwData{arg1}{arg2}
\SetKwFor{arg1}{arg2}{arg3}{arg4}
\SetKwFunction{arg1}{arg2}
\SetKwHangingKw{arg1}{arg2}
\SetKwIF{arg1}{arg2}{arg3}{arg4}{arg5}{arg6}{arg7}{arg8}
\SetKwInOut{arg1}{arg2}
\SetKwInput{arg1}{arg2}
\SetKwRepeat{arg1}{arg2}{arg3}
\SetKwSty{arg1}
\SetKwSwitch{arg1}{arg2}{arg3}{arg4}{arg5}{arg6}{arg7}{arg8}
\SetKw{arg1}{arg2}
\SetLine#*
\SetNlSkip{arg1}#*
\SetNlSty{arg1}{arg2}{arg3}#*
\SetNoFillComment#*
\SetNoLine#*
\SetNothing#*
\SetProcArgFnt{arg1}#*
\SetProcArgSty{arg1}#*
\SetProcFnt{arg1}#*
\SetProcNameFnt{arg1}#*
\SetProcNameSty{arg1}#*
\SetProcSty{arg1}#*
\SetSideCommentLeft#*
\SetSideCommentRight#*
\SetTitleSty{arg1}{arg2}#*
\SetVline#*
\SetVlineSkip{arg1}#*
\Setnlskip{arg1}#*
\Setnlsty{arg1}{arg2}{arg3}#*
\ShowLn#*
\ShowLnLabel{arg1}#*
\TitleOfAlgo{arg1}#*
\TitleSty{arg1}#*
\Titleofalgo{arg1}#*
\algocfautorefname#S
\algocffuncautorefname#S
\algocfprocautorefname#S
\algoendfloat#S
\algoheightrule
\algoheightruledefault
\algoplace#S
\algorithmautorefname#S
\algorithmcflinename#S
\algorithmcfname#S
\algotitleheightrule
\algotitleheightruledefault
\begin{algocf}
\begin{function}
\begin{function*}#*
\begin{procedure}
\begin{procedure*}#*
\decmargin{arg1}#S
\dontprintsemicolon#*
\end{algocf}
\end{function}
\end{procedure}
\end{function*}#*
\end{procedure*}#*
\enl#S
\functionautorefname#S
\incmargin{arg1}#S
\l#S
\linesnotnumbered#S
\linesnumbered#S
\linesnumberedhidden#S
\listalgorithmcfname#S
\listofalgocfs#S
\lnlset{arg1}{arg2}#S
\lnl{arg1}#S
\next#S
\nl#/algorithm,algorithm*,procedure,procedure*,function,function*
\nlSty{arg1}#S
\nllabel{arg1}#S
\nlset{arg1}#S
\nocaptionofalgo#S
\printsemicolon#S
\procedureautorefname#S
\relsize{arg1}#S
\restorecaptionofalgo#S
\restylealgo{arg1}#S
\setLeftLinesNumbers#S
\setRightLinesNumbers#S
\setalcaphskip{arg1}#S
\setalcapskip{arg1}#S
\setnlskip{arg1}#S
\showln#S
\showlnlabel{arg1}#S
\test#S
\theAlgoLine
\theHAlgoLine#S
\theHalgocf#S
\theHalgocffunc#S
\theHalgocfproc#S
\thealgocf
\thealgocfline
\thealgocfproc
\thepostalgo
\vespace#S
\begin{algorithm}
\end{algorithm}
\begin{algorithm*}#*
\end{algorithm*}#*
# Input, output macros
\KwIn{input}#/algorithm,algorithm*,procedure,procedure*,function,function*
\KwOut{output}#/algorithm,algorithm*,procedure,procedure*,function,function*
\KwData{input}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\KwResult{output}#/algorithm,algorithm*,procedure,procedure*,function,function*
# Basic keywords and blocks
\KwTo#*/algorithm,algorithm*,procedure,procedure*,function,function*
\KwRet{value}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Return{value}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Begin{block-inside}#/algorithm,algorithm*,procedure,procedure*,function,function*
\Begin(begin-comment){block-inside}#/algorithm,algorithm*,procedure,procedure*,function,function*
# comments
\tcc{lines-of-comments}#/algorithm,algorithm*,procedure,procedure*,function,function*
\tcc*{right-justified-side-comment}#/algorithm,algorithm*,procedure,procedure*,function,function*
\tcc*[r]{right-justified-side-comment-with-line-ending}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\tcc*[l]{left-justified-side-comment-with-line-ending}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\tcc*[f]{right-justified-side-comment-without-line-ending}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\tcc*[h]{left-justified-side-comment-without-line-ending}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\tcp{lines-of-comments}#/algorithm,algorithm*,procedure,procedure*,function,function*
\tcp*{right-justified-side-comment}#/algorithm,algorithm*,procedure,procedure*,function,function*
\tcp*[r]{right-justified-side-comment-with-line-ending}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\tcp*[l]{left-justified-side-comment-with-line-ending}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\tcp*[f]{right-justified-side-comment-without-line-ending}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\tcp*[h]{left-justified-side-comment-without-line-ending}#*/algorithm,algorithm*,procedure,procedure*,function,function*
# if-then-else macros
\If{condition}{then-block}#/algorithm,algorithm*,procedure,procedure*,function,function*
\If(then-comment){condition}{then-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\uIf{condition}{then-block-without-end}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\uIf(then-comment){condition}{then-block-without-end}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lIf{condition}{then-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lIf(if-comment){condition}{then-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\ElseIf{elseif-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\ElseIf(elseif-comment){elseif-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\uElseIf{elseif-block-without-end}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\uElseIf(elseif-comment){elseif-block-without-end}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lElseIf{elseif-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lElseif(elseif-line){elseif-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Else{else-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Else(else-comment){else-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\uElse{else-block-without-end}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\uElse(else-block-comment){else-block-without-end}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lElse{else-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lElse(else-comment){else-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\eIf{condition}{then-block}{else-block}#/algorithm,algorithm*,procedure,procedure*,function,function*
\eIf(then-comment){condition}{then-block}(else-comment){else-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\eIf(then-comment){condition}{then-block}{else-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\eIf{condition}{then-block}(else-comment){else-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\leIf{condition}{then-line}{else-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\leIf(comment){condition}{then-line}{else-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
# multiple condition selection
\Switch(switch-comment){condition}{switch-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Switch{condition}{switch-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Case{case}{case-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Case(case-comment){case}{case-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\uCase{case}{case-block-without-end}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\uCase(case-comment){case}{case-block-without-end}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lCase{case}{case-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lCase(case-comment){case}{case-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Other{otherwise-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Other(otherwise-comment){otherwise-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lOther{otherwise-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lOther(otherwise-comment){otherwise-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
# loops with test at beginning
\For{condition}{for-block}#/algorithm,algorithm*,procedure,procedure*,function,function*
\For(for-comment){condition}{for-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lFor{condition}{for-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lFor(for-comment){condition}{for-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\While{condition}{while-block}#/algorithm,algorithm*,procedure,procedure*,function,function*
\While(while-comment){condition}{while-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lWhile{condition}{while-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lWhile(while-comment){condition}{while-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\ForEach{condition}{foreach-block}#/algorithm,algorithm*,procedure,procedure*,function,function*
\ForEach(foreach-comment){condition}{foreach-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lForEach{condition}{foreach-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lForEach(foreach-comment){condition}{foreach-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\ForAll{condition}{forall-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\ForAll(forall-comment){condition}{forall-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lForAll{condition}{forall-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lForAll(forall-comment){condition}{forall-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
# loops with test at end
\Repeat{end-condition}{repeat-block}#/algorithm,algorithm*,procedure,procedure*,function,function*
\Repeat(repeat-comment){end-condition}{repeat-block}(until-comment)#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Repeat(repeat-comment){end-condition}{repeat-block}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\Repeat{end-condition}{repeat-block}(until-comment)#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lRepeat{end-condition}{repeat-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
\lRepeat(repeat-comment){end-condition}{repeat-line}#*/algorithm,algorithm*,procedure,procedure*,function,function*
|