diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invitation.sty')
-rw-r--r-- | Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invitation.sty | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invitation.sty b/Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invitation.sty new file mode 100644 index 00000000000..d01bf822bc3 --- /dev/null +++ b/Master/texmf-doc/doc/english/latex-web-companion/xmlstyle/invitation.sty @@ -0,0 +1,30 @@ +% invitation.sty +% Package to format invitation.xml +\setlength{\parskip}{1ex} +\setlength{\parindent}{0pt} +\pagestyle{empty}%% Turn off page numbering +\RequirePackage{array} +\newenvironment{Front}% + {\begin{center}\huge \sffamily Memorandum\end{center} + \begin{flushleft} + \begin{tabular}{@{}>{\bfseries}p{.2\linewidth}@{}p{.8\linewidth}@{}}\hline + } + {To whom: & \@To \\ + Occasion: & \@Why \\ + Venue: & \@Where \\ + When: & \@Date \\\hline + \end{tabular} + \end{flushleft} + } +\newenvironment{Body}{\vspace*{\parskip}}{\vspace*{\parskip}} +\newenvironment{Back} + {\begin{flushleft}} + {\hspace*{.5\linewidth}\fbox{\emph{\@Sig}} + \end{flushleft} + } +\newcommand{\To}[1]{\gdef\@To{#1}} +\newcommand{\Date}[1]{\gdef\@Date{#1}} +\newcommand{\Where}[1]{\gdef\@Where{#1}} +\newcommand{\Why}[1]{\gdef\@Why{#1}} +\newcommand{\Signature}[1]{\gdef\@Sig{#1}} +\endinput
\ No newline at end of file |