diff options
author | Karl Berry <karl@freefriends.org> | 2012-08-26 23:07:28 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2012-08-26 23:07:28 +0000 |
commit | d3535e838cefea309221187bb9e62698c0df8c51 (patch) | |
tree | dbee8197e1bfecefe547d53e843f0acff729a3fe /Master/texmf-dist/doc/latex/latex-web-companion/ch7/invitation.sty | |
parent | 33353453d22fc5877a8ced58c673c7008ce8c00a (diff) |
latex-web-companion non-update
git-svn-id: svn://tug.org/texlive/trunk@27531 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex-web-companion/ch7/invitation.sty')
-rw-r--r-- | Master/texmf-dist/doc/latex/latex-web-companion/ch7/invitation.sty | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex-web-companion/ch7/invitation.sty b/Master/texmf-dist/doc/latex/latex-web-companion/ch7/invitation.sty new file mode 100644 index 00000000000..d01bf822bc3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/latex-web-companion/ch7/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 |