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
|
# ================================================================
#
# These are definitions for my own latex commands -- R Quong
# \textXX = fonts for diff categories. XX: ff = files, ss = source.
:{} :\textff:<TT><FONT color=maroon>:</>:
:{} :\textss:<CODE><FONT color=navy>:</>:
:{} :\textwarn:<STRONG><FONT color=maroon>:</>:
:{1} :\swallow#1:::
#
# shows use of @ instead of : as a separator, as using : inside the expansion
#
@{} @\prob@<p><strong><font color=teal>Prob: @</>@
:{} :\setProbPrefix:::
:{} :\rqtilde:~::
:{} :\rqtitle:<center><H1><FONT color=green>:</>:
:{} :\rqsubtitle:<center><H3><FONT color=teal>:</>:
:{} :\rqsect:<H5><FONT color=green>:</>:
:{} :\topic:<H4>:</>:
:{} :\ul:<EM>:</>:
:{} :\rqapplet:<APPLET :></APPLET>:
:{} :\labsec:<a name=":"></a>:
:b/e :\begin{quesans}(\{[^\}]*\})*:<OL>:</>:
:b/e :\begin{rqitemize}(\{[^\}]*\})*:<UL>:</>:
:b/e :\begin{rqenumerate}(\{[^\}]*\})*:<OL>:</>:
#
# 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}:<PRE>:</>:
:b/e :\begin{rqanswer}:::
:b/e :\begin{setindent}{.*}:::
:{} :\rqimage:<img src=":">:
,{2} ,\rqhttp#1#2,<a href="#2"> #1 </a>,,
,{2} ,\rqhttpx#1#2,<a href="http://#2"> #1 </a>,,
+{2} +\rqftp#1#2+<a href="ftp://#2">#1</a>++
!{2} !\rqhlink#1#2!<a href="#2">#1</a>!!
!{2} !\rqemail#1#2!<a href="mailto:#2">#1</a>!!
|comm |\rqwebhome|http://www.best.com/~quong||
|comm |\ituwebhome|http://www.itu.edu/computer||
|comm |\vawebhome|http://www.varesearch.com||
@{1} @\to#1@To: <strong>#1<br>@</strong>@
@{1} @\from#1@From: <strong>#1<br>@</strong>@
@{1} @\subject#1@Subject: <strong>#1</strong><br>@@
@{1} @\org#1@Document Type: <strong>#1 Memo</strong><br>@@
@comm @\memohead@Date: <strong>\today</strong><br><hr>@@
: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:<font color=aqua>:</>:
:{} :\colorblack:<font color=black>:</>:
:{} :\colorblue:<font color=blue>:</>:
:{} :\colorfuchsia:<font color=fuchsia>:</>:
:{} :\colorgray:<font color=gray>:</>:
:{} :\colorgreen:<font color=green>:</>:
:{} :\colorlime:<font color=lime>:</>:
:{} :\colormaroon:<font color=maroon>:</>:
:{} :\colornavy:<font color=navy>:</>:
:{} :\colorolive:<font color=olive>:</>:
:{} :\colorpurple:<font color=purple>:</>:
:{} :\colorred:<font color=red>:</>:
:{} :\colorsilver:<font color=silver>:</>:
:{} :\colorteal:<font color=teal>:</>:
:{} :\colorwhite:<font color=white>:</>:
:{} :\coloryellow:<font color=yellow>:</>:
#
# some others colors I like
#
:{} :\colorgold:<font color=gold>:</>:
:{} :\colordarkgrey:<font color=darkgrey>:</>:
:{} :\colorcornsilk:<font color=cornsilk>:</>:
:{} :\colortomato:<font color=tomato>:</>:
:{} :\colorseagreen:<font color=seagreen>:</>:
:{} :\colorperu:<font color=peru>:</>:
:{} :\colorbrown:<font color=brown>:</>:
:{} :\colororange:<font color=orange>:</>:
:{} :\colorlavender:<font color=lavender>:</>:
:{} :\colormistyrose:<font color=mistyrose>:</>:
:{} :\colorivory:<font color=ivory>:</>:
:{} :\colorroyalblue:<font color=royalblue>:</>:
:{} :\colorlightgray:<font color=lightgray>:</>:
:{} :\colorturquoise:<font color=turquoise>:</>:
:{} :\colorcyan:<font color=cyan>:</>:
:{} :\colorsalmon:<font color=salmon>:</>:
:{} :\colorkhaki:<font color=khaki>:</>:
:{} :\colorgoldenrod:<font color=goldenrod>:</>:
:{} :\colorpink:<font color=pink>:</>:
:{} :\colormagenta:<font color=magenta>:</>:
:{} :\colorcoral:<font color=coral>:</>:
#
# These macros were used for testing, especially for nested parameters.
#
:{2} :\twoSwap#1#2:(#2,#1)::
:{4} :\fourArg:[#1,#2,#3,#4]::
=***= warnlevel := 5
|