# ================================================================ # # These are definitions for my own latex commands -- R Quong # \textXX = fonts for diff categories. XX: ff = files, ss = source. :{} :\textff::: :{} :\textss::: :{} :\textwarn::: :{1} :\swallow#1::: # # shows use of @ instead of : as a separator, as using : inside the expansion # @{} @\prob@

Prob: @@ :{} :\setProbPrefix::: :{} :\rqtilde:~:: :{} :\rqtitle:

:: :{} :\rqsubtitle:

:: :{} :\rqsect:
:: :{} :\topic:

:: :{} :\ul::: :{} :\rqapplet:: :{} :\labsec:: :b/e :\begin{quesans}(\{[^\}]*\})*:
    :: :b/e :\begin{rqitemize}(\{[^\}]*\})*:
      :: :b/e :\begin{rqenumerate}(\{[^\}]*\})*:
        :: # # Note, you may choose whatever separator you wish for a specification line. # I.e the \rqhttp command has a colon in it, so we cannot use the # colon as the separator. Instead, I use a comma. # :b/e :\begin{rqcode}:
        ::
        :b/e	:\begin{rqanswer}:::
        :b/e	:\begin{setindent}{.*}:::
        :{}	:\rqimage::
        ,{2}	,\rqhttp#1#2, #1 ,,
        ,{2}	,\rqhttpx#1#2, #1 ,,
        +{2}	+\rqftp#1#2+#1++
        !{2}	!\rqhlink#1#2!#1!!
        !{2}	!\rqemail#1#2!#1!!
        |comm	|\rqwebhome|http://www.best.com/~quong||
        |comm   |\ituwebhome|http://www.itu.edu/computer||
        |comm   |\vawebhome|http://www.varesearch.com||
        @{1}	@\to#1@To: #1
        @
        @ @{1} @\from#1@From: #1
        @
        @ @{1} @\subject#1@Subject: #1
        @@ @{1} @\org#1@Document Type: #1 Memo
        @@ @comm @\memohead@Date: \today

        @@ :comm :\today:\today:: :comm :\vpos::: :comm :\bsl[ \t]*:\{}:: :comm :\setProbPrefix[^ \t\n]+::: :comm :\rqfullpageB[^ \t\n]*::: :comm :\rqfullpageC[^ \t\n]*::: :comm :\rqfullpageD[^ \t\n]*::: :comm :\what[^\n]+::: :comm :\fi::: :comm :\ifques::: :comm :\ifans::: :comm :\showAns::: :comm :\onlyans::: :comm :\onlyprob::: :comm :\h::: :comm :\vdots::: :comm :\normAnsString::: # # the "basic 16" colors # :{} :\coloraqua::: :{} :\colorblack::: :{} :\colorblue::: :{} :\colorfuchsia::: :{} :\colorgray::: :{} :\colorgreen::: :{} :\colorlime::: :{} :\colormaroon::: :{} :\colornavy::: :{} :\colorolive::: :{} :\colorpurple::: :{} :\colorred::: :{} :\colorsilver::: :{} :\colorteal::: :{} :\colorwhite::: :{} :\coloryellow::: # # some others colors I like # :{} :\colorgold::: :{} :\colordarkgrey::: :{} :\colorcornsilk::: :{} :\colortomato::: :{} :\colorseagreen::: :{} :\colorperu::: :{} :\colorbrown::: :{} :\colororange::: :{} :\colorlavender::: :{} :\colormistyrose::: :{} :\colorivory::: :{} :\colorroyalblue::: :{} :\colorlightgray::: :{} :\colorturquoise::: :{} :\colorcyan::: :{} :\colorsalmon::: :{} :\colorkhaki::: :{} :\colorgoldenrod::: :{} :\colorpink::: :{} :\colormagenta::: :{} :\colorcoral::: # # These macros were used for testing, especially for nested parameters. # :{2} :\twoSwap#1#2:(#2,#1):: :{4} :\fourArg:[#1,#2,#3,#4]:: =***= warnlevel := 5