OSDN Git Service

Initial revision
[pf3gnuchains/gcc-fork.git] / texinfo / makeinfo / macros / resume.texi
1 @c 
2 @c Reusme writing macros.  Produce a very specific format.
3 @c 
4
5 @c A macro which creates a macro.  The resultant macro can be called to
6 @c set a variable which has the same name as the macro.  Use
7 @c @value{name} to get the value set in @name{}.
8 @macro make-var-macro{macro-name}
9 @macro \macro-name\{value}
10 @quote-arg
11 @set \macro-name\ \value\
12 @end macro
13 @end macro
14
15 @make-var-macro{name}
16 @make-var-macro{street}
17 @make-var-macro{city}
18 @make-var-macro{state}
19 @make-var-macro{zip}
20 @make-var-macro{phone}
21 @make-var-macro{email}
22
23 @c Give all of the above variable/macros a null value to start.
24 @name
25 @street
26 @city
27 @state
28 @zip
29 @phone
30 @email
31
32 @c A typical heading for a resume block is a non-indented line.
33 @macro block{title}
34 @paragraphindent none
35 @comment @noindent
36 @heading \title\
37 @end macro
38
39 @c A typical entry in a resume has a from-date, a to-date, a location,
40 @c a job title, and a longer descrition body.
41
42 @macro entry{from-date, to-date, where, what, body}
43 @paragraphindent 8
44 @b{\where\: \what\ (\from-date\ --- \to-date\)}
45 @paragraphindent 3
46
47 \body\
48 @paragraphindent none
49 @end macro
50
51 @macro address{}
52 @value{name}@*
53 @value{street}@*
54 @value{city}, @value{state}@*
55 @value{zip}@*
56 @value{phone}
57 @end macro
58
59 @macro resume{}
60 @center @value{name}@*
61 @center @value{street}@*
62 @center @value{city}, @value{state} @value{zip}@*
63 @center @value{email}
64 @end macro