aboutsummaryrefslogtreecommitdiff
path: root/format.tex
blob: 4a8fbd5609a5915eb1204d4053055a61f1121daf (plain)
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
%gives ''\newfont myfont=cmr10@14pt''
\newcount\spacing
\newdimen\size
\def\adjs{%adjust spacing
  \baselineskip=\size \multiply\baselineskip by \spacing \divide\baselineskip by 10
}
\def\newfont#1=#2@#3pt{%name, base, size
  \expandafter\font\csname x#1\endcsname=#2 at #3pt
  \expandafter\edef\csname #1\endcsname{\size=#3pt \adjs \csname x#1\endcsname}
}

\newfont mas=cmb10@72pt
\newfont big=cmr10@48pt
\font\big=cmr10 at 48pt
\newfont sml=cmr10@20pt
\spacing=12

\pdfpageheight=8.5in
\pdfpagewidth=11in
\vsize=6.5in
\hsize=9in
\nopagenumbers

\def\award{
  \vbox to \vsize{
    \sml\leftskip=0pt plus 1fil\rightskip=0pt plus 1fil\parindent=0pt\parfillskip=0pt
    \vfil

    {\big Centennial High School Model United Nations\par}
    \bigskip
    Awards this certificate to:

    {\mas Dominican Republic\par}
    \bigskip
    \hrule
    \bigskip

    \line{\hfil\vbox{
      \hsize=.5\hsize
      For Best Position Paper in SPECPOL
    }\hfil}

    \line{
      \vbox to 0pt{
        \vbox{
          \hsize=3in
          \hrule\medskip Committee Chair
        }
      \vss}
      \hfil
      \vbox to 0pt{
        \hsize=3in
        \hrule\medskip Secretary-General\bigskip\bigskip
        \hrule\medskip Director-General
      \vss}
    }
    \vskip80pt
    Atlanta International School

    MiniMUN \number\year

    November \number\day, \number\year
    \vfil
  }
  \eject
}

\def\logo{
  \vbox to\vsize{
    \mas\leftskip=0pt plus 1fil\rightskip=0pt plus 1fil\parindent=0pt\parfillskip=0pt
    \vfil
    SPECPOL
    \hbox{\pdfximage width 6in{logo.png}\pdfrefximage\pdflastximage}
  }
}